@openshift-migration-advisor/agent-sdk 0.12.0-1f1dc16fb9e5 → 0.12.0-4e95135f8529

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 (217) hide show
  1. package/.openapi-generator/FILES +28 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +33 -5
  4. package/dist/apis/DefaultApi.d.ts +546 -39
  5. package/dist/apis/DefaultApi.js +591 -30
  6. package/dist/esm/apis/DefaultApi.d.ts +546 -39
  7. package/dist/esm/apis/DefaultApi.js +591 -30
  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/ClusterFeatures.d.ts +54 -0
  17. package/dist/esm/models/ClusterFeatures.js +54 -0
  18. package/dist/esm/models/ClusterUtilization.d.ts +68 -0
  19. package/dist/esm/models/ClusterUtilization.js +67 -0
  20. package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
  21. package/dist/esm/models/CollectorStartRequest.js +4 -0
  22. package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
  23. package/dist/esm/models/CreateGroupRequest.js +0 -2
  24. package/dist/esm/models/CredentialStatus.d.ts +38 -0
  25. package/dist/esm/models/CredentialStatus.js +47 -0
  26. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
  27. package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
  28. package/dist/esm/models/Group.d.ts +0 -6
  29. package/dist/esm/models/Group.js +0 -2
  30. package/dist/esm/models/GroupResponse.d.ts +7 -0
  31. package/dist/esm/models/GroupResponse.js +3 -0
  32. package/dist/esm/models/InspectorStatus.d.ts +0 -17
  33. package/dist/esm/models/InspectorStatus.js +1 -10
  34. package/dist/esm/models/Inventory.d.ts +7 -1
  35. package/dist/esm/models/Inventory.js +5 -3
  36. package/dist/esm/models/InventoryData.d.ts +14 -0
  37. package/dist/esm/models/InventoryData.js +6 -0
  38. package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
  39. package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
  40. package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
  41. package/dist/esm/models/RightsizingClusterResponse.js +48 -0
  42. package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
  43. package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
  44. package/dist/esm/models/RightsizingCollectRequest.d.ts +6 -6
  45. package/dist/esm/models/RightsizingCollectRequest.js +12 -12
  46. package/dist/esm/models/RightsizingMetricStats.d.ts +1 -1
  47. package/dist/esm/models/RightsizingMetricStats.js +3 -3
  48. package/dist/esm/models/RightsizingReport.d.ts +6 -6
  49. package/dist/esm/models/RightsizingReport.js +18 -18
  50. package/dist/esm/models/RightsizingReportSummary.d.ts +6 -6
  51. package/dist/esm/models/RightsizingReportSummary.js +18 -18
  52. package/dist/esm/models/StartInspectionRequest.d.ts +8 -1
  53. package/dist/esm/models/StartInspectionRequest.js +5 -0
  54. package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
  55. package/dist/esm/models/UpdateGroupRequest.js +0 -2
  56. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
  57. package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
  58. package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
  59. package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
  60. package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
  61. package/dist/esm/models/VMLabelsResponse.js +47 -0
  62. package/dist/esm/models/VMNIC.d.ts +12 -0
  63. package/dist/esm/models/VMNIC.js +4 -0
  64. package/dist/esm/models/VcenterCredentials.d.ts +12 -0
  65. package/dist/esm/models/VcenterCredentials.js +4 -0
  66. package/dist/esm/models/VirtualMachine.d.ts +30 -6
  67. package/dist/esm/models/VirtualMachine.js +18 -10
  68. package/dist/esm/models/VirtualMachineDetail.d.ts +19 -0
  69. package/dist/esm/models/VirtualMachineDetail.js +7 -0
  70. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
  71. package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
  72. package/dist/esm/models/VmUtilizationDetails.d.ts +27 -9
  73. package/dist/esm/models/VmUtilizationDetails.js +39 -27
  74. package/dist/esm/models/index.d.ts +14 -0
  75. package/dist/esm/models/index.js +14 -0
  76. package/dist/esm/runtime.js +2 -1
  77. package/dist/models/AgentStatus.d.ts +1 -1
  78. package/dist/models/AgentStatus.js +3 -3
  79. package/dist/models/ApplicationListResponse.d.ts +33 -0
  80. package/dist/models/ApplicationListResponse.js +51 -0
  81. package/dist/models/ApplicationOverview.d.ts +51 -0
  82. package/dist/models/ApplicationOverview.js +63 -0
  83. package/dist/models/ApplicationVM.d.ts +38 -0
  84. package/dist/models/ApplicationVM.js +54 -0
  85. package/dist/models/ClusterFeatures.d.ts +54 -0
  86. package/dist/models/ClusterFeatures.js +62 -0
  87. package/dist/models/ClusterUtilization.d.ts +68 -0
  88. package/dist/models/ClusterUtilization.js +74 -0
  89. package/dist/models/CollectorStartRequest.d.ts +12 -0
  90. package/dist/models/CollectorStartRequest.js +4 -0
  91. package/dist/models/CreateGroupRequest.d.ts +0 -6
  92. package/dist/models/CreateGroupRequest.js +0 -2
  93. package/dist/models/CredentialStatus.d.ts +38 -0
  94. package/dist/models/CredentialStatus.js +54 -0
  95. package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
  96. package/dist/models/DeleteLabelGloballyResponse.js +54 -0
  97. package/dist/models/Group.d.ts +0 -6
  98. package/dist/models/Group.js +0 -2
  99. package/dist/models/GroupResponse.d.ts +7 -0
  100. package/dist/models/GroupResponse.js +3 -0
  101. package/dist/models/InspectorStatus.d.ts +0 -17
  102. package/dist/models/InspectorStatus.js +1 -10
  103. package/dist/models/Inventory.d.ts +7 -1
  104. package/dist/models/Inventory.js +5 -3
  105. package/dist/models/InventoryData.d.ts +14 -0
  106. package/dist/models/InventoryData.js +6 -0
  107. package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
  108. package/dist/models/RightsizingClusterListResponse.js +55 -0
  109. package/dist/models/RightsizingClusterResponse.d.ts +39 -0
  110. package/dist/models/RightsizingClusterResponse.js +55 -0
  111. package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
  112. package/dist/models/RightsizingClusterUtilization.js +102 -0
  113. package/dist/models/RightsizingCollectRequest.d.ts +6 -6
  114. package/dist/models/RightsizingCollectRequest.js +12 -12
  115. package/dist/models/RightsizingMetricStats.d.ts +1 -1
  116. package/dist/models/RightsizingMetricStats.js +3 -3
  117. package/dist/models/RightsizingReport.d.ts +6 -6
  118. package/dist/models/RightsizingReport.js +18 -18
  119. package/dist/models/RightsizingReportSummary.d.ts +6 -6
  120. package/dist/models/RightsizingReportSummary.js +18 -18
  121. package/dist/models/StartInspectionRequest.d.ts +8 -1
  122. package/dist/models/StartInspectionRequest.js +5 -0
  123. package/dist/models/UpdateGroupRequest.d.ts +0 -6
  124. package/dist/models/UpdateGroupRequest.js +0 -2
  125. package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
  126. package/dist/models/UpdateLabelVMsRequest.js +50 -0
  127. package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
  128. package/dist/models/VMFilterOptionsResponse.js +66 -0
  129. package/dist/models/VMLabelsResponse.d.ts +38 -0
  130. package/dist/models/VMLabelsResponse.js +54 -0
  131. package/dist/models/VMNIC.d.ts +12 -0
  132. package/dist/models/VMNIC.js +4 -0
  133. package/dist/models/VcenterCredentials.d.ts +12 -0
  134. package/dist/models/VcenterCredentials.js +4 -0
  135. package/dist/models/VirtualMachine.d.ts +30 -6
  136. package/dist/models/VirtualMachine.js +18 -10
  137. package/dist/models/VirtualMachineDetail.d.ts +19 -0
  138. package/dist/models/VirtualMachineDetail.js +7 -0
  139. package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
  140. package/dist/models/VirtualMachineUpdateRequest.js +50 -0
  141. package/dist/models/VmUtilizationDetails.d.ts +27 -9
  142. package/dist/models/VmUtilizationDetails.js +39 -27
  143. package/dist/models/index.d.ts +14 -0
  144. package/dist/models/index.js +14 -0
  145. package/dist/runtime.js +2 -1
  146. package/docs/AgentStatus.md +2 -2
  147. package/docs/ApplicationListResponse.md +34 -0
  148. package/docs/ApplicationOverview.md +40 -0
  149. package/docs/ApplicationVM.md +36 -0
  150. package/docs/ClusterFeatures.md +38 -0
  151. package/docs/ClusterUtilization.md +46 -0
  152. package/docs/CollectorStartRequest.md +4 -0
  153. package/docs/CreateGroupRequest.md +0 -2
  154. package/docs/CredentialStatus.md +36 -0
  155. package/docs/DefaultApi.md +1127 -197
  156. package/docs/DeleteLabelGloballyResponse.md +36 -0
  157. package/docs/GetInventory200Response.md +4 -2
  158. package/docs/Group.md +0 -2
  159. package/docs/GroupResponse.md +2 -0
  160. package/docs/InspectorStatus.md +0 -4
  161. package/docs/Inventory.md +4 -2
  162. package/docs/InventoryData.md +4 -0
  163. package/docs/RightsizingClusterListResponse.md +36 -0
  164. package/docs/RightsizingClusterResponse.md +36 -0
  165. package/docs/RightsizingClusterUtilization.md +60 -0
  166. package/docs/RightsizingCollectRequest.md +12 -12
  167. package/docs/RightsizingMetricStats.md +2 -2
  168. package/docs/RightsizingReport.md +12 -12
  169. package/docs/RightsizingReportSummary.md +12 -12
  170. package/docs/StartInspectionRequest.md +3 -1
  171. package/docs/UpdateGroupRequest.md +0 -2
  172. package/docs/UpdateLabelVMsRequest.md +36 -0
  173. package/docs/VMFilterOptionsResponse.md +42 -0
  174. package/docs/VMLabelsResponse.md +36 -0
  175. package/docs/VMNIC.md +4 -0
  176. package/docs/VcenterCredentials.md +4 -0
  177. package/docs/VirtualMachine.md +18 -10
  178. package/docs/VirtualMachineDetail.md +6 -0
  179. package/docs/VirtualMachineUpdateRequest.md +36 -0
  180. package/docs/VmUtilizationDetails.md +24 -18
  181. package/package.json +1 -1
  182. package/src/apis/DefaultApi.ts +1136 -93
  183. package/src/models/AgentStatus.ts +4 -4
  184. package/src/models/ApplicationListResponse.ts +74 -0
  185. package/src/models/ApplicationOverview.ts +101 -0
  186. package/src/models/ApplicationVM.ts +75 -0
  187. package/src/models/ClusterFeatures.ts +94 -0
  188. package/src/models/ClusterUtilization.ts +120 -0
  189. package/src/models/CollectorStartRequest.ts +16 -0
  190. package/src/models/CreateGroupRequest.ts +0 -8
  191. package/src/models/CredentialStatus.ts +75 -0
  192. package/src/models/DeleteLabelGloballyResponse.ts +75 -0
  193. package/src/models/Group.ts +0 -8
  194. package/src/models/GroupResponse.ts +15 -0
  195. package/src/models/InspectorStatus.ts +1 -28
  196. package/src/models/Inventory.ts +12 -4
  197. package/src/models/InventoryData.ts +30 -0
  198. package/src/models/RightsizingClusterListResponse.ts +83 -0
  199. package/src/models/RightsizingClusterResponse.ts +83 -0
  200. package/src/models/RightsizingClusterUtilization.ts +185 -0
  201. package/src/models/RightsizingCollectRequest.ts +18 -18
  202. package/src/models/RightsizingMetricStats.ts +4 -4
  203. package/src/models/RightsizingReport.ts +24 -24
  204. package/src/models/RightsizingReportSummary.ts +24 -24
  205. package/src/models/StartInspectionRequest.ts +18 -1
  206. package/src/models/UpdateGroupRequest.ts +0 -8
  207. package/src/models/UpdateLabelVMsRequest.ts +73 -0
  208. package/src/models/VMFilterOptionsResponse.ts +102 -0
  209. package/src/models/VMLabelsResponse.ts +75 -0
  210. package/src/models/VMNIC.ts +16 -0
  211. package/src/models/VcenterCredentials.ts +16 -0
  212. package/src/models/VirtualMachine.ts +48 -16
  213. package/src/models/VirtualMachineDetail.ts +31 -0
  214. package/src/models/VirtualMachineUpdateRequest.ts +73 -0
  215. package/src/models/VmUtilizationDetails.ts +63 -36
  216. package/src/models/index.ts +14 -0
  217. package/src/runtime.ts +1 -1
