@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
@@ -0,0 +1,36 @@
1
+
2
+ # DeleteLabelGloballyResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `affected` | number
10
+ `label` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { DeleteLabelGloballyResponse } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "affected": null,
20
+ "label": null,
21
+ } satisfies DeleteLabelGloballyResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as DeleteLabelGloballyResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -6,7 +6,8 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `vcenterId` | string
9
+ `vcenter_id` | string
10
+ `vcenter_version` | string
10
11
  `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
11
12
  `vcenter` | [InventoryData](InventoryData.md)
12
13
  `agentId` | string
@@ -19,7 +20,8 @@ import type { GetInventory200Response } from '@openshift-migration-advisor/agent
19
20
 
20
21
  // TODO: Update the object below with actual values
21
22
  const example = {
22
- "vcenterId": null,
23
+ "vcenter_id": null,
24
+ "vcenter_version": null,
23
25
  "clusters": null,
24
26
  "vcenter": null,
25
27
  "agentId": null,
package/docs/Group.md CHANGED
@@ -10,7 +10,6 @@ Name | Type
10
10
  `name` | string
11
11
  `description` | string
12
12
  `filter` | string
13
- `tags` | Array<string>
14
13
  `createdAt` | Date
15
14
  `updatedAt` | Date
16
15
 
@@ -25,7 +24,6 @@ const example = {
25
24
  "name": null,
26
25
  "description": null,
27
26
  "filter": memory >= 8GB and cluster = 'prod',
28
- "tags": ["production","critical"],
29
27
  "createdAt": null,
30
28
  "updatedAt": null,
31
29
  } satisfies Group
@@ -7,6 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `group` | [Group](Group.md)
10
+ `inventory` | [Inventory](Inventory.md)
10
11
  `vms` | [Array<VirtualMachine>](VirtualMachine.md)
11
12
  `total` | number
12
13
  `page` | number
@@ -20,6 +21,7 @@ import type { GroupResponse } from '@openshift-migration-advisor/agent-sdk'
20
21
  // TODO: Update the object below with actual values
21
22
  const example = {
22
23
  "group": null,
24
+ "inventory": null,
23
25
  "vms": null,
24
26
  "total": null,
25
27
  "page": null,
@@ -7,9 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `state` | string
10
- `credentials` | [VcenterCredentials](VcenterCredentials.md)
11
10
  `vddk` | [VddkProperties](VddkProperties.md)
12
- `error` | string
13
11
 
14
12
  ## Example
15
13
 
@@ -19,9 +17,7 @@ import type { InspectorStatus } from '@openshift-migration-advisor/agent-sdk'
19
17
  // TODO: Update the object below with actual values
20
18
  const example = {
21
19
  "state": null,
22
- "credentials": null,
23
20
  "vddk": null,
24
- "error": null,
25
21
  } satisfies InspectorStatus
26
22
 
27
23
  console.log(example)
package/docs/Inventory.md CHANGED
@@ -6,7 +6,8 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `vcenterId` | string
9
+ `vcenter_id` | string
10
+ `vcenter_version` | string
10
11
  `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
11
12
  `vcenter` | [InventoryData](InventoryData.md)
12
13
 
@@ -17,7 +18,8 @@ import type { Inventory } from '@openshift-migration-advisor/agent-sdk'
17
18
 
18
19
  // TODO: Update the object below with actual values
19
20
  const example = {
20
- "vcenterId": null,
21
+ "vcenter_id": null,
22
+ "vcenter_version": null,
21
23
  "clusters": null,
22
24
  "vcenter": null,
23
25
  } satisfies Inventory
@@ -7,6 +7,8 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `vcenter` | [VCenter](VCenter.md)
10
+ `clusterFeatures` | [ClusterFeatures](ClusterFeatures.md)
11
+ `clusterUtilization` | [ClusterUtilization](ClusterUtilization.md)
10
12
  `vms` | [VMs](VMs.md)
11
13
  `infra` | [Infra](Infra.md)
12
14
 
@@ -18,6 +20,8 @@ import type { InventoryData } from '@openshift-migration-advisor/agent-sdk'
18
20
  // TODO: Update the object below with actual values
