@openshift-migration-advisor/agent-sdk 0.0.0-94e9d800ad5c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/.openapi-generator/FILES +91 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +170 -0
  5. package/dist/apis/DefaultApi.d.ts +761 -0
  6. package/dist/apis/DefaultApi.js +878 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +19 -0
  9. package/dist/esm/apis/DefaultApi.d.ts +761 -0
  10. package/dist/esm/apis/DefaultApi.js +874 -0
  11. package/dist/esm/apis/index.d.ts +1 -0
  12. package/dist/esm/apis/index.js +3 -0
  13. package/dist/esm/index.d.ts +3 -0
  14. package/dist/esm/index.js +5 -0
  15. package/dist/esm/models/AgentModeRequest.d.ts +40 -0
  16. package/dist/esm/models/AgentModeRequest.js +50 -0
  17. package/dist/esm/models/AgentStatus.d.ts +60 -0
  18. package/dist/esm/models/AgentStatus.js +63 -0
  19. package/dist/esm/models/CollectorStartRequest.d.ts +44 -0
  20. package/dist/esm/models/CollectorStartRequest.js +51 -0
  21. package/dist/esm/models/CollectorStatus.d.ts +51 -0
  22. package/dist/esm/models/CollectorStatus.js +57 -0
  23. package/dist/esm/models/CreateGroupRequest.d.ts +50 -0
  24. package/dist/esm/models/CreateGroupRequest.js +51 -0
  25. package/dist/esm/models/Datastore.d.ts +80 -0
  26. package/dist/esm/models/Datastore.js +73 -0
  27. package/dist/esm/models/DiskSizeTierSummary.d.ts +38 -0
  28. package/dist/esm/models/DiskSizeTierSummary.js +47 -0
  29. package/dist/esm/models/DiskTypeSummary.d.ts +38 -0
  30. package/dist/esm/models/DiskTypeSummary.js +47 -0
  31. package/dist/esm/models/GetInventory200Response.d.ts +23 -0
  32. package/dist/esm/models/GetInventory200Response.js +51 -0
  33. package/dist/esm/models/Group.d.ts +68 -0
  34. package/dist/esm/models/Group.js +59 -0
  35. package/dist/esm/models/GroupListResponse.d.ts +51 -0
  36. package/dist/esm/models/GroupListResponse.js +56 -0
  37. package/dist/esm/models/GroupResponse.d.ts +58 -0
  38. package/dist/esm/models/GroupResponse.js +61 -0
  39. package/dist/esm/models/GuestNetwork.d.ts +56 -0
  40. package/dist/esm/models/GuestNetwork.js +49 -0
  41. package/dist/esm/models/Histogram.d.ts +44 -0
  42. package/dist/esm/models/Histogram.js +51 -0
  43. package/dist/esm/models/Host.d.ts +62 -0
  44. package/dist/esm/models/Host.js +55 -0
  45. package/dist/esm/models/Infra.d.ts +106 -0
  46. package/dist/esm/models/Infra.js +74 -0
  47. package/dist/esm/models/InspectorStartRequest.d.ts +39 -0
  48. package/dist/esm/models/InspectorStartRequest.js +48 -0
  49. package/dist/esm/models/InspectorStatus.d.ts +51 -0
  50. package/dist/esm/models/InspectorStatus.js +57 -0
  51. package/dist/esm/models/Inventory.d.ts +47 -0
  52. package/dist/esm/models/Inventory.js +51 -0
  53. package/dist/esm/models/InventoryData.d.ts +47 -0
  54. package/dist/esm/models/InventoryData.js +52 -0
  55. package/dist/esm/models/MigrationIssue.d.ts +50 -0
  56. package/dist/esm/models/MigrationIssue.js +53 -0
  57. package/dist/esm/models/Network.d.ts +66 -0
  58. package/dist/esm/models/Network.js +62 -0
  59. package/dist/esm/models/OsInfo.d.ts +44 -0
  60. package/dist/esm/models/OsInfo.js +49 -0
  61. package/dist/esm/models/UpdateGroupRequest.d.ts +50 -0
  62. package/dist/esm/models/UpdateGroupRequest.js +47 -0
  63. package/dist/esm/models/UpdateInventory.d.ts +39 -0
  64. package/dist/esm/models/UpdateInventory.js +48 -0
  65. package/dist/esm/models/VCenter.d.ts +32 -0
  66. package/dist/esm/models/VCenter.js +43 -0
  67. package/dist/esm/models/VMDevice.d.ts +32 -0
  68. package/dist/esm/models/VMDevice.js +41 -0
  69. package/dist/esm/models/VMDisk.d.ts +68 -0
  70. package/dist/esm/models/VMDisk.js +53 -0
  71. package/dist/esm/models/VMIssue.d.ts +56 -0
  72. package/dist/esm/models/VMIssue.js +62 -0
  73. package/dist/esm/models/VMNIC.d.ts +44 -0
  74. package/dist/esm/models/VMNIC.js +45 -0
  75. package/dist/esm/models/VMResourceBreakdown.d.ts +58 -0
  76. package/dist/esm/models/VMResourceBreakdown.js +58 -0
  77. package/dist/esm/models/VMs.d.ts +170 -0
  78. package/dist/esm/models/VMs.js +103 -0
  79. package/dist/esm/models/VcenterCredentials.d.ts +44 -0
  80. package/dist/esm/models/VcenterCredentials.js +51 -0
  81. package/dist/esm/models/VddkPost200Response.d.ts +38 -0
  82. package/dist/esm/models/VddkPost200Response.js +47 -0
  83. package/dist/esm/models/VersionInfo.d.ts +44 -0
  84. package/dist/esm/models/VersionInfo.js +51 -0
  85. package/dist/esm/models/VirtualMachine.d.ts +99 -0
  86. package/dist/esm/models/VirtualMachine.js +82 -0
  87. package/dist/esm/models/VirtualMachineDetail.d.ts +218 -0
  88. package/dist/esm/models/VirtualMachineDetail.js +125 -0
  89. package/dist/esm/models/VirtualMachineListResponse.d.ts +51 -0
  90. package/dist/esm/models/VirtualMachineListResponse.js +56 -0
  91. package/dist/esm/models/VmInspectionStatus.d.ts +56 -0
  92. package/dist/esm/models/VmInspectionStatus.js +58 -0
  93. package/dist/esm/models/index.d.ts +39 -0
  94. package/dist/esm/models/index.js +41 -0
  95. package/dist/esm/runtime.d.ts +184 -0
  96. package/dist/esm/runtime.js +349 -0
  97. package/dist/index.d.ts +3 -0
  98. package/dist/index.js +21 -0
  99. package/dist/models/AgentModeRequest.d.ts +40 -0
  100. package/dist/models/AgentModeRequest.js +58 -0
  101. package/dist/models/AgentStatus.d.ts +60 -0
  102. package/dist/models/AgentStatus.js +71 -0
  103. package/dist/models/CollectorStartRequest.d.ts +44 -0
  104. package/dist/models/CollectorStartRequest.js +58 -0
  105. package/dist/models/CollectorStatus.d.ts +51 -0
  106. package/dist/models/CollectorStatus.js +65 -0
  107. package/dist/models/CreateGroupRequest.d.ts +50 -0
  108. package/dist/models/CreateGroupRequest.js +58 -0
  109. package/dist/models/Datastore.d.ts +80 -0
  110. package/dist/models/Datastore.js +80 -0
  111. package/dist/models/DiskSizeTierSummary.d.ts +38 -0
  112. package/dist/models/DiskSizeTierSummary.js +54 -0
  113. package/dist/models/DiskTypeSummary.d.ts +38 -0
  114. package/dist/models/DiskTypeSummary.js +54 -0
  115. package/dist/models/GetInventory200Response.d.ts +23 -0
  116. package/dist/models/GetInventory200Response.js +57 -0
  117. package/dist/models/Group.d.ts +68 -0
  118. package/dist/models/Group.js +66 -0
  119. package/dist/models/GroupListResponse.d.ts +51 -0
  120. package/dist/models/GroupListResponse.js +63 -0
  121. package/dist/models/GroupResponse.d.ts +58 -0
  122. package/dist/models/GroupResponse.js +68 -0
  123. package/dist/models/GuestNetwork.d.ts +56 -0
  124. package/dist/models/GuestNetwork.js +56 -0
  125. package/dist/models/Histogram.d.ts +44 -0
  126. package/dist/models/Histogram.js +58 -0
  127. package/dist/models/Host.d.ts +62 -0
  128. package/dist/models/Host.js +62 -0
  129. package/dist/models/Infra.d.ts +106 -0
  130. package/dist/models/Infra.js +81 -0
  131. package/dist/models/InspectorStartRequest.d.ts +39 -0
  132. package/dist/models/InspectorStartRequest.js +55 -0
  133. package/dist/models/InspectorStatus.d.ts +51 -0
  134. package/dist/models/InspectorStatus.js +65 -0
  135. package/dist/models/Inventory.d.ts +47 -0
  136. package/dist/models/Inventory.js +58 -0
  137. package/dist/models/InventoryData.d.ts +47 -0
  138. package/dist/models/InventoryData.js +59 -0
  139. package/dist/models/MigrationIssue.d.ts +50 -0
  140. package/dist/models/MigrationIssue.js +60 -0
  141. package/dist/models/Network.d.ts +66 -0
  142. package/dist/models/Network.js +70 -0
  143. package/dist/models/OsInfo.d.ts +44 -0
  144. package/dist/models/OsInfo.js +56 -0
  145. package/dist/models/UpdateGroupRequest.d.ts +50 -0
  146. package/dist/models/UpdateGroupRequest.js +54 -0
  147. package/dist/models/UpdateInventory.d.ts +39 -0
  148. package/dist/models/UpdateInventory.js +55 -0
  149. package/dist/models/VCenter.d.ts +32 -0
  150. package/dist/models/VCenter.js +50 -0
  151. package/dist/models/VMDevice.d.ts +32 -0
  152. package/dist/models/VMDevice.js +48 -0
  153. package/dist/models/VMDisk.d.ts +68 -0
  154. package/dist/models/VMDisk.js +60 -0
  155. package/dist/models/VMIssue.d.ts +56 -0
  156. package/dist/models/VMIssue.js +70 -0
  157. package/dist/models/VMNIC.d.ts +44 -0
  158. package/dist/models/VMNIC.js +52 -0
  159. package/dist/models/VMResourceBreakdown.d.ts +58 -0
  160. package/dist/models/VMResourceBreakdown.js +65 -0
  161. package/dist/models/VMs.d.ts +170 -0
  162. package/dist/models/VMs.js +110 -0
  163. package/dist/models/VcenterCredentials.d.ts +44 -0
  164. package/dist/models/VcenterCredentials.js +58 -0
  165. package/dist/models/VddkPost200Response.d.ts +38 -0
  166. package/dist/models/VddkPost200Response.js +54 -0
  167. package/dist/models/VersionInfo.d.ts +44 -0
  168. package/dist/models/VersionInfo.js +58 -0
  169. package/dist/models/VirtualMachine.d.ts +99 -0
  170. package/dist/models/VirtualMachine.js +89 -0
  171. package/dist/models/VirtualMachineDetail.d.ts +218 -0
  172. package/dist/models/VirtualMachineDetail.js +132 -0
  173. package/dist/models/VirtualMachineListResponse.d.ts +51 -0
  174. package/dist/models/VirtualMachineListResponse.js +63 -0
  175. package/dist/models/VmInspectionStatus.d.ts +56 -0
  176. package/dist/models/VmInspectionStatus.js +66 -0
  177. package/dist/models/index.d.ts +39 -0
  178. package/dist/models/index.js +57 -0
  179. package/dist/runtime.d.ts +184 -0
  180. package/dist/runtime.js +365 -0
  181. package/docs/AgentModeRequest.md +34 -0
  182. package/docs/AgentStatus.md +38 -0
  183. package/docs/CollectorStartRequest.md +38 -0
  184. package/docs/CollectorStatus.md +36 -0
  185. package/docs/CreateGroupRequest.md +40 -0
  186. package/docs/Datastore.md +50 -0
  187. package/docs/DefaultApi.md +1419 -0
  188. package/docs/DiskSizeTierSummary.md +36 -0
  189. package/docs/DiskTypeSummary.md +36 -0
  190. package/docs/GetInventory200Response.md +42 -0
  191. package/docs/Group.md +46 -0
  192. package/docs/GroupListResponse.md +40 -0
  193. package/docs/GroupResponse.md +42 -0
  194. package/docs/GuestNetwork.md +42 -0
  195. package/docs/Histogram.md +38 -0
  196. package/docs/Host.md +44 -0
  197. package/docs/Infra.md +56 -0
  198. package/docs/InspectorStartRequest.md +36 -0
  199. package/docs/InspectorStatus.md +36 -0
  200. package/docs/Inventory.md +38 -0
  201. package/docs/InventoryData.md +38 -0
  202. package/docs/MigrationIssue.md +40 -0
  203. package/docs/Network.md +42 -0
  204. package/docs/OsInfo.md +38 -0
  205. package/docs/UpdateGroupRequest.md +40 -0
  206. package/docs/UpdateInventory.md +36 -0
  207. package/docs/VCenter.md +34 -0
  208. package/docs/VMDevice.md +34 -0
  209. package/docs/VMDisk.md +46 -0
  210. package/docs/VMIssue.md +38 -0
  211. package/docs/VMNIC.md +38 -0
  212. package/docs/VMResourceBreakdown.md +42 -0
  213. package/docs/VMs.md +72 -0
  214. package/docs/VcenterCredentials.md +38 -0
  215. package/docs/VddkPost200Response.md +36 -0
  216. package/docs/VersionInfo.md +38 -0
  217. package/docs/VirtualMachine.md +56 -0
  218. package/docs/VirtualMachineDetail.md +94 -0
  219. package/docs/VirtualMachineListResponse.md +40 -0
  220. package/docs/VmInspectionStatus.md +38 -0
  221. package/package.json +22 -0
  222. package/src/apis/DefaultApi.ts +1607 -0
  223. package/src/apis/index.ts +3 -0
  224. package/src/index.ts +5 -0
  225. package/src/models/AgentModeRequest.ts +77 -0
  226. package/src/models/AgentStatus.ts +103 -0
  227. package/src/models/CollectorStartRequest.ts +84 -0
  228. package/src/models/CollectorStatus.ts +90 -0
  229. package/src/models/CreateGroupRequest.ts +91 -0
  230. package/src/models/Datastore.ts +137 -0
  231. package/src/models/DiskSizeTierSummary.ts +75 -0
  232. package/src/models/DiskTypeSummary.ts +75 -0
  233. package/src/models/GetInventory200Response.ts +76 -0
  234. package/src/models/Group.ts +116 -0
  235. package/src/models/GroupListResponse.ts +101 -0
  236. package/src/models/GroupResponse.ts +117 -0
  237. package/src/models/GuestNetwork.ts +97 -0
  238. package/src/models/Histogram.ts +84 -0
  239. package/src/models/Host.ts +107 -0
  240. package/src/models/Infra.ts +182 -0
  241. package/src/models/InspectorStartRequest.ts +83 -0
  242. package/src/models/InspectorStatus.ts +90 -0
  243. package/src/models/Inventory.ts +91 -0
  244. package/src/models/InventoryData.ts +105 -0
  245. package/src/models/MigrationIssue.ts +92 -0
  246. package/src/models/Network.ts +112 -0
  247. package/src/models/OsInfo.ts +83 -0
  248. package/src/models/UpdateGroupRequest.ts +89 -0
  249. package/src/models/UpdateInventory.ts +83 -0
  250. package/src/models/VCenter.ts +66 -0
  251. package/src/models/VMDevice.ts +65 -0
  252. package/src/models/VMDisk.ts +113 -0
  253. package/src/models/VMIssue.ts +99 -0
  254. package/src/models/VMNIC.ts +81 -0
  255. package/src/models/VMResourceBreakdown.ts +110 -0
  256. package/src/models/VMs.ts +263 -0
  257. package/src/models/VcenterCredentials.ts +84 -0
  258. package/src/models/VddkPost200Response.ts +75 -0
  259. package/src/models/VersionInfo.ts +84 -0
  260. package/src/models/VirtualMachine.ts +170 -0
  261. package/src/models/VirtualMachineDetail.ts +357 -0
  262. package/src/models/VirtualMachineListResponse.ts +101 -0
  263. package/src/models/VmInspectionStatus.ts +97 -0
  264. package/src/models/index.ts +41 -0
  265. package/src/runtime.ts +450 -0
  266. package/tsconfig.esm.json +7 -0
  267. package/tsconfig.json +16 -0
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.InspectorStatusStateEnum = void 0;
17
+ exports.instanceOfInspectorStatus = instanceOfInspectorStatus;
18
+ exports.InspectorStatusFromJSON = InspectorStatusFromJSON;
19
+ exports.InspectorStatusFromJSONTyped = InspectorStatusFromJSONTyped;
20
+ exports.InspectorStatusToJSON = InspectorStatusToJSON;
21
+ exports.InspectorStatusToJSONTyped = InspectorStatusToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InspectorStatusStateEnum = {
26
+ Ready: 'ready',
27
+ Initiating: 'Initiating',
28
+ Running: 'running',
29
+ Canceling: 'canceling',
30
+ Canceled: 'canceled',
31
+ Completed: 'completed',
32
+ Error: 'error'
33
+ };
34
+ /**
35
+ * Check if a given object implements the InspectorStatus interface.
36
+ */
37
+ function instanceOfInspectorStatus(value) {
38
+ if (!('state' in value) || value['state'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function InspectorStatusFromJSON(json) {
43
+ return InspectorStatusFromJSONTyped(json, false);
44
+ }
45
+ function InspectorStatusFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'state': json['state'],
51
+ 'error': json['error'] == null ? undefined : json['error'],
52
+ };
53
+ }
54
+ function InspectorStatusToJSON(json) {
55
+ return InspectorStatusToJSONTyped(json, false);
56
+ }
57
+ function InspectorStatusToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'state': value['state'],
63
+ 'error': value['error'],
64
+ };
65
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { InventoryData } from './InventoryData.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Inventory
17
+ */
18
+ export interface Inventory {
19
+ /**
20
+ * ID of the vCenter
21
+ * @type {string}
22
+ * @memberof Inventory
23
+ */
24
+ vcenterId: string;
25
+ /**
26
+ * Map of cluster names to their inventory data
27
+ * @type {{ [key: string]: InventoryData; }}
28
+ * @memberof Inventory
29
+ */
30
+ clusters: {
31
+ [key: string]: InventoryData;
32
+ };
33
+ /**
34
+ *
35
+ * @type {InventoryData}
36
+ * @memberof Inventory
37
+ */
38
+ vcenter?: InventoryData;
39
+ }
40
+ /**
41
+ * Check if a given object implements the Inventory interface.
42
+ */
43
+ export declare function instanceOfInventory(value: object): value is Inventory;
44
+ export declare function InventoryFromJSON(json: any): Inventory;
45
+ export declare function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory;
46
+ export declare function InventoryToJSON(json: any): Inventory;
47
+ export declare function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfInventory = instanceOfInventory;
17
+ exports.InventoryFromJSON = InventoryFromJSON;
18
+ exports.InventoryFromJSONTyped = InventoryFromJSONTyped;
19
+ exports.InventoryToJSON = InventoryToJSON;
20
+ exports.InventoryToJSONTyped = InventoryToJSONTyped;
21
+ const runtime_js_1 = require("../runtime.js");
22
+ const InventoryData_js_1 = require("./InventoryData.js");
23
+ /**
24
+ * Check if a given object implements the Inventory interface.
25
+ */
26
+ function instanceOfInventory(value) {
27
+ if (!('vcenterId' in value) || value['vcenterId'] === undefined)
28
+ return false;
29
+ if (!('clusters' in value) || value['clusters'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function InventoryFromJSON(json) {
34
+ return InventoryFromJSONTyped(json, false);
35
+ }
36
+ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'vcenterId': json['vcenter_id'],
42
+ 'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
43
+ 'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
44
+ };
45
+ }
46
+ function InventoryToJSON(json) {
47
+ return InventoryToJSONTyped(json, false);
48
+ }
49
+ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'vcenter_id': value['vcenterId'],
55
+ 'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
56
+ 'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
57
+ };
58
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { VCenter } from './VCenter.js';
13
+ import type { Infra } from './Infra.js';
14
+ import type { VMs } from './VMs.js';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface InventoryData
19
+ */
20
+ export interface InventoryData {
21
+ /**
22
+ *
23
+ * @type {VCenter}
24
+ * @memberof InventoryData
25
+ */
26
+ vcenter?: VCenter;
27
+ /**
28
+ *
29
+ * @type {VMs}
30
+ * @memberof InventoryData
31
+ */
32
+ vms: VMs;
33
+ /**
34
+ *
35
+ * @type {Infra}
36
+ * @memberof InventoryData
37
+ */
38
+ infra: Infra;
39
+ }
40
+ /**
41
+ * Check if a given object implements the InventoryData interface.
42
+ */
43
+ export declare function instanceOfInventoryData(value: object): value is InventoryData;
44
+ export declare function InventoryDataFromJSON(json: any): InventoryData;
45
+ export declare function InventoryDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): InventoryData;
46
+ export declare function InventoryDataToJSON(json: any): InventoryData;
47
+ export declare function InventoryDataToJSONTyped(value?: InventoryData | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfInventoryData = instanceOfInventoryData;
17
+ exports.InventoryDataFromJSON = InventoryDataFromJSON;
18
+ exports.InventoryDataFromJSONTyped = InventoryDataFromJSONTyped;
19
+ exports.InventoryDataToJSON = InventoryDataToJSON;
20
+ exports.InventoryDataToJSONTyped = InventoryDataToJSONTyped;
21
+ const VCenter_js_1 = require("./VCenter.js");
22
+ const Infra_js_1 = require("./Infra.js");
23
+ const VMs_js_1 = require("./VMs.js");
24
+ /**
25
+ * Check if a given object implements the InventoryData interface.
26
+ */
27
+ function instanceOfInventoryData(value) {
28
+ if (!('vms' in value) || value['vms'] === undefined)
29
+ return false;
30
+ if (!('infra' in value) || value['infra'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function InventoryDataFromJSON(json) {
35
+ return InventoryDataFromJSONTyped(json, false);
36
+ }
37
+ function InventoryDataFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'vcenter': json['vcenter'] == null ? undefined : (0, VCenter_js_1.VCenterFromJSON)(json['vcenter']),
43
+ 'vms': (0, VMs_js_1.VMsFromJSON)(json['vms']),
44
+ 'infra': (0, Infra_js_1.InfraFromJSON)(json['infra']),
45
+ };
46
+ }
47
+ function InventoryDataToJSON(json) {
48
+ return InventoryDataToJSONTyped(json, false);
49
+ }
50
+ function InventoryDataToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'vcenter': (0, VCenter_js_1.VCenterToJSON)(value['vcenter']),
56
+ 'vms': (0, VMs_js_1.VMsToJSON)(value['vms']),
57
+ 'infra': (0, Infra_js_1.InfraToJSON)(value['infra']),
58
+ };
59
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MigrationIssue
16
+ */
17
+ export interface MigrationIssue {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MigrationIssue
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MigrationIssue
28
+ */
29
+ label: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof MigrationIssue
34
+ */
35
+ assessment: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof MigrationIssue
40
+ */
41
+ count: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the MigrationIssue interface.
45
+ */
46
+ export declare function instanceOfMigrationIssue(value: object): value is MigrationIssue;
47
+ export declare function MigrationIssueFromJSON(json: any): MigrationIssue;
48
+ export declare function MigrationIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationIssue;
49
+ export declare function MigrationIssueToJSON(json: any): MigrationIssue;
50
+ export declare function MigrationIssueToJSONTyped(value?: MigrationIssue | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfMigrationIssue = instanceOfMigrationIssue;
17
+ exports.MigrationIssueFromJSON = MigrationIssueFromJSON;
18
+ exports.MigrationIssueFromJSONTyped = MigrationIssueFromJSONTyped;
19
+ exports.MigrationIssueToJSON = MigrationIssueToJSON;
20
+ exports.MigrationIssueToJSONTyped = MigrationIssueToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the MigrationIssue interface.
23
+ */
24
+ function instanceOfMigrationIssue(value) {
25
+ if (!('label' in value) || value['label'] === undefined)
26
+ return false;
27
+ if (!('assessment' in value) || value['assessment'] === undefined)
28
+ return false;
29
+ if (!('count' in value) || value['count'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function MigrationIssueFromJSON(json) {
34
+ return MigrationIssueFromJSONTyped(json, false);
35
+ }
36
+ function MigrationIssueFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'] == null ? undefined : json['id'],
42
+ 'label': json['label'],
43
+ 'assessment': json['assessment'],
44
+ 'count': json['count'],
45
+ };
46
+ }
47
+ function MigrationIssueToJSON(json) {
48
+ return MigrationIssueToJSONTyped(json, false);
49
+ }
50
+ function MigrationIssueToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'id': value['id'],
56
+ 'label': value['label'],
57
+ 'assessment': value['assessment'],
58
+ 'count': value['count'],
59
+ };
60
+ }
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Network
16
+ */
17
+ export interface Network {
18
+ /**
19
+ *
20
+ * @type {NetworkTypeEnum}
21
+ * @memberof Network
22
+ */
23
+ type: NetworkTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Network
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Network
34
+ */
35
+ vlanId?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Network
40
+ */
41
+ dvswitch?: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof Network
46
+ */
47
+ vmsCount?: number;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const NetworkTypeEnum: {
53
+ readonly Standard: "standard";
54
+ readonly Distributed: "distributed";
55
+ readonly Dvswitch: "dvswitch";
56
+ readonly Unsupported: "unsupported";
57
+ };
58
+ export type NetworkTypeEnum = typeof NetworkTypeEnum[keyof typeof NetworkTypeEnum];
59
+ /**
60
+ * Check if a given object implements the Network interface.
61
+ */
62
+ export declare function instanceOfNetwork(value: object): value is Network;
63
+ export declare function NetworkFromJSON(json: any): Network;
64
+ export declare function NetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Network;
65
+ export declare function NetworkToJSON(json: any): Network;
66
+ export declare function NetworkToJSONTyped(value?: Network | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NetworkTypeEnum = void 0;
17
+ exports.instanceOfNetwork = instanceOfNetwork;
18
+ exports.NetworkFromJSON = NetworkFromJSON;
19
+ exports.NetworkFromJSONTyped = NetworkFromJSONTyped;
20
+ exports.NetworkToJSON = NetworkToJSON;
21
+ exports.NetworkToJSONTyped = NetworkToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.NetworkTypeEnum = {
26
+ Standard: 'standard',
27
+ Distributed: 'distributed',
28
+ Dvswitch: 'dvswitch',
29
+ Unsupported: 'unsupported'
30
+ };
31
+ /**
32
+ * Check if a given object implements the Network interface.
33
+ */
34
+ function instanceOfNetwork(value) {
35
+ if (!('type' in value) || value['type'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function NetworkFromJSON(json) {
42
+ return NetworkFromJSONTyped(json, false);
43
+ }
44
+ function NetworkFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'type': json['type'],
50
+ 'name': json['name'],
51
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
52
+ 'dvswitch': json['dvswitch'] == null ? undefined : json['dvswitch'],
53
+ 'vmsCount': json['vmsCount'] == null ? undefined : json['vmsCount'],
54
+ };
55
+ }
56
+ function NetworkToJSON(json) {
57
+ return NetworkToJSONTyped(json, false);
58
+ }
59
+ function NetworkToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'type': value['type'],
65
+ 'name': value['name'],
66
+ 'vlanId': value['vlanId'],
67
+ 'dvswitch': value['dvswitch'],
68
+ 'vmsCount': value['vmsCount'],
69
+ };
70
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OsInfo
16
+ */
17
+ export interface OsInfo {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof OsInfo
22
+ */
23
+ count: number;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof OsInfo
28
+ */
29
+ supported: boolean;
30
+ /**
31
+ * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
+ * @type {string}
33
+ * @memberof OsInfo
34
+ */
35
+ upgradeRecommendation?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the OsInfo interface.
39
+ */
40
+ export declare function instanceOfOsInfo(value: object): value is OsInfo;
41
+ export declare function OsInfoFromJSON(json: any): OsInfo;
42
+ export declare function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsInfo;
43
+ export declare function OsInfoToJSON(json: any): OsInfo;
44
+ export declare function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfOsInfo = instanceOfOsInfo;
17
+ exports.OsInfoFromJSON = OsInfoFromJSON;
18
+ exports.OsInfoFromJSONTyped = OsInfoFromJSONTyped;
19
+ exports.OsInfoToJSON = OsInfoToJSON;
20
+ exports.OsInfoToJSONTyped = OsInfoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the OsInfo interface.
23
+ */
24
+ function instanceOfOsInfo(value) {
25
+ if (!('count' in value) || value['count'] === undefined)
26
+ return false;
27
+ if (!('supported' in value) || value['supported'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function OsInfoFromJSON(json) {
32
+ return OsInfoFromJSONTyped(json, false);
33
+ }
34
+ function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'count': json['count'],
40
+ 'supported': json['supported'],
41
+ 'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
42
+ };
43
+ }
44
+ function OsInfoToJSON(json) {
45
+ return OsInfoToJSONTyped(json, false);
46
+ }
47
+ function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'count': value['count'],
53
+ 'supported': value['supported'],
54
+ 'upgradeRecommendation': value['upgradeRecommendation'],
55
+ };
56
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateGroupRequest
16
+ */
17
+ export interface UpdateGroupRequest {
18
+ /**
19
+ * Group display name
20
+ * @type {string}
21
+ * @memberof UpdateGroupRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ * Optional group description
26
+ * @type {string}
27
+ * @memberof UpdateGroupRequest
28
+ */
29
+ description?: string;
30
+ /**
31
+ * Filter expression (will be validated)
32
+ * @type {string}
33
+ * @memberof UpdateGroupRequest
34
+ */
35
+ filter?: string;
36
+ /**
37
+ * Tags to apply to matching VMs (only alphanumeric, underscore, and dot allowed)
38
+ * @type {Array<string>}
39
+ * @memberof UpdateGroupRequest
40
+ */
41
+ tags?: Array<string>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the UpdateGroupRequest interface.
45
+ */
46
+ export declare function instanceOfUpdateGroupRequest(value: object): value is UpdateGroupRequest;
47
+ export declare function UpdateGroupRequestFromJSON(json: any): UpdateGroupRequest;
48
+ export declare function UpdateGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateGroupRequest;
49
+ export declare function UpdateGroupRequestToJSON(json: any): UpdateGroupRequest;
50
+ export declare function UpdateGroupRequestToJSONTyped(value?: UpdateGroupRequest | null, ignoreDiscriminator?: boolean): any;