@openshift-migration-advisor/agent-sdk 0.12.0 → 0.16.0

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 (331) hide show
  1. package/.openapi-generator/FILES +74 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +75 -10
  4. package/dist/apis/DefaultApi.d.ts +1102 -63
  5. package/dist/apis/DefaultApi.js +1333 -189
  6. package/dist/esm/apis/DefaultApi.d.ts +1102 -63
  7. package/dist/esm/apis/DefaultApi.js +1309 -165
  8. package/dist/esm/models/AgentStatus.d.ts +1 -1
  9. package/dist/esm/models/AgentStatus.js +3 -3
  10. package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
  11. package/dist/esm/models/ApplicationListResponse.js +44 -0
  12. package/dist/esm/models/ApplicationOverview.d.ts +51 -0
  13. package/dist/esm/models/ApplicationOverview.js +56 -0
  14. package/dist/esm/models/ApplicationVM.d.ts +38 -0
  15. package/dist/esm/models/ApplicationVM.js +47 -0
  16. package/dist/esm/models/BenchmarkRun.d.ts +104 -0
  17. package/dist/esm/models/BenchmarkRun.js +85 -0
  18. package/dist/esm/models/CapabilityStatus.d.ts +33 -0
  19. package/dist/esm/models/CapabilityStatus.js +44 -0
  20. package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
  21. package/dist/esm/models/CapabilityStatusCapabilities.js +52 -0
  22. package/dist/esm/models/ClusterFeatures.d.ts +54 -0
  23. package/dist/esm/models/ClusterFeatures.js +54 -0
  24. package/dist/esm/models/ClusterUtilization.d.ts +68 -0
  25. package/dist/esm/models/ClusterUtilization.js +67 -0
  26. package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
  27. package/dist/esm/models/CollectorStartRequest.js +4 -0
  28. package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
  29. package/dist/esm/models/CreateGroupRequest.js +0 -2
  30. package/dist/esm/models/CredentialStatus.d.ts +44 -0
  31. package/dist/esm/models/CredentialStatus.js +51 -0
  32. package/dist/esm/models/DatastoreDetail.d.ts +90 -0
  33. package/dist/esm/models/DatastoreDetail.js +74 -0
  34. package/dist/esm/models/DatastorePair.d.ts +50 -0
  35. package/dist/esm/models/DatastorePair.js +53 -0
  36. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
  37. package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
  38. package/dist/esm/models/EstimateRange.d.ts +44 -0
  39. package/dist/esm/models/EstimateRange.js +45 -0
  40. package/dist/esm/models/ForecastStats.d.ts +87 -0
  41. package/dist/esm/models/ForecastStats.js +64 -0
  42. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
  43. package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
  44. package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
  45. package/dist/esm/models/ForecasterPairStatus.js +82 -0
  46. package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
  47. package/dist/esm/models/ForecasterStartRequest.js +53 -0
  48. package/dist/esm/models/ForecasterStatus.d.ts +47 -0
  49. package/dist/esm/models/ForecasterStatus.js +53 -0
  50. package/dist/esm/models/Group.d.ts +0 -6
  51. package/dist/esm/models/Group.js +0 -2
  52. package/dist/esm/models/GroupResponse.d.ts +7 -0
  53. package/dist/esm/models/GroupResponse.js +3 -0
  54. package/dist/esm/models/InspectorStatus.d.ts +0 -17
  55. package/dist/esm/models/InspectorStatus.js +1 -10
  56. package/dist/esm/models/Inventory.d.ts +7 -1
  57. package/dist/esm/models/Inventory.js +5 -3
  58. package/dist/esm/models/InventoryData.d.ts +14 -0
  59. package/dist/esm/models/InventoryData.js +6 -0
  60. package/dist/esm/models/OperationCapability.d.ts +38 -0
  61. package/dist/esm/models/OperationCapability.js +45 -0
  62. package/dist/esm/models/PairCapability.d.ts +60 -0
  63. package/dist/esm/models/PairCapability.js +64 -0
  64. package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
  65. package/dist/esm/models/PairCapabilityRequest.js +47 -0
  66. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
  67. package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
  68. package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
  69. package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
  70. package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
  71. package/dist/esm/models/RightsizingClusterResponse.js +48 -0
  72. package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
  73. package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
  74. package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
  75. package/dist/esm/models/RightsizingCollectRequest.js +56 -0
  76. package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
  77. package/dist/esm/models/RightsizingMetricStats.js +63 -0
  78. package/dist/esm/models/RightsizingReport.d.ts +81 -0
  79. package/dist/esm/models/RightsizingReport.js +76 -0
  80. package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
  81. package/dist/esm/models/RightsizingReportListResponse.js +48 -0
  82. package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
  83. package/dist/esm/models/RightsizingReportSummary.js +71 -0
  84. package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
  85. package/dist/esm/models/RightsizingVMReport.js +57 -0
  86. package/dist/esm/models/StartInspectionRequest.d.ts +8 -1
  87. package/dist/esm/models/StartInspectionRequest.js +3 -0
  88. package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
  89. package/dist/esm/models/StopForecasterPair202Response.js +49 -0
  90. package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
  91. package/dist/esm/models/UpdateGroupRequest.js +0 -2
  92. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
  93. package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
  94. package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
  95. package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
  96. package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
  97. package/dist/esm/models/VMLabelsResponse.js +47 -0
  98. package/dist/esm/models/VMNIC.d.ts +12 -0
  99. package/dist/esm/models/VMNIC.js +4 -0
  100. package/dist/esm/models/VcenterCredentials.d.ts +12 -0
  101. package/dist/esm/models/VcenterCredentials.js +4 -0
  102. package/dist/esm/models/VirtualMachine.d.ts +50 -2
  103. package/dist/esm/models/VirtualMachine.js +18 -2
  104. package/dist/esm/models/VirtualMachineDetail.d.ts +19 -0
  105. package/dist/esm/models/VirtualMachineDetail.js +7 -0
  106. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
  107. package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
  108. package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
  109. package/dist/esm/models/VmInspectionStatus.js +4 -0
  110. package/dist/esm/models/VmUtilizationDetails.d.ts +116 -0
  111. package/dist/esm/models/VmUtilizationDetails.js +99 -0
  112. package/dist/esm/models/index.d.ts +37 -0
  113. package/dist/esm/models/index.js +37 -0
  114. package/dist/esm/runtime.js +2 -1
  115. package/dist/models/AgentStatus.d.ts +1 -1
  116. package/dist/models/AgentStatus.js +3 -3
  117. package/dist/models/ApplicationListResponse.d.ts +33 -0
  118. package/dist/models/ApplicationListResponse.js +51 -0
  119. package/dist/models/ApplicationOverview.d.ts +51 -0
  120. package/dist/models/ApplicationOverview.js +63 -0
  121. package/dist/models/ApplicationVM.d.ts +38 -0
  122. package/dist/models/ApplicationVM.js +54 -0
  123. package/dist/models/BenchmarkRun.d.ts +104 -0
  124. package/dist/models/BenchmarkRun.js +92 -0
  125. package/dist/models/CapabilityStatus.d.ts +33 -0
  126. package/dist/models/CapabilityStatus.js +51 -0
  127. package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
  128. package/dist/models/CapabilityStatusCapabilities.js +59 -0
  129. package/dist/models/ClusterFeatures.d.ts +54 -0
  130. package/dist/models/ClusterFeatures.js +62 -0
  131. package/dist/models/ClusterUtilization.d.ts +68 -0
  132. package/dist/models/ClusterUtilization.js +74 -0
  133. package/dist/models/CollectorStartRequest.d.ts +12 -0
  134. package/dist/models/CollectorStartRequest.js +4 -0
  135. package/dist/models/CreateGroupRequest.d.ts +0 -6
  136. package/dist/models/CreateGroupRequest.js +0 -2
  137. package/dist/models/CredentialStatus.d.ts +44 -0
  138. package/dist/models/CredentialStatus.js +58 -0
  139. package/dist/models/DatastoreDetail.d.ts +90 -0
  140. package/dist/models/DatastoreDetail.js +82 -0
  141. package/dist/models/DatastorePair.d.ts +50 -0
  142. package/dist/models/DatastorePair.js +60 -0
  143. package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
  144. package/dist/models/DeleteLabelGloballyResponse.js +54 -0
  145. package/dist/models/EstimateRange.d.ts +44 -0
  146. package/dist/models/EstimateRange.js +52 -0
  147. package/dist/models/ForecastStats.d.ts +87 -0
  148. package/dist/models/ForecastStats.js +71 -0
  149. package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
  150. package/dist/models/ForecasterDatastoresRequest.js +49 -0
  151. package/dist/models/ForecasterPairStatus.d.ts +98 -0
  152. package/dist/models/ForecasterPairStatus.js +90 -0
  153. package/dist/models/ForecasterStartRequest.d.ts +58 -0
  154. package/dist/models/ForecasterStartRequest.js +60 -0
  155. package/dist/models/ForecasterStatus.d.ts +47 -0
  156. package/dist/models/ForecasterStatus.js +61 -0
  157. package/dist/models/Group.d.ts +0 -6
  158. package/dist/models/Group.js +0 -2
  159. package/dist/models/GroupResponse.d.ts +7 -0
  160. package/dist/models/GroupResponse.js +3 -0
  161. package/dist/models/InspectorStatus.d.ts +0 -17
  162. package/dist/models/InspectorStatus.js +1 -10
  163. package/dist/models/Inventory.d.ts +7 -1
  164. package/dist/models/Inventory.js +5 -3
  165. package/dist/models/InventoryData.d.ts +14 -0
  166. package/dist/models/InventoryData.js +6 -0
  167. package/dist/models/OperationCapability.d.ts +38 -0
  168. package/dist/models/OperationCapability.js +52 -0
  169. package/dist/models/PairCapability.d.ts +60 -0
  170. package/dist/models/PairCapability.js +72 -0
  171. package/dist/models/PairCapabilityRequest.d.ts +40 -0
  172. package/dist/models/PairCapabilityRequest.js +54 -0
  173. package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
  174. package/dist/models/PutForecasterCredentials403Response.js +50 -0
  175. package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
  176. package/dist/models/RightsizingClusterListResponse.js +55 -0
  177. package/dist/models/RightsizingClusterResponse.d.ts +39 -0
  178. package/dist/models/RightsizingClusterResponse.js +55 -0
  179. package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
  180. package/dist/models/RightsizingClusterUtilization.js +102 -0
  181. package/dist/models/RightsizingCollectRequest.d.ts +70 -0
  182. package/dist/models/RightsizingCollectRequest.js +63 -0
  183. package/dist/models/RightsizingMetricStats.d.ts +62 -0
  184. package/dist/models/RightsizingMetricStats.js +70 -0
  185. package/dist/models/RightsizingReport.d.ts +81 -0
  186. package/dist/models/RightsizingReport.js +83 -0
  187. package/dist/models/RightsizingReportListResponse.d.ts +39 -0
  188. package/dist/models/RightsizingReportListResponse.js +55 -0
  189. package/dist/models/RightsizingReportSummary.d.ts +74 -0
  190. package/dist/models/RightsizingReportSummary.js +78 -0
  191. package/dist/models/RightsizingVMReport.d.ts +53 -0
  192. package/dist/models/RightsizingVMReport.js +64 -0
  193. package/dist/models/StartInspectionRequest.d.ts +8 -1
  194. package/dist/models/StartInspectionRequest.js +3 -0
  195. package/dist/models/StopForecasterPair202Response.d.ts +45 -0
  196. package/dist/models/StopForecasterPair202Response.js +57 -0
  197. package/dist/models/UpdateGroupRequest.d.ts +0 -6
  198. package/dist/models/UpdateGroupRequest.js +0 -2
  199. package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
  200. package/dist/models/UpdateLabelVMsRequest.js +50 -0
  201. package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
  202. package/dist/models/VMFilterOptionsResponse.js +66 -0
  203. package/dist/models/VMLabelsResponse.d.ts +38 -0
  204. package/dist/models/VMLabelsResponse.js +54 -0
  205. package/dist/models/VMNIC.d.ts +12 -0
  206. package/dist/models/VMNIC.js +4 -0
  207. package/dist/models/VcenterCredentials.d.ts +12 -0
  208. package/dist/models/VcenterCredentials.js +4 -0
  209. package/dist/models/VirtualMachine.d.ts +50 -2
  210. package/dist/models/VirtualMachine.js +18 -2
  211. package/dist/models/VirtualMachineDetail.d.ts +19 -0
  212. package/dist/models/VirtualMachineDetail.js +7 -0
  213. package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
  214. package/dist/models/VirtualMachineUpdateRequest.js +50 -0
  215. package/dist/models/VmInspectionStatus.d.ts +6 -0
  216. package/dist/models/VmInspectionStatus.js +4 -0
  217. package/dist/models/VmUtilizationDetails.d.ts +116 -0
  218. package/dist/models/VmUtilizationDetails.js +106 -0
  219. package/dist/models/index.d.ts +37 -0
  220. package/dist/models/index.js +37 -0
  221. package/dist/runtime.js +2 -1
  222. package/docs/AgentStatus.md +2 -2
  223. package/docs/ApplicationListResponse.md +34 -0
  224. package/docs/ApplicationOverview.md +40 -0
  225. package/docs/ApplicationVM.md +36 -0
  226. package/docs/BenchmarkRun.md +58 -0
  227. package/docs/CapabilityStatus.md +34 -0
  228. package/docs/CapabilityStatusCapabilities.md +38 -0
  229. package/docs/ClusterFeatures.md +38 -0
  230. package/docs/ClusterUtilization.md +46 -0
  231. package/docs/CollectorStartRequest.md +4 -0
  232. package/docs/CreateGroupRequest.md +0 -2
  233. package/docs/CredentialStatus.md +38 -0
  234. package/docs/DatastoreDetail.md +50 -0
  235. package/docs/DatastorePair.md +40 -0
  236. package/docs/DefaultApi.md +2170 -304
  237. package/docs/DeleteLabelGloballyResponse.md +36 -0
  238. package/docs/EstimateRange.md +39 -0
  239. package/docs/ForecastStats.md +52 -0
  240. package/docs/ForecasterDatastoresRequest.md +34 -0
  241. package/docs/ForecasterPairStatus.md +52 -0
  242. package/docs/ForecasterStartRequest.md +42 -0
  243. package/docs/ForecasterStatus.md +36 -0
  244. package/docs/GetInventory200Response.md +4 -2
  245. package/docs/Group.md +0 -2
  246. package/docs/GroupResponse.md +2 -0
  247. package/docs/InspectorStatus.md +0 -4
  248. package/docs/Inventory.md +4 -2
  249. package/docs/InventoryData.md +4 -0
  250. package/docs/OperationCapability.md +36 -0
  251. package/docs/PairCapability.md +40 -0
  252. package/docs/PairCapabilityRequest.md +36 -0
  253. package/docs/PutForecasterCredentials403Response.md +36 -0
  254. package/docs/RightsizingClusterListResponse.md +36 -0
  255. package/docs/RightsizingClusterResponse.md +36 -0
  256. package/docs/RightsizingClusterUtilization.md +60 -0
  257. package/docs/RightsizingCollectRequest.md +46 -0
  258. package/docs/RightsizingMetricStats.md +44 -0
  259. package/docs/RightsizingReport.md +50 -0
  260. package/docs/RightsizingReportListResponse.md +36 -0
  261. package/docs/RightsizingReportSummary.md +49 -0
  262. package/docs/RightsizingVMReport.md +40 -0
  263. package/docs/StartInspectionRequest.md +3 -1
  264. package/docs/StopForecasterPair202Response.md +36 -0
  265. package/docs/UpdateGroupRequest.md +0 -2
  266. package/docs/UpdateLabelVMsRequest.md +36 -0
  267. package/docs/VMFilterOptionsResponse.md +42 -0
  268. package/docs/VMLabelsResponse.md +36 -0
  269. package/docs/VMNIC.md +4 -0
  270. package/docs/VcenterCredentials.md +4 -0
  271. package/docs/VirtualMachine.md +18 -2
  272. package/docs/VirtualMachineDetail.md +6 -0
  273. package/docs/VirtualMachineUpdateRequest.md +36 -0
  274. package/docs/VmInspectionStatus.md +2 -0
  275. package/docs/VmUtilizationDetails.md +62 -0
  276. package/package.json +1 -1
  277. package/src/apis/DefaultApi.ts +2566 -430
  278. package/src/models/AgentStatus.ts +4 -4
  279. package/src/models/ApplicationListResponse.ts +74 -0
  280. package/src/models/ApplicationOverview.ts +101 -0
  281. package/src/models/ApplicationVM.ts +75 -0
  282. package/src/models/BenchmarkRun.ts +171 -0
  283. package/src/models/CapabilityStatus.ts +74 -0
  284. package/src/models/CapabilityStatusCapabilities.ts +92 -0
  285. package/src/models/ClusterFeatures.ts +94 -0
  286. package/src/models/ClusterUtilization.ts +120 -0
  287. package/src/models/CollectorStartRequest.ts +16 -0
  288. package/src/models/CreateGroupRequest.ts +0 -8
  289. package/src/models/CredentialStatus.ts +84 -0
  290. package/src/models/DatastoreDetail.ts +146 -0
  291. package/src/models/DatastorePair.ts +92 -0
  292. package/src/models/DeleteLabelGloballyResponse.ts +75 -0
  293. package/src/models/EstimateRange.ts +81 -0
  294. package/src/models/ForecastStats.ts +147 -0
  295. package/src/models/ForecasterDatastoresRequest.ts +73 -0
  296. package/src/models/ForecasterPairStatus.ts +158 -0
  297. package/src/models/ForecasterStartRequest.ts +113 -0
  298. package/src/models/ForecasterStatus.ts +93 -0
  299. package/src/models/Group.ts +0 -8
  300. package/src/models/GroupResponse.ts +15 -0
  301. package/src/models/InspectorStatus.ts +1 -28
  302. package/src/models/Inventory.ts +12 -4
  303. package/src/models/InventoryData.ts +30 -0
  304. package/src/models/OperationCapability.ts +74 -0
  305. package/src/models/PairCapability.ts +106 -0
  306. package/src/models/PairCapabilityRequest.ts +89 -0
  307. package/src/models/PutForecasterCredentials403Response.ts +73 -0
  308. package/src/models/RightsizingClusterListResponse.ts +83 -0
  309. package/src/models/RightsizingClusterResponse.ts +83 -0
  310. package/src/models/RightsizingClusterUtilization.ts +185 -0
  311. package/src/models/RightsizingCollectRequest.ts +123 -0
  312. package/src/models/RightsizingMetricStats.ts +111 -0
  313. package/src/models/RightsizingReport.ts +146 -0
  314. package/src/models/RightsizingReportListResponse.ts +83 -0
  315. package/src/models/RightsizingReportSummary.ts +129 -0
  316. package/src/models/RightsizingVMReport.ts +101 -0
  317. package/src/models/StartInspectionRequest.ts +17 -1
  318. package/src/models/StopForecasterPair202Response.ts +83 -0
  319. package/src/models/UpdateGroupRequest.ts +0 -8
  320. package/src/models/UpdateLabelVMsRequest.ts +73 -0
  321. package/src/models/VMFilterOptionsResponse.ts +102 -0
  322. package/src/models/VMLabelsResponse.ts +75 -0
  323. package/src/models/VMNIC.ts +16 -0
  324. package/src/models/VcenterCredentials.ts +16 -0
  325. package/src/models/VirtualMachine.ts +68 -4
  326. package/src/models/VirtualMachineDetail.ts +31 -0
  327. package/src/models/VirtualMachineUpdateRequest.ts +73 -0
  328. package/src/models/VmInspectionStatus.ts +9 -0
  329. package/src/models/VmUtilizationDetails.ts +192 -0
  330. package/src/models/index.ts +37 -0
  331. package/src/runtime.ts +1 -2