19
21
  const example = {
20
22
  "vcenter": null,
23
+ "clusterFeatures": null,
24
+ "clusterUtilization": null,
21
25
  "vms": null,
22
26
  "infra": null,
23
27
  } satisfies InventoryData
@@ -0,0 +1,36 @@
1
+
2
+ # RightsizingClusterListResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `report_id` | string
10
+ `clusters` | [Array<RightsizingClusterUtilization>](RightsizingClusterUtilization.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { RightsizingClusterListResponse } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "report_id": null,
20
+ "clusters": null,
21
+ } satisfies RightsizingClusterListResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingClusterListResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # RightsizingClusterResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `report_id` | string
10
+ `cluster` | [RightsizingClusterUtilization](RightsizingClusterUtilization.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { RightsizingClusterResponse } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "report_id": null,
20
+ "cluster": null,
21
+ } satisfies RightsizingClusterResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingClusterResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,60 @@
1
+
2
+ # RightsizingClusterUtilization
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `cluster_id` | string
10
+ `cluster_name` | string
11
+ `vm_count` | number
12
+ `cpu_avg` | number
13
+ `cpu_p95` | number
14
+ `cpu_max` | number
15
+ `mem_avg` | number
16
+ `mem_p95` | number
17
+ `mem_max` | number
18
+ `disk` | number
19
+ `confidence` | number
20
+ `total_provisioned_cpus` | number
21
+ `total_provisioned_memory_mb` | number
22
+ `total_provisioned_disk_kb` | number
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import type { RightsizingClusterUtilization } from '@openshift-migration-advisor/agent-sdk'
28
+
29
+ // TODO: Update the object below with actual values
30
+ const example = {
31
+ "cluster_id": null,
32
+ "cluster_name": null,
33
+ "vm_count": null,
34
+ "cpu_avg": null,
35
+ "cpu_p95": null,
36
+ "cpu_max": null,
37
+ "mem_avg": null,
38
+ "mem_p95": null,
39
+ "mem_max": null,
40
+ "disk": null,
41
+ "confidence": null,
42
+ "total_provisioned_cpus": null,
43
+ "total_provisioned_memory_mb": null,
44
+ "total_provisioned_disk_kb": null,
45
+ } satisfies RightsizingClusterUtilization
46
+
47
+ console.log(example)
48
+
49
+ // Convert the instance to a JSON string
50
+ const exampleJSON: string = JSON.stringify(example)
51
+ console.log(exampleJSON)
52
+
53
+ // Parse the JSON string back to an object
54
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingClusterUtilization
55
+ console.log(exampleParsed)
56
+ ```
57
+
58
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
59
+
60
+
@@ -7,12 +7,12 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `credentials` | [VcenterCredentials](VcenterCredentials.md)
10
- `lookbackHours` | number
11
- `intervalId` | number
12
- `nameFilter` | string
13
- `clusterId` | string
14
- `batchSize` | number
15
- `discoverVms` | boolean
10
+ `lookback_hours` | number
11
+ `interval_id` | number
12
+ `name_filter` | string
13
+ `cluster_id` | string
14
+ `batch_size` | number
15
+ `discover_vms` | boolean
16
16
 
17
17
  ## Example
18
18
 
@@ -22,12 +22,12 @@ import type { RightsizingCollectRequest } from '@openshift-migration-advisor/age
22
22
  // TODO: Update the object below with actual values
23
23
  const example = {
24
24
  "credentials": null,
25
- "lookbackHours": null,
26
- "intervalId": null,
27
- "nameFilter": null,
28
- "clusterId": null,
29
- "batchSize": null,
30
- "discoverVms": null,
25
+ "lookback_hours": null,
26
+ "interval_id": null,
27
+ "name_filter": null,
28
+ "cluster_id": null,
29
+ "batch_size": null,
30
+ "discover_vms": null,
31
31
  } satisfies RightsizingCollectRequest
32
32
 
33
33
  console.log(example)
@@ -6,7 +6,7 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `sampleCount` | number
9
+ `sample_count` | number
10
10
  `average` | number
11
11
  `p95` | number
12
12
  `p99` | number
@@ -20,7 +20,7 @@ import type { RightsizingMetricStats } from '@openshift-migration-advisor/agent-
20
20
 
21
21
  // TODO: Update the object below with actual values
22
22
  const example = {
23
- "sampleCount": null,
23
+ "sample_count": null,
24
24
  "average": null,
25
25
  "p95": null,
26
26
  "p99": null,
@@ -8,13 +8,13 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | string
10
10
  `vcenter` | string
11
- `clusterId` | string
12
- `windowStart` | Date
13
- `windowEnd` | Date
14
- `intervalId` | number
15
- `expectedSampleCount` | number
11
+ `cluster_id` | string
12
+ `window_start` | Date
13
+ `window_end` | Date
14
+ `interval_id` | number
15
+ `expected_sample_count` | number
16
16
  `vms` | [Array<RightsizingVMReport>](RightsizingVMReport.md)
17
- `createdAt` | Date
17
+ `created_at` | Date
18
18
 
19
19
  ## Example
20
20
 
@@ -25,13 +25,13 @@ import type { RightsizingReport } from '@openshift-migration-advisor/agent-sdk'
25
25
  const example = {
26
26
  "id": null,
27
27
  "vcenter": null,
28
- "clusterId": null,
29
- "windowStart": null,
30
- "windowEnd": null,
31
- "intervalId": null,
32
- "expectedSampleCount": null,
28
+ "cluster_id": null,
29
+ "window_start": null,
30
+ "window_end": null,
31
+ "interval_id": null,
32
+ "expected_sample_count": null,
33
33
  "vms": null,
34
- "createdAt": null,
34
+ "created_at": null,
35
35
  } satisfies RightsizingReport
36
36
 
37
37
  console.log(example)
@@ -9,12 +9,12 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `id` | string
11
11
  `vcenter` | string
12
- `clusterId` | string
13
- `windowStart` | Date
14
- `windowEnd` | Date
15
- `intervalId` | number
16
- `expectedSampleCount` | number
17
- `createdAt` | Date
12
+ `cluster_id` | string
13
+ `window_start` | Date
14
+ `window_end` | Date
15
+ `interval_id` | number
16
+ `expected_sample_count` | number
17
+ `created_at` | Date
18
18
 
19
19
  ## Example
20
20
 
@@ -25,12 +25,12 @@ import type { RightsizingReportSummary } from '@openshift-migration-advisor/agen
25
25
  const example = {
26
26
  "id": null,
27
27
  "vcenter": null,
28
- "clusterId": null,
29
- "windowStart": null,
30
- "windowEnd": null,
31
- "intervalId": null,
32
- "expectedSampleCount": null,
33
- "createdAt": null,
28
+ "cluster_id": null,
29
+ "window_start": null,
30
+ "window_end": null,
31
+ "interval_id": null,
32
+ "expected_sample_count": null,
33
+ "created_at": null,
34
34
  } satisfies RightsizingReportSummary
35
35
 
36
36
  console.log(example)
@@ -1,13 +1,14 @@
1
1
 
2
2
  # StartInspectionRequest
3
3
 
4
- Array of VirtualMachine id
4
+ Start inspection request
5
5
 
6
6
  ## Properties
7
7
 
8
8
  Name | Type
9
9
  ------------ | -------------
10
10
  `vmIds` | Array<string>
11
+ `credentials` | [VcenterCredentials](VcenterCredentials.md)
11
12
 
12
13
  ## Example
13
14
 
@@ -17,6 +18,7 @@ import type { StartInspectionRequest } from '@openshift-migration-advisor/agent-
17
18
  // TODO: Update the object below with actual values
18
19
  const example = {
19
20
  "vmIds": null,
21
+ "credentials": null,
20
22
  } satisfies StartInspectionRequest
21
23
 
22
24
  console.log(example)
@@ -9,7 +9,6 @@ Name | Type
9
9
  `name` | string
10
10
  `description` | string
11
11
  `filter` | string
12
- `tags` | Array<string>
13
12
 
14
13
  ## Example
15
14
 
@@ -21,7 +20,6 @@ const example = {
21
20
  "name": null,
22
21
  "description": null,
23
22
  "filter": null,
24
- "tags": null,
25
23
  } satisfies UpdateGroupRequest
26
24
 
27
25
  console.log(example)
@@ -0,0 +1,36 @@
1
+
2
+ # UpdateLabelVMsRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `add` | Array<string>
10
+ `remove` | Array<string>
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { UpdateLabelVMsRequest } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "add": null,
20
+ "remove": null,
21
+ } satisfies UpdateLabelVMsRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateLabelVMsRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,42 @@
1
+
2
+ # VMFilterOptionsResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `clusters` | Array<string>
10
+ `datacenters` | Array<string>
11
+ `concernLabels` | Array<string>
12
+ `concernCategories` | Array<string>
13
+ `applications` | Array<string>
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { VMFilterOptionsResponse } from '@openshift-migration-advisor/agent-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "clusters": null,
23
+ "datacenters": null,
24
+ "concernLabels": null,
25
+ "concernCategories": null,
26
+ "applications": null,
27
+ } satisfies VMFilterOptionsResponse
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as VMFilterOptionsResponse
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,36 @@
1
+
2
+ # VMLabelsResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `labels` | Array<string>
10
+ `counts` | Array<number>
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { VMLabelsResponse } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "labels": ["production","staging","critical"],
20
+ "counts": [5,3,2],
21
+ } satisfies VMLabelsResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as VMLabelsResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
package/docs/VMNIC.md CHANGED
@@ -9,6 +9,8 @@ Name | Type
9
9
  `mac` | string
10
10
  `network` | string
11
11
  `index` | number
12
+ `ipv4Address` | string
13
+ `ipv6Address` | string
12
14
 
13
15
  ## Example
14
16
 
@@ -20,6 +22,8 @@ const example = {
20
22
  "mac": null,
21
23
  "network": null,
22
24
  "index": null,
25
+ "ipv4Address": null,
26
+ "ipv6Address": null,
23
27
  } satisfies VMNIC
24
28
 
25
29
  console.log(example)
@@ -9,6 +9,8 @@ Name | Type
9
9
  `url` | string
10
10
  `username` | string
11
11
  `password` | string
12
+ `cacert` | string
13
+ `skipTls` | boolean
12
14
 
13
15
  ## Example
14
16
 
@@ -20,6 +22,8 @@ const example = {
20
22
  "url": null,
21
23
  "username": null,
22
24
  "password": null,
25
+ "cacert": null,
26
+ "skipTls": null,
23
27
  } satisfies VcenterCredentials
24
28
 
25
29
  console.log(example)
@@ -16,13 +16,17 @@ Name | Type
16
16
  `issueCount` | number
17
17
  `migratable` | boolean
18
18
  `template` | boolean
19
+ `migrationExcluded` | boolean
19
20
  `inspectionStatus` | [VmInspectionStatus](VmInspectionStatus.md)
20
21
  `inspectionConcernCount` | number
21
- `tags` | Array<string>
22
- `utilizationCpuP95` | number
23
- `utilizationMemP95` | number
24
- `utilizationDisk` | number
25
- `utilizationConfidence` | number
22
+ `groups` | Array<string>
23
+ `labels` | Array<string>
24
+ `utilization_cpu_p95` | number
25
+ `utilization_mem_p95` | number
26
+ `utilization_cpu_max` | number
27
+ `utilization_mem_max` | number
28
+ `utilization_disk` | number
29
+ `utilization_confidence` | number
26
30
 
27
31
  ## Example
28
32
 
@@ -41,13 +45,17 @@ const example = {
41
45
  "issueCount": null,
42
46
  "migratable": null,
43
47
  "template": null,
48
+ "migrationExcluded": null,
44
49
  "inspectionStatus": null,
45
50
  "inspectionConcernCount": null,
46
- "tags": null,
47
- "utilizationCpuP95": null,
48
- "utilizationMemP95": null,
49
- "utilizationDisk": null,
50
- "utilizationConfidence": null,
51
+ "groups": null,
52
+ "labels": null,
53
+ "utilization_cpu_p95": null,
54
+ "utilization_mem_p95": null,
55
+ "utilization_cpu_max": null,
56
+ "utilization_mem_max": null,
57
+ "utilization_disk": null,
58
+ "utilization_confidence": null,
51
59
  } satisfies VirtualMachine
52
60
 
53
61
  console.log(example)