@@ -26,55 +26,73 @@ export interface VmUtilizationDetails {
26
26
  * @type {string}
27
27
  * @memberof VmUtilizationDetails
28
28
  */
29
- vmName: string;
29
+ vm_name: string;
30
+ /**
31
+ * Number of vCPUs provisioned for this VM
32
+ * @type {number}
33
+ * @memberof VmUtilizationDetails
34
+ */
35
+ provisioned_cpus: number;
36
+ /**
37
+ * Provisioned RAM (MB)
38
+ * @type {number}
39
+ * @memberof VmUtilizationDetails
40
+ */
41
+ provisioned_memory_mb: number;
42
+ /**
43
+ * Provisioned disk (KB)
44
+ * @type {number}
45
+ * @memberof VmUtilizationDetails
46
+ */
47
+ provisioned_disk_kb: number;
30
48
  /**
31
49
  * CPU utilization average (%)
32
50
  * @type {number}
33
51
  * @memberof VmUtilizationDetails
34
52
  */
35
- cpuAvg: number;
53
+ cpu_avg: number;
36
54
  /**
37
55
  *
38
56
  * @type {number}
39
57
  * @memberof VmUtilizationDetails
40
58
  */
41
- cpuP95: number;
59
+ cpu_p95: number;
42
60
  /**
43
61
  *
44
62
  * @type {number}
45
63
  * @memberof VmUtilizationDetails
46
64
  */
47
- cpuMax: number;
65
+ cpu_max: number;
48
66
  /**
49
67
  *
50
68
  * @type {number}
51
69
  * @memberof VmUtilizationDetails
52
70
  */
53
- cpuLatest: number;
71
+ cpu_latest: number;
54
72
  /**
55
73
  * Memory utilization average (%)
56
74
  * @type {number}
57
75
  * @memberof VmUtilizationDetails
58
76
  */
59
- memAvg: number;
77
+ mem_avg: number;
60
78
  /**
61
79
  *
62
80
  * @type {number}
63
81
  * @memberof VmUtilizationDetails
64
82
  */
65
- memP95: number;
83
+ mem_p95: number;
66
84
  /**
67
85
  *
68
86
  * @type {number}
69
87
  * @memberof VmUtilizationDetails
70
88
  */
71
- memMax: number;
89
+ mem_max: number;
72
90
  /**
73
91
  *
74
92
  * @type {number}
75
93
  * @memberof VmUtilizationDetails
76
94
  */
77
- memLatest: number;
95
+ mem_latest: number;
78
96
  /**
79
97
  * Disk utilization (%)
80
98
  * @type {number}
@@ -17,23 +17,29 @@
17
17
  export function instanceOfVmUtilizationDetails(value) {
18
18
  if (!('moid' in value) || value['moid'] === undefined)
19
19
  return false;
20
- if (!('vmName' in value) || value['vmName'] === undefined)
20
+ if (!('vm_name' in value) || value['vm_name'] === undefined)
21
21
  return false;
22
- if (!('cpuAvg' in value) || value['cpuAvg'] === undefined)
22
+ if (!('provisioned_cpus' in value) || value['provisioned_cpus'] === undefined)
23
23
  return false;
24
- if (!('cpuP95' in value) || value['cpuP95'] === undefined)
24
+ if (!('provisioned_memory_mb' in value) || value['provisioned_memory_mb'] === undefined)
25
25
  return false;
26
- if (!('cpuMax' in value) || value['cpuMax'] === undefined)
26
+ if (!('provisioned_disk_kb' in value) || value['provisioned_disk_kb'] === undefined)
27
27
  return false;
28
- if (!('cpuLatest' in value) || value['cpuLatest'] === undefined)
28
+ if (!('cpu_avg' in value) || value['cpu_avg'] === undefined)
29
29
  return false;
30
- if (!('memAvg' in value) || value['memAvg'] === undefined)
30
+ if (!('cpu_p95' in value) || value['cpu_p95'] === undefined)
31
31
  return false;
32
- if (!('memP95' in value) || value['memP95'] === undefined)
32
+ if (!('cpu_max' in value) || value['cpu_max'] === undefined)
33
33
  return false;
34
- if (!('memMax' in value) || value['memMax'] === undefined)
34
+ if (!('cpu_latest' in value) || value['cpu_latest'] === undefined)
35
35
  return false;
36
- if (!('memLatest' in value) || value['memLatest'] === undefined)
36
+ if (!('mem_avg' in value) || value['mem_avg'] === undefined)
37
+ return false;
38
+ if (!('mem_p95' in value) || value['mem_p95'] === undefined)
39
+ return false;
40
+ if (!('mem_max' in value) || value['mem_max'] === undefined)
41
+ return false;
42
+ if (!('mem_latest' in value) || value['mem_latest'] === undefined)
37
43
  return false;
38
44
  if (!('disk' in value) || value['disk'] === undefined)
39
45
  return false;
@@ -50,15 +56,18 @@ export function VmUtilizationDetailsFromJSONTyped(json, ignoreDiscriminator) {
50
56
  }
51
57
  return {
52
58
  'moid': json['moid'],
53
- 'vmName': json['vm_name'],
54
- 'cpuAvg': json['cpu_avg'],
55
- 'cpuP95': json['cpu_p95'],
56
- 'cpuMax': json['cpu_max'],
57
- 'cpuLatest': json['cpu_latest'],
58
- 'memAvg': json['mem_avg'],
59
- 'memP95': json['mem_p95'],
60
- 'memMax': json['mem_max'],
61
- 'memLatest': json['mem_latest'],
59
+ 'vm_name': json['vm_name'],
60
+ 'provisioned_cpus': json['provisioned_cpus'],
61
+ 'provisioned_memory_mb': json['provisioned_memory_mb'],
62
+ 'provisioned_disk_kb': json['provisioned_disk_kb'],
63
+ 'cpu_avg': json['cpu_avg'],
64
+ 'cpu_p95': json['cpu_p95'],
65
+ 'cpu_max': json['cpu_max'],
66
+ 'cpu_latest': json['cpu_latest'],
67
+ 'mem_avg': json['mem_avg'],
68
+ 'mem_p95': json['mem_p95'],
69
+ 'mem_max': json['mem_max'],
70
+ 'mem_latest': json['mem_latest'],
62
71
  'disk': json['disk'],
63
72
  'confidence': json['confidence'],
64
73
  };
@@ -72,15 +81,18 @@ export function VmUtilizationDetailsToJSONTyped(value, ignoreDiscriminator = fal
72
81
  }
73
82
  return {
74
83
  'moid': value['moid'],
75
- 'vm_name': value['vmName'],
76
- 'cpu_avg': value['cpuAvg'],
77
- 'cpu_p95': value['cpuP95'],
78
- 'cpu_max': value['cpuMax'],
79
- 'cpu_latest': value['cpuLatest'],
80
- 'mem_avg': value['memAvg'],
81
- 'mem_p95': value['memP95'],
82
- 'mem_max': value['memMax'],
83
- 'mem_latest': value['memLatest'],
84
+ 'vm_name': value['vm_name'],
85
+ 'provisioned_cpus': value['provisioned_cpus'],
86
+ 'provisioned_memory_mb': value['provisioned_memory_mb'],
87
+ 'provisioned_disk_kb': value['provisioned_disk_kb'],
88
+ 'cpu_avg': value['cpu_avg'],
89
+ 'cpu_p95': value['cpu_p95'],
90
+ 'cpu_max': value['cpu_max'],
91
+ 'cpu_latest': value['cpu_latest'],
92
+ 'mem_avg': value['mem_avg'],
93
+ 'mem_p95': value['mem_p95'],
94
+ 'mem_max': value['mem_max'],
95
+ 'mem_latest': value['mem_latest'],
84
96
  'disk': value['disk'],
85
97
  'confidence': value['confidence'],
86
98
  };
@@ -1,12 +1,19 @@
1
1
  export * from './AgentModeRequest.js';
2
2
  export * from './AgentStatus.js';
3
+ export * from './ApplicationListResponse.js';
4
+ export * from './ApplicationOverview.js';
5
+ export * from './ApplicationVM.js';
3
6
  export * from './BenchmarkRun.js';
7
+ export * from './ClusterFeatures.js';
8
+ export * from './ClusterUtilization.js';
4
9
  export * from './CollectorStartRequest.js';
5
10
  export * from './CollectorStatus.js';
6
11
  export * from './CreateGroupRequest.js';
12
+ export * from './CredentialStatus.js';
7
13
  export * from './Datastore.js';
8
14
  export * from './DatastoreDetail.js';
9
15
  export * from './DatastorePair.js';
16
+ export * from './DeleteLabelGloballyResponse.js';
10
17
  export * from './DiskSizeTierSummary.js';
11
18
  export * from './DiskTypeSummary.js';
12
19
  export * from './EstimateRange.js';
@@ -32,6 +39,9 @@ export * from './OsInfo.js';
32
39
  export * from './PairCapability.js';
33
40
  export * from './PairCapabilityRequest.js';
34
41
  export * from './PutForecasterCredentials403Response.js';
42
+ export * from './RightsizingClusterListResponse.js';
43
+ export * from './RightsizingClusterResponse.js';
44
+ export * from './RightsizingClusterUtilization.js';
35
45
  export * from './RightsizingCollectRequest.js';
36
46
  export * from './RightsizingMetricStats.js';
37
47
  export * from './RightsizingReport.js';
@@ -42,10 +52,13 @@ export * from './StartInspectionRequest.js';
42
52
  export * from './StopForecasterPair202Response.js';
43
53
  export * from './UpdateGroupRequest.js';
44
54
  export * from './UpdateInventory.js';
55
+ export * from './UpdateLabelVMsRequest.js';
45
56
  export * from './VCenter.js';
46
57
  export * from './VMDevice.js';
47
58
  export * from './VMDisk.js';
59
+ export * from './VMFilterOptionsResponse.js';
48
60
  export * from './VMIssue.js';
61
+ export * from './VMLabelsResponse.js';
49
62
  export * from './VMNIC.js';
50
63
  export * from './VMResourceBreakdown.js';
51
64
  export * from './VMs.js';
@@ -55,6 +68,7 @@ export * from './VersionInfo.js';
55
68
  export * from './VirtualMachine.js';
56
69
  export * from './VirtualMachineDetail.js';
57
70
  export * from './VirtualMachineListResponse.js';
71
+ export * from './VirtualMachineUpdateRequest.js';
58
72
  export * from './VmInspectionConcern.js';
59
73
  export * from './VmInspectionResults.js';
60
74
  export * from './VmInspectionStatus.js';
@@ -2,13 +2,20 @@
2
2
  /* eslint-disable */
3
3
  export * from './AgentModeRequest.js';
4
4
  export * from './AgentStatus.js';
5
+ export * from './ApplicationListResponse.js';
6
+ export * from './ApplicationOverview.js';
7
+ export * from './ApplicationVM.js';
5
8
  export * from './BenchmarkRun.js';
9
+ export * from './ClusterFeatures.js';
10
+ export * from './ClusterUtilization.js';
6
11
  export * from './CollectorStartRequest.js';
7
12
  export * from './CollectorStatus.js';
8
13
  export * from './CreateGroupRequest.js';
14
+ export * from './CredentialStatus.js';
9
15
  export * from './Datastore.js';
10
16
  export * from './DatastoreDetail.js';
11
17
  export * from './DatastorePair.js';
18
+ export * from './DeleteLabelGloballyResponse.js';
12
19
  export * from './DiskSizeTierSummary.js';
13
20
  export * from './DiskTypeSummary.js';
14
21
  export * from './EstimateRange.js';
@@ -34,6 +41,9 @@ export * from './OsInfo.js';
34
41
  export * from './PairCapability.js';
35
42
  export * from './PairCapabilityRequest.js';
36
43
  export * from './PutForecasterCredentials403Response.js';
44
+ export * from './RightsizingClusterListResponse.js';
45
+ export * from './RightsizingClusterResponse.js';
46
+ export * from './RightsizingClusterUtilization.js';
37
47
  export * from './RightsizingCollectRequest.js';
38
48
  export * from './RightsizingMetricStats.js';
39
49
  export * from './RightsizingReport.js';
@@ -44,10 +54,13 @@ export * from './StartInspectionRequest.js';
44
54
  export * from './StopForecasterPair202Response.js';
45
55
  export * from './UpdateGroupRequest.js';
46
56
  export * from './UpdateInventory.js';
57
+ export * from './UpdateLabelVMsRequest.js';
47
58
  export * from './VCenter.js';
48
59
  export * from './VMDevice.js';
49
60
  export * from './VMDisk.js';
61
+ export * from './VMFilterOptionsResponse.js';
50
62
  export * from './VMIssue.js';
63
+ export * from './VMLabelsResponse.js';
51
64
  export * from './VMNIC.js';
52
65
  export * from './VMResourceBreakdown.js';
53
66
  export * from './VMs.js';
@@ -57,6 +70,7 @@ export * from './VersionInfo.js';
57
70
  export * from './VirtualMachine.js';
58
71
  export * from './VirtualMachineDetail.js';
59
72
  export * from './VirtualMachineListResponse.js';
73
+ export * from './VirtualMachineUpdateRequest.js';
60
74
  export * from './VmInspectionConcern.js';
61
75
  export * from './VmInspectionResults.js';
62
76
  export * from './VmInspectionStatus.js';
@@ -297,8 +297,9 @@ export function mapValues(data, fn) {
297
297
  return result;
298
298
  }
299
299
  export function canConsumeForm(consumes) {
300
+ var _a;
300
301
  for (const consume of consumes) {
301
- if ('multipart/form-data' === consume.contentType) {
302
+ if (((_a = consume.contentType) === null || _a === void 0 ? void 0 : _a.startsWith('multipart/form-data')) == true) {
302
303
  return true;
303
304
  }
304
305
  }
@@ -26,7 +26,7 @@ export interface AgentStatus {
26
26
  * @type {AgentStatusConsoleConnectionEnum}
27
27
  * @memberof AgentStatus
28
28
  */
29
- consoleConnection: AgentStatusConsoleConnectionEnum;
29
+ console_connection: AgentStatusConsoleConnectionEnum;
30
30
  /**
31
31
  * Connection error description
32
32
  * @type {string}
@@ -39,7 +39,7 @@ exports.AgentStatusConsoleConnectionEnum = {
39
39
  function instanceOfAgentStatus(value) {
40
40
  if (!('mode' in value) || value['mode'] === undefined)
41
41
  return false;
42
- if (!('consoleConnection' in value) || value['consoleConnection'] === undefined)
42
+ if (!('console_connection' in value) || value['console_connection'] === undefined)
43
43
  return false;
44
44
  return true;
45
45
  }
@@ -52,7 +52,7 @@ function AgentStatusFromJSONTyped(json, ignoreDiscriminator) {
52
52
  }
53
53
  return {
54
54
  'mode': json['mode'],
55
- 'consoleConnection': json['console_connection'],
55
+ 'console_connection': json['console_connection'],
56
56
  'error': json['error'] == null ? undefined : json['error'],
57
57
  };
58
58
  }
@@ -65,7 +65,7 @@ function AgentStatusToJSONTyped(value, ignoreDiscriminator = false) {
65
65
  }
66
66
  return {
67
67
  'mode': value['mode'],
68
- 'console_connection': value['consoleConnection'],
68
+ 'console_connection': value['console_connection'],
69
69
  'error': value['error'],
70
70
  };
71
71
  }
@@ -0,0 +1,33 @@
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 { ApplicationOverview } from './ApplicationOverview.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApplicationListResponse
17
+ */
18
+ export interface ApplicationListResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ApplicationOverview>}
22
+ * @memberof ApplicationListResponse
23
+ */
24
+ applications: Array<ApplicationOverview>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ApplicationListResponse interface.
28
+ */
29
+ export declare function instanceOfApplicationListResponse(value: object): value is ApplicationListResponse;
30
+ export declare function ApplicationListResponseFromJSON(json: any): ApplicationListResponse;
31
+ export declare function ApplicationListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationListResponse;
32
+ export declare function ApplicationListResponseToJSON(json: any): ApplicationListResponse;
33
+ export declare function ApplicationListResponseToJSONTyped(value?: ApplicationListResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfApplicationListResponse = instanceOfApplicationListResponse;
17
+ exports.ApplicationListResponseFromJSON = ApplicationListResponseFromJSON;
18
+ exports.ApplicationListResponseFromJSONTyped = ApplicationListResponseFromJSONTyped;
19
+ exports.ApplicationListResponseToJSON = ApplicationListResponseToJSON;
20
+ exports.ApplicationListResponseToJSONTyped = ApplicationListResponseToJSONTyped;
21
+ const ApplicationOverview_js_1 = require("./ApplicationOverview.js");
22
+ /**
23
+ * Check if a given object implements the ApplicationListResponse interface.
24
+ */
25
+ function instanceOfApplicationListResponse(value) {
26
+ if (!('applications' in value) || value['applications'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function ApplicationListResponseFromJSON(json) {
31
+ return ApplicationListResponseFromJSONTyped(json, false);
32
+ }
33
+ function ApplicationListResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'applications': (json['applications'].map(ApplicationOverview_js_1.ApplicationOverviewFromJSON)),
39
+ };
40
+ }
41
+ function ApplicationListResponseToJSON(json) {
42
+ return ApplicationListResponseToJSONTyped(json, false);
43
+ }
44
+ function ApplicationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'applications': (value['applications'].map(ApplicationOverview_js_1.ApplicationOverviewToJSON)),
50
+ };
51
+ }
@@ -0,0 +1,51 @@
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 { ApplicationVM } from './ApplicationVM.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApplicationOverview
17
+ */
18
+ export interface ApplicationOverview {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ApplicationOverview
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApplicationOverview
29
+ */
30
+ description: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ApplicationOverview
35
+ */
36
+ vmCount: number;
37
+ /**
38
+ *
39
+ * @type {Array<ApplicationVM>}
40
+ * @memberof ApplicationOverview
41
+ */
42
+ vms: Array<ApplicationVM>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApplicationOverview interface.
46
+ */
47
+ export declare function instanceOfApplicationOverview(value: object): value is ApplicationOverview;
48
+ export declare function ApplicationOverviewFromJSON(json: any): ApplicationOverview;
49
+ export declare function ApplicationOverviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationOverview;
50
+ export declare function ApplicationOverviewToJSON(json: any): ApplicationOverview;
51
+ export declare function ApplicationOverviewToJSONTyped(value?: ApplicationOverview | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfApplicationOverview = instanceOfApplicationOverview;
17
+ exports.ApplicationOverviewFromJSON = ApplicationOverviewFromJSON;
18
+ exports.ApplicationOverviewFromJSONTyped = ApplicationOverviewFromJSONTyped;
19
+ exports.ApplicationOverviewToJSON = ApplicationOverviewToJSON;
20
+ exports.ApplicationOverviewToJSONTyped = ApplicationOverviewToJSONTyped;
21
+ const ApplicationVM_js_1 = require("./ApplicationVM.js");
22
+ /**
23
+ * Check if a given object implements the ApplicationOverview interface.
24
+ */
25
+ function instanceOfApplicationOverview(value) {
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ if (!('description' in value) || value['description'] === undefined)
29
+ return false;
30
+ if (!('vmCount' in value) || value['vmCount'] === undefined)
31
+ return false;
32
+ if (!('vms' in value) || value['vms'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function ApplicationOverviewFromJSON(json) {
37
+ return ApplicationOverviewFromJSONTyped(json, false);
38
+ }
39
+ function ApplicationOverviewFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'name': json['name'],
45
+ 'description': json['description'],
46
+ 'vmCount': json['vmCount'],
47
+ 'vms': (json['vms'].map(ApplicationVM_js_1.ApplicationVMFromJSON)),
48
+ };
49
+ }
50
+ function ApplicationOverviewToJSON(json) {
51
+ return ApplicationOverviewToJSONTyped(json, false);
52
+ }
53
+ function ApplicationOverviewToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'name': value['name'],
59
+ 'description': value['description'],
60
+ 'vmCount': value['vmCount'],
61
+ 'vms': (value['vms'].map(ApplicationVM_js_1.ApplicationVMToJSON)),
62
+ };
63
+ }
@@ -0,0 +1,38 @@
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 ApplicationVM
16
+ */
17
+ export interface ApplicationVM {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApplicationVM
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApplicationVM
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ApplicationVM interface.
33
+ */
34
+ export declare function instanceOfApplicationVM(value: object): value is ApplicationVM;
35
+ export declare function ApplicationVMFromJSON(json: any): ApplicationVM;
36
+ export declare function ApplicationVMFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationVM;
37
+ export declare function ApplicationVMToJSON(json: any): ApplicationVM;
38
+ export declare function ApplicationVMToJSONTyped(value?: ApplicationVM | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfApplicationVM = instanceOfApplicationVM;
17
+ exports.ApplicationVMFromJSON = ApplicationVMFromJSON;
18
+ exports.ApplicationVMFromJSONTyped = ApplicationVMFromJSONTyped;
19
+ exports.ApplicationVMToJSON = ApplicationVMToJSON;
20
+ exports.ApplicationVMToJSONTyped = ApplicationVMToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApplicationVM interface.
23
+ */
24
+ function instanceOfApplicationVM(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function ApplicationVMFromJSON(json) {
32
+ return ApplicationVMFromJSONTyped(json, false);
33
+ }
34
+ function ApplicationVMFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'name': json['name'],
41
+ };
42
+ }
43
+ function ApplicationVMToJSON(json) {
44
+ return ApplicationVMToJSONTyped(json, false);
45
+ }
46
+ function ApplicationVMToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'name': value['name'],
53
+ };
54
+ }