@@ -0,0 +1,54 @@
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 ClusterFeatures
16
+ */
17
+ export interface ClusterFeatures {
18
+ /**
19
+ * Whether DRS (Distributed Resource Scheduler) is enabled for this cluster
20
+ * @type {boolean}
21
+ * @memberof ClusterFeatures
22
+ */
23
+ drsEnabled?: boolean;
24
+ /**
25
+ * DRS automation mode for the cluster
26
+ * @type {ClusterFeaturesDrsModeEnum}
27
+ * @memberof ClusterFeatures
28
+ */
29
+ drsMode?: ClusterFeaturesDrsModeEnum;
30
+ /**
31
+ * Whether Storage DRS is enabled for this cluster
32
+ * @type {boolean}
33
+ * @memberof ClusterFeatures
34
+ */
35
+ storageDrsEnabled?: boolean;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const ClusterFeaturesDrsModeEnum: {
41
+ readonly FullyAutomated: "Fully Automated";
42
+ readonly PartiallyAutomated: "Partially Automated";
43
+ readonly Manual: "Manual";
44
+ readonly None: "None";
45
+ };
46
+ export type ClusterFeaturesDrsModeEnum = typeof ClusterFeaturesDrsModeEnum[keyof typeof ClusterFeaturesDrsModeEnum];
47
+ /**
48
+ * Check if a given object implements the ClusterFeatures interface.
49
+ */
50
+ export declare function instanceOfClusterFeatures(value: object): value is ClusterFeatures;
51
+ export declare function ClusterFeaturesFromJSON(json: any): ClusterFeatures;
52
+ export declare function ClusterFeaturesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterFeatures;
53
+ export declare function ClusterFeaturesToJSON(json: any): ClusterFeatures;
54
+ export declare function ClusterFeaturesToJSONTyped(value?: ClusterFeatures | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const ClusterFeaturesDrsModeEnum = {
18
+ FullyAutomated: 'Fully Automated',
19
+ PartiallyAutomated: 'Partially Automated',
20
+ Manual: 'Manual',
21
+ None: 'None'
22
+ };
23
+ /**
24
+ * Check if a given object implements the ClusterFeatures interface.
25
+ */
26
+ export function instanceOfClusterFeatures(value) {
27
+ return true;
28
+ }
29
+ export function ClusterFeaturesFromJSON(json) {
30
+ return ClusterFeaturesFromJSONTyped(json, false);
31
+ }
32
+ export function ClusterFeaturesFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'drsEnabled': json['drsEnabled'] == null ? undefined : json['drsEnabled'],
38
+ 'drsMode': json['drsMode'] == null ? undefined : json['drsMode'],
39
+ 'storageDrsEnabled': json['storageDrsEnabled'] == null ? undefined : json['storageDrsEnabled'],
40
+ };
41
+ }
42
+ export function ClusterFeaturesToJSON(json) {
43
+ return ClusterFeaturesToJSONTyped(json, false);
44
+ }
45
+ export function ClusterFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'drsEnabled': value['drsEnabled'],
51
+ 'drsMode': value['drsMode'],
52
+ 'storageDrsEnabled': value['storageDrsEnabled'],
53
+ };
54
+ }
@@ -0,0 +1,68 @@
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 ClusterUtilization
16
+ */
17
+ export interface ClusterUtilization {
18
+ /**
19
+ * Average CPU utilization percentage (0-100)
20
+ * @type {number}
21
+ * @memberof ClusterUtilization
22
+ */
23
+ cpu_avg: number;
24
+ /**
25
+ * 95th percentile CPU utilization percentage (0-100)
26
+ * @type {number}
27
+ * @memberof ClusterUtilization
28
+ */
29
+ cpu_p95: number;
30
+ /**
31
+ * Maximum CPU utilization percentage (0-100)
32
+ * @type {number}
33
+ * @memberof ClusterUtilization
34
+ */
35
+ cpu_max: number;
36
+ /**
37
+ * Average memory utilization percentage (0-100)
38
+ * @type {number}
39
+ * @memberof ClusterUtilization
40
+ */
41
+ mem_avg: number;
42
+ /**
43
+ * 95th percentile memory utilization percentage (0-100)
44
+ * @type {number}
45
+ * @memberof ClusterUtilization
46
+ */
47
+ mem_p95: number;
48
+ /**
49
+ * Maximum memory utilization percentage (0-100)
50
+ * @type {number}
51
+ * @memberof ClusterUtilization
52
+ */
53
+ mem_max: number;
54
+ /**
55
+ * Data coverage confidence percentage (0-100), calculated as vCPU-weighted coverage
56
+ * @type {number}
57
+ * @memberof ClusterUtilization
58
+ */
59
+ confidence: number;
60
+ }
61
+ /**
62
+ * Check if a given object implements the ClusterUtilization interface.
63
+ */
64
+ export declare function instanceOfClusterUtilization(value: object): value is ClusterUtilization;
65
+ export declare function ClusterUtilizationFromJSON(json: any): ClusterUtilization;
66
+ export declare function ClusterUtilizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterUtilization;
67
+ export declare function ClusterUtilizationToJSON(json: any): ClusterUtilization;
68
+ export declare function ClusterUtilizationToJSONTyped(value?: ClusterUtilization | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ClusterUtilization interface.
16
+ */
17
+ export function instanceOfClusterUtilization(value) {
18
+ if (!('cpu_avg' in value) || value['cpu_avg'] === undefined)
19
+ return false;
20
+ if (!('cpu_p95' in value) || value['cpu_p95'] === undefined)
21
+ return false;
22
+ if (!('cpu_max' in value) || value['cpu_max'] === undefined)
23
+ return false;
24
+ if (!('mem_avg' in value) || value['mem_avg'] === undefined)
25
+ return false;
26
+ if (!('mem_p95' in value) || value['mem_p95'] === undefined)
27
+ return false;
28
+ if (!('mem_max' in value) || value['mem_max'] === undefined)
29
+ return false;
30
+ if (!('confidence' in value) || value['confidence'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function ClusterUtilizationFromJSON(json) {
35
+ return ClusterUtilizationFromJSONTyped(json, false);
36
+ }
37
+ export function ClusterUtilizationFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'cpu_avg': json['cpu_avg'],
43
+ 'cpu_p95': json['cpu_p95'],
44
+ 'cpu_max': json['cpu_max'],
45
+ 'mem_avg': json['mem_avg'],
46
+ 'mem_p95': json['mem_p95'],
47
+ 'mem_max': json['mem_max'],
48
+ 'confidence': json['confidence'],
49
+ };
50
+ }
51
+ export function ClusterUtilizationToJSON(json) {
52
+ return ClusterUtilizationToJSONTyped(json, false);
53
+ }
54
+ export function ClusterUtilizationToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'cpu_avg': value['cpu_avg'],
60
+ 'cpu_p95': value['cpu_p95'],
61
+ 'cpu_max': value['cpu_max'],
62
+ 'mem_avg': value['mem_avg'],
63
+ 'mem_p95': value['mem_p95'],
64
+ 'mem_max': value['mem_max'],
65
+ 'confidence': value['confidence'],
66
+ };
67
+ }
@@ -33,6 +33,18 @@ export interface CollectorStartRequest {
33
33
  * @memberof CollectorStartRequest
34
34
  */
35
35
  password: string;
36
+ /**
37
+ * PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
38
+ * @type {string}
39
+ * @memberof CollectorStartRequest
40
+ */
41
+ cacert?: string;
42
+ /**
43
+ * When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
44
+ * @type {boolean}
45
+ * @memberof CollectorStartRequest
46
+ */
47
+ skipTls?: boolean;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the CollectorStartRequest interface.
@@ -34,6 +34,8 @@ export function CollectorStartRequestFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'url': json['url'],
35
35
  'username': json['username'],
36
36
  'password': json['password'],
37
+ 'cacert': json['cacert'] == null ? undefined : json['cacert'],
38
+ 'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
37
39
  };
38
40
  }
39
41
  export function CollectorStartRequestToJSON(json) {
@@ -47,5 +49,7 @@ export function CollectorStartRequestToJSONTyped(value, ignoreDiscriminator = fa
47
49
  'url': value['url'],
48
50
  'username': value['username'],
49
51
  'password': value['password'],
52
+ 'cacert': value['cacert'],
53
+ 'skipTls': value['skipTls'],
50
54
  };
51
55
  }
@@ -33,12 +33,6 @@ export interface CreateGroupRequest {
33
33
  * @memberof CreateGroupRequest
34
34
  */
35
35
  filter: string;
36
- /**
37
- * Tags to apply to matching VMs (only alphanumeric, underscore, and dot allowed)
38
- * @type {Array<string>}
39
- * @memberof CreateGroupRequest
40
- */
41
- tags?: Array<string>;
42
36
  }
43
37
  /**
44
38
  * Check if a given object implements the CreateGroupRequest interface.
@@ -32,7 +32,6 @@ export function CreateGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'name': json['name'],
33
33
  'description': json['description'] == null ? undefined : json['description'],
34
34
  'filter': json['filter'],
35
- 'tags': json['tags'] == null ? undefined : json['tags'],
36
35
  };
37
36
  }
38
37
  export function CreateGroupRequestToJSON(json) {
@@ -46,6 +45,5 @@ export function CreateGroupRequestToJSONTyped(value, ignoreDiscriminator = false
46
45
  'name': value['name'],
47
46
  'description': value['description'],
48
47
  'filter': value['filter'],
49
- 'tags': value['tags'],
50
48
  };
51
49
  }
@@ -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 CredentialStatus
16
+ */
17
+ export interface CredentialStatus {
18
+ /**
19
+ * vCenter URL the credentials belong to
20
+ * @type {string}
21
+ * @memberof CredentialStatus
22
+ */
23
+ url: string;
24
+ /**
25
+ * vCenter username
26
+ * @type {string}
27
+ * @memberof CredentialStatus
28
+ */
29
+ username: string;
30
+ /**
31
+ * Whether credentials are stored for the returned URL.
32
+ * @type {boolean}
33
+ * @memberof CredentialStatus
34
+ */
35
+ valid: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the CredentialStatus interface.
39
+ */
40
+ export declare function instanceOfCredentialStatus(value: object): value is CredentialStatus;
41
+ export declare function CredentialStatusFromJSON(json: any): CredentialStatus;
42
+ export declare function CredentialStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialStatus;
43
+ export declare function CredentialStatusToJSON(json: any): CredentialStatus;
44
+ export declare function CredentialStatusToJSONTyped(value?: CredentialStatus | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the CredentialStatus interface.
16
+ */
17
+ export function instanceOfCredentialStatus(value) {
18
+ if (!('url' in value) || value['url'] === undefined)
19
+ return false;
20
+ if (!('username' in value) || value['username'] === undefined)
21
+ return false;
22
+ if (!('valid' in value) || value['valid'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function CredentialStatusFromJSON(json) {
27
+ return CredentialStatusFromJSONTyped(json, false);
28
+ }
29
+ export function CredentialStatusFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'url': json['url'],
35
+ 'username': json['username'],
36
+ 'valid': json['valid'],
37
+ };
38
+ }
39
+ export function CredentialStatusToJSON(json) {
40
+ return CredentialStatusToJSONTyped(json, false);
41
+ }
42
+ export function CredentialStatusToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'url': value['url'],
48
+ 'username': value['username'],
49
+ 'valid': value['valid'],
50
+ };
51
+ }
@@ -0,0 +1,90 @@
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 DatastoreDetail
16
+ */
17
+ export interface DatastoreDetail {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DatastoreDetail
22
+ */
23
+ name: string;
24
+ /**
25
+ * Datastore type (VMFS, NFS, VVol, OTHER)
26
+ * @type {string}
27
+ * @memberof DatastoreDetail
28
+ */
29
+ type: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof DatastoreDetail
34
+ */
35
+ capacityGb: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof DatastoreDetail
40
+ */
41
+ freeGb: number;
42
+ /**
43
+ * SCSI vendor string (e.g., NETAPP, PURE, DGC)
44
+ * @type {string}
45
+ * @memberof DatastoreDetail
46
+ */
47
+ storageVendor?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof DatastoreDetail
52
+ */
53
+ storageModel?: string;
54
+ /**
55
+ * Derived from NAA device ID prefix. Same value means same physical storage array. Absent for NFS and local datastores.
56
+ * @type {string}
57
+ * @memberof DatastoreDetail
58
+ */
59
+ storageArrayId?: string;
60
+ /**
61
+ * NAA device identifiers for the datastore's backing LUNs
62
+ * @type {Array<string>}
63
+ * @memberof DatastoreDetail
64
+ */
65
+ naaDevices?: Array<string>;
66
+ /**
67
+ * Intrinsic offload capabilities of this datastore based on vendor support
68
+ * @type {Array<DatastoreDetailCapabilitiesEnum>}
69
+ * @memberof DatastoreDetail
70
+ */
71
+ capabilities?: Array<DatastoreDetailCapabilitiesEnum>;
72
+ }
73
+ /**
74
+ * @export
75
+ */
76
+ export declare const DatastoreDetailCapabilitiesEnum: {
77
+ readonly CopyOffload: "copy-offload";
78
+ readonly Xcopy: "xcopy";
79
+ readonly Rdm: "rdm";
80
+ readonly Vvol: "vvol";
81
+ };
82
+ export type DatastoreDetailCapabilitiesEnum = typeof DatastoreDetailCapabilitiesEnum[keyof typeof DatastoreDetailCapabilitiesEnum];
83
+ /**
84
+ * Check if a given object implements the DatastoreDetail interface.
85
+ */
86
+ export declare function instanceOfDatastoreDetail(value: object): value is DatastoreDetail;
87
+ export declare function DatastoreDetailFromJSON(json: any): DatastoreDetail;
88
+ export declare function DatastoreDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastoreDetail;
89
+ export declare function DatastoreDetailToJSON(json: any): DatastoreDetail;
90
+ export declare function DatastoreDetailToJSONTyped(value?: DatastoreDetail | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const DatastoreDetailCapabilitiesEnum = {
18
+ CopyOffload: 'copy-offload',
19
+ Xcopy: 'xcopy',
20
+ Rdm: 'rdm',
21
+ Vvol: 'vvol'
22
+ };
23
+ /**
24
+ * Check if a given object implements the DatastoreDetail interface.
25
+ */
26
+ export function instanceOfDatastoreDetail(value) {
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('type' in value) || value['type'] === undefined)
30
+ return false;
31
+ if (!('capacityGb' in value) || value['capacityGb'] === undefined)
32
+ return false;
33
+ if (!('freeGb' in value) || value['freeGb'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ export function DatastoreDetailFromJSON(json) {
38
+ return DatastoreDetailFromJSONTyped(json, false);
39
+ }
40
+ export function DatastoreDetailFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'name': json['name'],
46
+ 'type': json['type'],
47
+ 'capacityGb': json['capacityGb'],
48
+ 'freeGb': json['freeGb'],
49
+ 'storageVendor': json['storageVendor'] == null ? undefined : json['storageVendor'],
50
+ 'storageModel': json['storageModel'] == null ? undefined : json['storageModel'],
51
+ 'storageArrayId': json['storageArrayId'] == null ? undefined : json['storageArrayId'],
52
+ 'naaDevices': json['naaDevices'] == null ? undefined : json['naaDevices'],
53
+ 'capabilities': json['capabilities'] == null ? undefined : json['capabilities'],
54
+ };
55
+ }
56
+ export function DatastoreDetailToJSON(json) {
57
+ return DatastoreDetailToJSONTyped(json, false);
58
+ }
59
+ export function DatastoreDetailToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'name': value['name'],
65
+ 'type': value['type'],
66
+ 'capacityGb': value['capacityGb'],
67
+ 'freeGb': value['freeGb'],
68
+ 'storageVendor': value['storageVendor'],
69
+ 'storageModel': value['storageModel'],
70
+ 'storageArrayId': value['storageArrayId'],
71
+ 'naaDevices': value['naaDevices'],
72
+ 'capabilities': value['capabilities'],
73
+ };
74
+ }
@@ -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 DatastorePair
16
+ */
17
+ export interface DatastorePair {
18
+ /**
19
+ * User-defined name for this pair
20
+ * @type {string}
21
+ * @memberof DatastorePair
22
+ */
23
+ name: string;
24
+ /**
25
+ * Source datastore name
26
+ * @type {string}
27
+ * @memberof DatastorePair
28
+ */
29
+ sourceDatastore: string;
30
+ /**
31
+ * Target datastore name
32
+ * @type {string}
33
+ * @memberof DatastorePair
34
+ */
35
+ targetDatastore: string;
36
+ /**
37
+ * Optional ESXi host name to pin the benchmark to. If omitted, a host common to both datastores is selected automatically.
38
+ * @type {string}
39
+ * @memberof DatastorePair
40
+ */
41
+ host?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the DatastorePair interface.
45
+ */
46
+ export declare function instanceOfDatastorePair(value: object): value is DatastorePair;
47
+ export declare function DatastorePairFromJSON(json: any): DatastorePair;
48
+ export declare function DatastorePairFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastorePair;
49
+ export declare function DatastorePairToJSON(json: any): DatastorePair;
50
+ export declare function DatastorePairToJSONTyped(value?: DatastorePair | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the DatastorePair interface.
16
+ */
17
+ export function instanceOfDatastorePair(value) {
18
+ if (!('name' in value) || value['name'] === undefined)
19
+ return false;
20
+ if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
21
+ return false;
22
+ if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function DatastorePairFromJSON(json) {
27
+ return DatastorePairFromJSONTyped(json, false);
28
+ }
29
+ export function DatastorePairFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'name': json['name'],
35
+ 'sourceDatastore': json['sourceDatastore'],
36
+ 'targetDatastore': json['targetDatastore'],
37
+ 'host': json['host'] == null ? undefined : json['host'],
38
+ };
39
+ }
40
+ export function DatastorePairToJSON(json) {
41
+ return DatastorePairToJSONTyped(json, false);
42
+ }
43
+ export function DatastorePairToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'name': value['name'],
49
+ 'sourceDatastore': value['sourceDatastore'],
50
+ 'targetDatastore': value['targetDatastore'],
51
+ 'host': value['host'],
52
+ };
53
+ }