@openshift-migration-advisor/agent-sdk 0.20.2-d385a5a71ef0 → 0.20.3
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.
- package/.openapi-generator/FILES +48 -64
- package/README.md +86 -82
- package/dist/apis/DefaultApi.d.ts +1988 -0
- package/dist/apis/DefaultApi.js +2066 -0
- package/dist/apis/index.d.ts +1 -12
- package/dist/apis/index.js +1 -12
- package/dist/esm/apis/DefaultApi.d.ts +1988 -0
- package/dist/esm/apis/DefaultApi.js +2062 -0
- package/dist/esm/apis/index.d.ts +1 -12
- package/dist/esm/apis/index.js +1 -12
- package/dist/esm/models/AgentModeRequest.d.ts +1 -1
- package/dist/esm/models/AgentModeRequest.js +1 -1
- package/dist/esm/models/AgentStatus.d.ts +13 -6
- package/dist/esm/models/AgentStatus.js +13 -7
- package/dist/esm/models/ApplicationListResponse.d.ts +1 -1
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -4
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -3
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -6
- package/dist/esm/models/BenchmarkRun.js +5 -7
- package/dist/esm/models/CapabilityStatus.d.ts +1 -1
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +1 -1
- package/dist/esm/models/ClusterFeatures.js +1 -1
- package/dist/esm/models/ClusterUtilization.d.ts +1 -1
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/CollectorStartRequest.d.ts +46 -0
- package/dist/esm/models/CollectorStartRequest.js +49 -0
- package/dist/esm/models/CollectorStatus.d.ts +1 -2
- package/dist/esm/models/CollectorStatus.js +1 -2
- package/dist/esm/models/CreateGroupRequest.d.ts +4 -4
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -1
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +17 -7
- package/dist/esm/models/DatastoreDetail.js +10 -1
- package/dist/esm/models/DatastorePair.d.ts +42 -0
- package/dist/esm/models/{DatastorePairRequest.js → DatastorePair.js} +9 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimateRange.d.ts +8 -8
- package/dist/esm/models/EstimateRange.js +4 -10
- package/dist/esm/models/ExportInventory400Response.d.ts +30 -0
- package/dist/esm/models/ExportInventory400Response.js +41 -0
- package/dist/esm/models/ExportInventory500Response.d.ts +30 -0
- package/dist/esm/models/ExportInventory500Response.js +41 -0
- package/dist/esm/models/ForecastStats.d.ts +11 -11
- package/dist/esm/models/ForecastStats.js +17 -33
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +31 -0
- package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
- package/dist/esm/models/ForecasterPairStatus.d.ts +78 -0
- package/dist/esm/models/{ForecastPairStatus.js → ForecasterPairStatus.js} +22 -22
- package/dist/esm/models/ForecasterStartRequest.d.ts +48 -0
- package/dist/esm/models/{StartForecasterRequest.js → ForecasterStartRequest.js} +15 -12
- package/dist/esm/models/ForecasterStatus.d.ts +7 -7
- package/dist/esm/models/ForecasterStatus.js +6 -8
- package/dist/esm/models/GetInventory200Response.d.ts +23 -0
- package/dist/esm/models/GetInventory200Response.js +51 -0
- package/dist/esm/models/Group.d.ts +4 -4
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupListResponse.d.ts +4 -4
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -6
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -6
- package/dist/esm/models/GuestNetwork.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -1
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/InspectorStatus.d.ts +1 -1
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory.d.ts +21 -3
- package/dist/esm/models/Inventory.js +16 -5
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OperationCapability.d.ts +1 -1
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PairCapability.d.ts +13 -3
- package/dist/esm/models/PairCapability.js +10 -1
- package/dist/esm/models/PairCapabilityRequest.d.ts +8 -3
- package/dist/esm/models/PairCapabilityRequest.js +7 -4
- package/dist/esm/models/Process.d.ts +1 -1
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +34 -0
- package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +35 -0
- package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +15 -13
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/RightsizingCollectRequest.d.ts +56 -0
- package/dist/esm/models/RightsizingCollectRequest.js +56 -0
- package/dist/esm/models/RightsizingMetricStats.d.ts +50 -0
- package/dist/esm/models/RightsizingMetricStats.js +63 -0
- package/dist/esm/models/RightsizingReport.d.ts +63 -0
- package/dist/esm/models/RightsizingReport.js +76 -0
- package/dist/esm/models/RightsizingReportListResponse.d.ts +35 -0
- package/dist/esm/models/RightsizingReportListResponse.js +48 -0
- package/dist/esm/models/RightsizingReportSummary.d.ts +58 -0
- package/dist/esm/models/RightsizingReportSummary.js +71 -0
- package/dist/esm/models/RightsizingVMReport.d.ts +45 -0
- package/dist/esm/models/RightsizingVMReport.js +57 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +8 -3
- package/dist/esm/models/StartInspectionRequest.js +4 -1
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/esm/models/StopForecasterPair202Response.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -3
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMDevice.d.ts +30 -0
- package/dist/esm/models/{VirtualMachineDevice.js → VMDevice.js} +9 -9
- package/dist/esm/models/VMDisk.d.ts +54 -0
- package/dist/esm/models/{VirtualMachineDisk.js → VMDisk.js} +9 -9
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMIssue.d.ts +50 -0
- package/dist/esm/models/{VirtualMachineIssue.js → VMIssue.js} +16 -16
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMNIC.d.ts +46 -0
- package/dist/esm/models/{VirtualMachineNIC.js → VMNIC.js} +13 -9
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -1
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -2
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -4
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +11 -15
- package/dist/esm/models/VirtualMachine.js +6 -10
- package/dist/esm/models/VirtualMachineDetail.d.ts +38 -47
- package/dist/esm/models/VirtualMachineDetail.js +16 -23
- package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/esm/models/VirtualMachineListResponse.js +4 -4
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmInspectionConcern.d.ts +38 -0
- package/dist/esm/models/{VirtualMachineInspectionConcern.js → VmInspectionConcern.js} +9 -9
- package/dist/esm/models/VmInspectionResults.d.ts +31 -0
- package/dist/esm/models/VmInspectionResults.js +42 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +53 -0
- package/dist/esm/models/VmInspectionStatus.js +61 -0
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +23 -20
- package/dist/esm/models/index.js +23 -20
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AgentModeRequest.d.ts +1 -1
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +13 -6
- package/dist/models/AgentStatus.js +14 -8
- package/dist/models/ApplicationListResponse.d.ts +1 -1
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -4
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -3
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -6
- package/dist/models/BenchmarkRun.js +5 -7
- package/dist/models/CapabilityStatus.d.ts +1 -1
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +1 -1
- package/dist/models/ClusterFeatures.js +1 -1
- package/dist/models/ClusterUtilization.d.ts +1 -1
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/CollectorStartRequest.d.ts +46 -0
- package/dist/models/CollectorStartRequest.js +56 -0
- package/dist/models/CollectorStatus.d.ts +1 -2
- package/dist/models/CollectorStatus.js +1 -2
- package/dist/models/CreateGroupRequest.d.ts +4 -4
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -1
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +17 -7
- package/dist/models/DatastoreDetail.js +11 -1
- package/dist/models/DatastorePair.d.ts +42 -0
- package/dist/models/{DatastorePairRequest.js → DatastorePair.js} +14 -14
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimateRange.d.ts +8 -8
- package/dist/models/EstimateRange.js +4 -10
- package/dist/models/ExportInventory400Response.d.ts +30 -0
- package/dist/models/ExportInventory400Response.js +48 -0
- package/dist/models/ExportInventory500Response.d.ts +30 -0
- package/dist/models/ExportInventory500Response.js +48 -0
- package/dist/models/ForecastStats.d.ts +11 -11
- package/dist/models/ForecastStats.js +17 -33
- package/dist/models/ForecasterDatastoresRequest.d.ts +31 -0
- package/dist/models/ForecasterDatastoresRequest.js +49 -0
- package/dist/models/ForecasterPairStatus.d.ts +78 -0
- package/dist/models/{ForecastPairStatus.js → ForecasterPairStatus.js} +28 -28
- package/dist/models/ForecasterStartRequest.d.ts +48 -0
- package/dist/models/ForecasterStartRequest.js +60 -0
- package/dist/models/ForecasterStatus.d.ts +7 -7
- package/dist/models/ForecasterStatus.js +6 -8
- package/dist/models/GetInventory200Response.d.ts +23 -0
- package/dist/models/GetInventory200Response.js +57 -0
- package/dist/models/Group.d.ts +4 -4
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupListResponse.d.ts +4 -4
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -6
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -6
- package/dist/models/GuestNetwork.js +1 -1
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -1
- package/dist/models/Host.js +1 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/InspectorStatus.d.ts +1 -1
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory.d.ts +21 -3
- package/dist/models/Inventory.js +16 -5
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -1
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OperationCapability.d.ts +1 -1
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PairCapability.d.ts +13 -3
- package/dist/models/PairCapability.js +11 -1
- package/dist/models/PairCapabilityRequest.d.ts +8 -3
- package/dist/models/PairCapabilityRequest.js +7 -4
- package/dist/models/Process.d.ts +1 -1
- package/dist/models/Process.js +1 -1
- package/dist/models/PutForecasterCredentials403Response.d.ts +34 -0
- package/dist/models/PutForecasterCredentials403Response.js +50 -0
- package/dist/models/RightsizingClusterListResponse.d.ts +35 -0
- package/dist/models/RightsizingClusterListResponse.js +55 -0
- package/dist/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +15 -13
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/RightsizingCollectRequest.d.ts +56 -0
- package/dist/models/RightsizingCollectRequest.js +63 -0
- package/dist/models/RightsizingMetricStats.d.ts +50 -0
- package/dist/models/RightsizingMetricStats.js +70 -0
- package/dist/models/RightsizingReport.d.ts +63 -0
- package/dist/models/RightsizingReport.js +83 -0
- package/dist/models/RightsizingReportListResponse.d.ts +35 -0
- package/dist/models/RightsizingReportListResponse.js +55 -0
- package/dist/models/RightsizingReportSummary.d.ts +58 -0
- package/dist/models/RightsizingReportSummary.js +78 -0
- package/dist/models/RightsizingVMReport.d.ts +45 -0
- package/dist/models/RightsizingVMReport.js +64 -0
- package/dist/models/StartInspectionRequest.d.ts +8 -3
- package/dist/models/StartInspectionRequest.js +4 -1
- package/dist/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/models/StopForecasterPair202Response.js +1 -1
- package/dist/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -3
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMDevice.d.ts +30 -0
- package/dist/models/VMDevice.js +48 -0
- package/dist/models/VMDisk.d.ts +54 -0
- package/dist/models/{VirtualMachineDisk.js → VMDisk.js} +14 -14
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMIssue.d.ts +50 -0
- package/dist/models/VMIssue.js +70 -0
- package/dist/models/VMLabelsResponse.d.ts +1 -1
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMNIC.d.ts +46 -0
- package/dist/models/{VirtualMachineNIC.js → VMNIC.js} +18 -14
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -1
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -1
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -2
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -4
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +11 -15
- package/dist/models/VirtualMachine.js +6 -10
- package/dist/models/VirtualMachineDetail.d.ts +38 -47
- package/dist/models/VirtualMachineDetail.js +16 -23
- package/dist/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/models/VirtualMachineListResponse.js +4 -4
- package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmInspectionConcern.d.ts +38 -0
- package/dist/models/{VirtualMachineInspectionConcern.js → VmInspectionConcern.js} +14 -14
- package/dist/models/VmInspectionResults.d.ts +31 -0
- package/dist/models/VmInspectionResults.js +49 -0
- package/dist/models/VmInspectionStatus.d.ts +53 -0
- package/dist/models/VmInspectionStatus.js +69 -0
- package/dist/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +23 -20
- package/dist/models/index.js +23 -20
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/docs/AgentStatus.md +4 -4
- package/docs/BenchmarkRun.md +2 -2
- package/docs/{CollectionAggregate.md → CollectorStartRequest.md} +15 -16
- package/docs/{DatastorePairRequest.md → DatastorePair.md} +4 -4
- package/docs/DefaultApi.md +3361 -0
- package/docs/DeleteLabelGloballyResponse.md +2 -2
- package/docs/EstimateRange.md +1 -0
- package/docs/{Collection.md → ExportInventory400Response.md} +6 -10
- package/docs/{AgentStatusConsoleConnection.md → ExportInventory500Response.md} +4 -6
- package/docs/ForecastStats.md +16 -16
- package/docs/{CollectionListResponse.md → ForecasterDatastoresRequest.md} +6 -6
- package/docs/{ForecastPairStatus.md → ForecasterPairStatus.md} +8 -8
- package/docs/{StartForecasterRequest.md → ForecasterStartRequest.md} +7 -5
- package/docs/ForecasterStatus.md +1 -1
- package/docs/{Inventory1.md → GetInventory200Response.md} +8 -4
- package/docs/GroupResponse.md +1 -1
- package/docs/Inventory.md +10 -2
- package/docs/PairCapabilityRequest.md +3 -1
- package/docs/PutForecasterCredentials403Response.md +36 -0
- package/docs/RightsizingClusterListResponse.md +36 -0
- package/docs/RightsizingCollectRequest.md +46 -0
- package/docs/{CollectionComparisonDiff.md → RightsizingMetricStats.md} +16 -10
- package/docs/RightsizingReport.md +50 -0
- package/docs/{ComparisonDiffPage.md → RightsizingReportListResponse.md} +6 -10
- package/docs/RightsizingReportSummary.md +49 -0
- package/docs/RightsizingVMReport.md +40 -0
- package/docs/StartInspectionRequest.md +3 -0
- package/docs/UpdateInventory.md +1 -1
- package/docs/{VirtualMachineDevice.md → VMDevice.md} +4 -4
- package/docs/{VirtualMachineDisk.md → VMDisk.md} +4 -4
- package/docs/{VirtualMachineIssue.md → VMIssue.md} +4 -4
- package/docs/VMLabelsResponse.md +2 -2
- package/docs/{VirtualMachineNIC.md → VMNIC.md} +8 -4
- package/docs/VirtualMachine.md +3 -5
- package/docs/VirtualMachineDetail.md +5 -9
- package/docs/VirtualMachineListResponse.md +2 -2
- package/docs/VirtualMachineUpdateRequest.md +2 -2
- package/docs/{VirtualMachineInspectionConcern.md → VmInspectionConcern.md} +5 -4
- package/docs/{ComparisonDiffEntry.md → VmInspectionResults.md} +7 -10
- package/docs/{InspectionStatus.md → VmInspectionStatus.md} +8 -6
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +3986 -0
- package/src/apis/index.ts +1 -12
- package/src/models/AgentModeRequest.ts +1 -1
- package/src/models/AgentStatus.ts +19 -18
- package/src/models/ApplicationListResponse.ts +1 -1
- package/src/models/ApplicationOverview.ts +4 -4
- package/src/models/ApplicationVM.ts +3 -3
- package/src/models/BatchUpdateExclusionRequest.ts +1 -1
- package/src/models/BenchmarkRun.ts +10 -11
- package/src/models/CapabilityStatus.ts +1 -1
- package/src/models/CapabilityStatusCapabilities.ts +1 -1
- package/src/models/ClusterFeatures.ts +1 -1
- package/src/models/ClusterUtilization.ts +1 -1
- package/src/models/CollectorStartRequest.ts +87 -0
- package/src/models/CollectorStatus.ts +1 -2
- package/src/models/CreateGroupRequest.ts +4 -4
- package/src/models/CredentialStatus.ts +1 -1
- package/src/models/Datastore.ts +1 -1
- package/src/models/DatastoreDetail.ts +20 -7
- package/src/models/{DatastorePairRequest.ts → DatastorePair.ts} +15 -15
- package/src/models/DeleteLabelGloballyResponse.ts +8 -8
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimateRange.ts +11 -14
- package/src/models/ExportInventory400Response.ts +63 -0
- package/src/models/ExportInventory500Response.ts +63 -0
- package/src/models/ForecastStats.ts +27 -35
- package/src/models/ForecasterDatastoresRequest.ts +71 -0
- package/src/models/{ForecastPairStatus.ts → ForecasterPairStatus.ts} +37 -37
- package/src/models/ForecasterStartRequest.ts +103 -0
- package/src/models/ForecasterStatus.ts +14 -15
- package/src/models/GetInventory200Response.ts +76 -0
- package/src/models/Group.ts +4 -4
- package/src/models/GroupListResponse.ts +4 -4
- package/src/models/GroupResponse.ts +13 -13
- package/src/models/GuestNetwork.ts +6 -6
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Infra.ts +1 -1
- package/src/models/InspectorStatus.ts +1 -1
- package/src/models/Inventory.ts +36 -11
- package/src/models/InventoryData.ts +1 -1
- package/src/models/IssuesBreakdown.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/OperationCapability.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PairCapability.ts +16 -3
- package/src/models/PairCapabilityRequest.ts +23 -10
- package/src/models/Process.ts +1 -1
- package/src/models/PutForecasterCredentials403Response.ts +69 -0
- package/src/models/RightsizingClusterListResponse.ts +79 -0
- package/src/models/RightsizingClusterResponse.ts +2 -2
- package/src/models/RightsizingClusterUtilization.ts +15 -13
- package/src/models/RightsizingCollectRequest.ts +109 -0
- package/src/models/RightsizingMetricStats.ts +99 -0
- package/src/models/RightsizingReport.ts +128 -0
- package/src/models/RightsizingReportListResponse.ts +79 -0
- package/src/models/RightsizingReportSummary.ts +113 -0
- package/src/models/RightsizingVMReport.ts +93 -0
- package/src/models/StartInspectionRequest.ts +17 -3
- package/src/models/StopForecasterPair202Response.ts +1 -1
- package/src/models/StorageIoConfiguration.ts +1 -1
- package/src/models/UpdateGroupRequest.ts +4 -4
- package/src/models/UpdateInventory.ts +10 -10
- package/src/models/UpdateLabelVMsRequest.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMDevice.ts +63 -0
- package/src/models/{VirtualMachineDisk.ts → VMDisk.ts} +17 -17
- package/src/models/VMFilterOptionsResponse.ts +1 -1
- package/src/models/VMIssue.ts +93 -0
- package/src/models/VMLabelsResponse.ts +1 -1
- package/src/models/VMNIC.ts +87 -0
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VcenterCredentials.ts +1 -1
- package/src/models/VddkProperties.ts +2 -2
- package/src/models/VersionInfo.ts +4 -4
- package/src/models/VirtualMachine.ts +20 -27
- package/src/models/VirtualMachineDetail.ts +73 -93
- package/src/models/VirtualMachineListResponse.ts +6 -6
- package/src/models/VirtualMachineUpdateRequest.ts +1 -1
- package/src/models/{VirtualMachineInspectionConcern.ts → VmInspectionConcern.ts} +12 -12
- package/src/models/VmInspectionResults.ts +71 -0
- package/src/models/VmInspectionStatus.ts +97 -0
- package/src/models/VmUtilizationDetails.ts +8 -8
- package/src/models/index.ts +23 -20
- package/src/runtime.ts +2 -2
- package/dist/apis/AgentApi.d.ts +0 -95
- package/dist/apis/AgentApi.js +0 -109
- package/dist/apis/ApplicationsApi.d.ts +0 -64
- package/dist/apis/ApplicationsApi.js +0 -72
- package/dist/apis/CollectionsApi.d.ts +0 -231
- package/dist/apis/CollectionsApi.js +0 -226
- package/dist/apis/CollectorApi.d.ts +0 -154
- package/dist/apis/CollectorApi.js +0 -196
- package/dist/apis/CredentialsApi.d.ts +0 -168
- package/dist/apis/CredentialsApi.js +0 -187
- package/dist/apis/ForecasterApi.d.ts +0 -375
- package/dist/apis/ForecasterApi.js +0 -397
- package/dist/apis/GroupsApi.d.ts +0 -374
- package/dist/apis/GroupsApi.js +0 -351
- package/dist/apis/InspectorApi.d.ts +0 -202
- package/dist/apis/InspectorApi.js +0 -240
- package/dist/apis/InventoriesApi.d.ts +0 -94
- package/dist/apis/InventoriesApi.js +0 -107
- package/dist/apis/RightsizingApi.d.ts +0 -109
- package/dist/apis/RightsizingApi.js +0 -116
- package/dist/apis/VersionApi.d.ts +0 -56
- package/dist/apis/VersionApi.js +0 -68
- package/dist/apis/VirtualMachinesApi.d.ts +0 -578
- package/dist/apis/VirtualMachinesApi.js +0 -576
- package/dist/esm/apis/AgentApi.d.ts +0 -95
- package/dist/esm/apis/AgentApi.js +0 -105
- package/dist/esm/apis/ApplicationsApi.d.ts +0 -64
- package/dist/esm/apis/ApplicationsApi.js +0 -68
- package/dist/esm/apis/CollectionsApi.d.ts +0 -231
- package/dist/esm/apis/CollectionsApi.js +0 -222
- package/dist/esm/apis/CollectorApi.d.ts +0 -154
- package/dist/esm/apis/CollectorApi.js +0 -192
- package/dist/esm/apis/CredentialsApi.d.ts +0 -168
- package/dist/esm/apis/CredentialsApi.js +0 -183
- package/dist/esm/apis/ForecasterApi.d.ts +0 -375
- package/dist/esm/apis/ForecasterApi.js +0 -393
- package/dist/esm/apis/GroupsApi.d.ts +0 -374
- package/dist/esm/apis/GroupsApi.js +0 -347
- package/dist/esm/apis/InspectorApi.d.ts +0 -202
- package/dist/esm/apis/InspectorApi.js +0 -236
- package/dist/esm/apis/InventoriesApi.d.ts +0 -94
- package/dist/esm/apis/InventoriesApi.js +0 -103
- package/dist/esm/apis/RightsizingApi.d.ts +0 -109
- package/dist/esm/apis/RightsizingApi.js +0 -112
- package/dist/esm/apis/VersionApi.d.ts +0 -56
- package/dist/esm/apis/VersionApi.js +0 -64
- package/dist/esm/apis/VirtualMachinesApi.d.ts +0 -578
- package/dist/esm/apis/VirtualMachinesApi.js +0 -572
- package/dist/esm/models/AgentStatusConsoleConnection.d.ts +0 -42
- package/dist/esm/models/AgentStatusConsoleConnection.js +0 -52
- package/dist/esm/models/Collection.d.ts +0 -38
- package/dist/esm/models/Collection.js +0 -51
- package/dist/esm/models/CollectionAggregate.d.ts +0 -50
- package/dist/esm/models/CollectionAggregate.js +0 -63
- package/dist/esm/models/CollectionComparisonDiff.d.ts +0 -48
- package/dist/esm/models/CollectionComparisonDiff.js +0 -60
- package/dist/esm/models/CollectionComparisonSummary.d.ts +0 -36
- package/dist/esm/models/CollectionComparisonSummary.js +0 -49
- package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +0 -43
- package/dist/esm/models/CollectionComparisonSummaryDiff.js +0 -56
- package/dist/esm/models/CollectionListResponse.d.ts +0 -31
- package/dist/esm/models/CollectionListResponse.js +0 -44
- package/dist/esm/models/ComparisonDiffEntry.d.ts +0 -38
- package/dist/esm/models/ComparisonDiffEntry.js +0 -47
- package/dist/esm/models/ComparisonDiffPage.d.ts +0 -42
- package/dist/esm/models/ComparisonDiffPage.js +0 -55
- package/dist/esm/models/DatastorePairRequest.d.ts +0 -42
- package/dist/esm/models/ForecastPairStatus.d.ts +0 -78
- package/dist/esm/models/InspectionStatus.d.ts +0 -49
- package/dist/esm/models/InspectionStatus.js +0 -57
- package/dist/esm/models/Inventory1.d.ts +0 -49
- package/dist/esm/models/Inventory1.js +0 -55
- package/dist/esm/models/StartForecasterRequest.d.ts +0 -43
- package/dist/esm/models/VirtualMachineDevice.d.ts +0 -30
- package/dist/esm/models/VirtualMachineDisk.d.ts +0 -54
- package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +0 -38
- package/dist/esm/models/VirtualMachineInspectionResults.d.ts +0 -31
- package/dist/esm/models/VirtualMachineInspectionResults.js +0 -42
- package/dist/esm/models/VirtualMachineIssue.d.ts +0 -50
- package/dist/esm/models/VirtualMachineNIC.d.ts +0 -38
- package/dist/models/AgentStatusConsoleConnection.d.ts +0 -42
- package/dist/models/AgentStatusConsoleConnection.js +0 -60
- package/dist/models/Collection.d.ts +0 -38
- package/dist/models/Collection.js +0 -58
- package/dist/models/CollectionAggregate.d.ts +0 -50
- package/dist/models/CollectionAggregate.js +0 -70
- package/dist/models/CollectionComparisonDiff.d.ts +0 -48
- package/dist/models/CollectionComparisonDiff.js +0 -68
- package/dist/models/CollectionComparisonSummary.d.ts +0 -36
- package/dist/models/CollectionComparisonSummary.js +0 -56
- package/dist/models/CollectionComparisonSummaryDiff.d.ts +0 -43
- package/dist/models/CollectionComparisonSummaryDiff.js +0 -63
- package/dist/models/CollectionListResponse.d.ts +0 -31
- package/dist/models/CollectionListResponse.js +0 -51
- package/dist/models/ComparisonDiffEntry.d.ts +0 -38
- package/dist/models/ComparisonDiffEntry.js +0 -54
- package/dist/models/ComparisonDiffPage.d.ts +0 -42
- package/dist/models/ComparisonDiffPage.js +0 -62
- package/dist/models/DatastorePairRequest.d.ts +0 -42
- package/dist/models/ForecastPairStatus.d.ts +0 -78
- package/dist/models/InspectionStatus.d.ts +0 -49
- package/dist/models/InspectionStatus.js +0 -65
- package/dist/models/Inventory1.d.ts +0 -49
- package/dist/models/Inventory1.js +0 -62
- package/dist/models/StartForecasterRequest.d.ts +0 -43
- package/dist/models/StartForecasterRequest.js +0 -57
- package/dist/models/VirtualMachineDevice.d.ts +0 -30
- package/dist/models/VirtualMachineDevice.js +0 -48
- package/dist/models/VirtualMachineDisk.d.ts +0 -54
- package/dist/models/VirtualMachineInspectionConcern.d.ts +0 -38
- package/dist/models/VirtualMachineInspectionResults.d.ts +0 -31
- package/dist/models/VirtualMachineInspectionResults.js +0 -49
- package/dist/models/VirtualMachineIssue.d.ts +0 -50
- package/dist/models/VirtualMachineIssue.js +0 -70
- package/dist/models/VirtualMachineNIC.d.ts +0 -38
- package/docs/AgentApi.md +0 -136
- package/docs/ApplicationsApi.md +0 -76
- package/docs/CollectionComparisonSummary.md +0 -36
- package/docs/CollectionComparisonSummaryDiff.md +0 -41
- package/docs/CollectionsApi.md +0 -294
- package/docs/CollectorApi.md +0 -257
- package/docs/CredentialsApi.md +0 -264
- package/docs/ForecasterApi.md +0 -612
- package/docs/GroupsApi.md +0 -527
- package/docs/InspectorApi.md +0 -336
- package/docs/InventoriesApi.md +0 -136
- package/docs/RightsizingApi.md +0 -148
- package/docs/VersionApi.md +0 -66
- package/docs/VirtualMachineInspectionResults.md +0 -35
- package/docs/VirtualMachinesApi.md +0 -914
- package/src/apis/AgentApi.ts +0 -176
- package/src/apis/ApplicationsApi.ts +0 -111
- package/src/apis/CollectionsApi.ts +0 -429
- package/src/apis/CollectorApi.ts +0 -306
- package/src/apis/CredentialsApi.ts +0 -308
- package/src/apis/ForecasterApi.ts +0 -721
- package/src/apis/GroupsApi.ts +0 -718
- package/src/apis/InspectorApi.ts +0 -405
- package/src/apis/InventoriesApi.ts +0 -169
- package/src/apis/RightsizingApi.ts +0 -205
- package/src/apis/VersionApi.ts +0 -94
- package/src/apis/VirtualMachinesApi.ts +0 -1142
- package/src/models/AgentStatusConsoleConnection.ts +0 -81
- package/src/models/Collection.ts +0 -78
- package/src/models/CollectionAggregate.ts +0 -99
- package/src/models/CollectionComparisonDiff.ts +0 -98
- package/src/models/CollectionComparisonSummary.ts +0 -86
- package/src/models/CollectionComparisonSummaryDiff.ts +0 -93
- package/src/models/CollectionListResponse.ts +0 -72
- package/src/models/ComparisonDiffEntry.ts +0 -76
- package/src/models/ComparisonDiffPage.ts +0 -85
- package/src/models/InspectionStatus.ts +0 -90
- package/src/models/Inventory1.ts +0 -97
- package/src/models/StartForecasterRequest.ts +0 -90
- package/src/models/VirtualMachineDevice.ts +0 -63
- package/src/models/VirtualMachineInspectionResults.ts +0 -71
- package/src/models/VirtualMachineIssue.ts +0 -93
- package/src/models/VirtualMachineNIC.ts +0 -75
package/docs/InspectorApi.md
DELETED
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
# InspectorApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
| [**getInspectorStatus**](InspectorApi.md#getinspectorstatus) | **GET** /inspector | Get inspector status |
|
|
8
|
-
| [**getInspectorVddkStatus**](InspectorApi.md#getinspectorvddkstatus) | **GET** /inspector/vddk | Get VDDK upload status |
|
|
9
|
-
| [**putInspectorVddk**](InspectorApi.md#putinspectorvddk) | **PUT** /inspector/vddk | Upload VDDK tarball |
|
|
10
|
-
| [**startInspection**](InspectorApi.md#startinspectionoperation) | **POST** /inspector | Start deep inspection for VMs |
|
|
11
|
-
| [**stopInspection**](InspectorApi.md#stopinspection) | **DELETE** /inspector | Stop inspector |
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## getInspectorStatus
|
|
16
|
-
|
|
17
|
-
> InspectorStatus getInspectorStatus(includeVddk)
|
|
18
|
-
|
|
19
|
-
Get inspector status
|
|
20
|
-
|
|
21
|
-
### Example
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
import {
|
|
25
|
-
Configuration,
|
|
26
|
-
InspectorApi,
|
|
27
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
28
|
-
import type { GetInspectorStatusRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
29
|
-
|
|
30
|
-
async function example() {
|
|
31
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
32
|
-
const api = new InspectorApi();
|
|
33
|
-
|
|
34
|
-
const body = {
|
|
35
|
-
// boolean | Include VDDK metadata in the response (optional)
|
|
36
|
-
includeVddk: true,
|
|
37
|
-
} satisfies GetInspectorStatusRequest;
|
|
38
|
-
|
|
39
|
-
try {
|
|
40
|
-
const data = await api.getInspectorStatus(body);
|
|
41
|
-
console.log(data);
|
|
42
|
-
} catch (error) {
|
|
43
|
-
console.error(error);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Run the test
|
|
48
|
-
example().catch(console.error);
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Parameters
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
| Name | Type | Description | Notes |
|
|
55
|
-
|------------- | ------------- | ------------- | -------------|
|
|
56
|
-
| **includeVddk** | `boolean` | Include VDDK metadata in the response | [Optional] [Defaults to `undefined`] |
|
|
57
|
-
|
|
58
|
-
### Return type
|
|
59
|
-
|
|
60
|
-
[**InspectorStatus**](InspectorStatus.md)
|
|
61
|
-
|
|
62
|
-
### Authorization
|
|
63
|
-
|
|
64
|
-
No authorization required
|
|
65
|
-
|
|
66
|
-
### HTTP request headers
|
|
67
|
-
|
|
68
|
-
- **Content-Type**: Not defined
|
|
69
|
-
- **Accept**: `application/json`
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### HTTP response details
|
|
73
|
-
| Status code | Description | Response headers |
|
|
74
|
-
|-------------|-------------|------------------|
|
|
75
|
-
| **200** | Inspector status | - |
|
|
76
|
-
| **409** | Report generation in progress | - |
|
|
77
|
-
| **500** | Internal server error | - |
|
|
78
|
-
|
|
79
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## getInspectorVddkStatus
|
|
83
|
-
|
|
84
|
-
> VddkProperties getInspectorVddkStatus()
|
|
85
|
-
|
|
86
|
-
Get VDDK upload status
|
|
87
|
-
|
|
88
|
-
### Example
|
|
89
|
-
|
|
90
|
-
```ts
|
|
91
|
-
import {
|
|
92
|
-
Configuration,
|
|
93
|
-
InspectorApi,
|
|
94
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
95
|
-
import type { GetInspectorVddkStatusRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
96
|
-
|
|
97
|
-
async function example() {
|
|
98
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
99
|
-
const api = new InspectorApi();
|
|
100
|
-
|
|
101
|
-
try {
|
|
102
|
-
const data = await api.getInspectorVddkStatus();
|
|
103
|
-
console.log(data);
|
|
104
|
-
} catch (error) {
|
|
105
|
-
console.error(error);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// Run the test
|
|
110
|
-
example().catch(console.error);
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
### Parameters
|
|
114
|
-
|
|
115
|
-
This endpoint does not need any parameter.
|
|
116
|
-
|
|
117
|
-
### Return type
|
|
118
|
-
|
|
119
|
-
[**VddkProperties**](VddkProperties.md)
|
|
120
|
-
|
|
121
|
-
### Authorization
|
|
122
|
-
|
|
123
|
-
No authorization required
|
|
124
|
-
|
|
125
|
-
### HTTP request headers
|
|
126
|
-
|
|
127
|
-
- **Content-Type**: Not defined
|
|
128
|
-
- **Accept**: `application/json`
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
### HTTP response details
|
|
132
|
-
| Status code | Description | Response headers |
|
|
133
|
-
|-------------|-------------|------------------|
|
|
134
|
-
| **200** | VDDK metadata | - |
|
|
135
|
-
| **404** | No VDDK uploaded | - |
|
|
136
|
-
| **500** | Internal server error | - |
|
|
137
|
-
|
|
138
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
## putInspectorVddk
|
|
142
|
-
|
|
143
|
-
> VddkProperties putInspectorVddk(file)
|
|
144
|
-
|
|
145
|
-
Upload VDDK tarball
|
|
146
|
-
|
|
147
|
-
### Example
|
|
148
|
-
|
|
149
|
-
```ts
|
|
150
|
-
import {
|
|
151
|
-
Configuration,
|
|
152
|
-
InspectorApi,
|
|
153
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
154
|
-
import type { PutInspectorVddkRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
155
|
-
|
|
156
|
-
async function example() {
|
|
157
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
158
|
-
const api = new InspectorApi();
|
|
159
|
-
|
|
160
|
-
const body = {
|
|
161
|
-
// Blob
|
|
162
|
-
file: BINARY_DATA_HERE,
|
|
163
|
-
} satisfies PutInspectorVddkRequest;
|
|
164
|
-
|
|
165
|
-
try {
|
|
166
|
-
const data = await api.putInspectorVddk(body);
|
|
167
|
-
console.log(data);
|
|
168
|
-
} catch (error) {
|
|
169
|
-
console.error(error);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
// Run the test
|
|
174
|
-
example().catch(console.error);
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Parameters
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
| Name | Type | Description | Notes |
|
|
181
|
-
|------------- | ------------- | ------------- | -------------|
|
|
182
|
-
| **file** | `Blob` | | [Defaults to `undefined`] |
|
|
183
|
-
|
|
184
|
-
### Return type
|
|
185
|
-
|
|
186
|
-
[**VddkProperties**](VddkProperties.md)
|
|
187
|
-
|
|
188
|
-
### Authorization
|
|
189
|
-
|
|
190
|
-
No authorization required
|
|
191
|
-
|
|
192
|
-
### HTTP request headers
|
|
193
|
-
|
|
194
|
-
- **Content-Type**: `multipart/form-data`
|
|
195
|
-
- **Accept**: `application/json`
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
### HTTP response details
|
|
199
|
-
| Status code | Description | Response headers |
|
|
200
|
-
|-------------|-------------|------------------|
|
|
201
|
-
| **200** | VDDK uploaded | - |
|
|
202
|
-
| **400** | Invalid VDDK | - |
|
|
203
|
-
| **409** | Upload already in progress | - |
|
|
204
|
-
| **413** | File too large (max 64MB) | - |
|
|
205
|
-
| **500** | Internal server error | - |
|
|
206
|
-
|
|
207
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
## startInspection
|
|
211
|
-
|
|
212
|
-
> InspectorStatus startInspection(startInspectionRequest)
|
|
213
|
-
|
|
214
|
-
Start deep inspection for VMs
|
|
215
|
-
|
|
216
|
-
### Example
|
|
217
|
-
|
|
218
|
-
```ts
|
|
219
|
-
import {
|
|
220
|
-
Configuration,
|
|
221
|
-
InspectorApi,
|
|
222
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
223
|
-
import type { StartInspectionOperationRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
224
|
-
|
|
225
|
-
async function example() {
|
|
226
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
227
|
-
const api = new InspectorApi();
|
|
228
|
-
|
|
229
|
-
const body = {
|
|
230
|
-
// StartInspectionRequest
|
|
231
|
-
startInspectionRequest: ...,
|
|
232
|
-
} satisfies StartInspectionOperationRequest;
|
|
233
|
-
|
|
234
|
-
try {
|
|
235
|
-
const data = await api.startInspection(body);
|
|
236
|
-
console.log(data);
|
|
237
|
-
} catch (error) {
|
|
238
|
-
console.error(error);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
// Run the test
|
|
243
|
-
example().catch(console.error);
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
### Parameters
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
| Name | Type | Description | Notes |
|
|
250
|
-
|------------- | ------------- | ------------- | -------------|
|
|
251
|
-
| **startInspectionRequest** | [StartInspectionRequest](StartInspectionRequest.md) | | |
|
|
252
|
-
|
|
253
|
-
### Return type
|
|
254
|
-
|
|
255
|
-
[**InspectorStatus**](InspectorStatus.md)
|
|
256
|
-
|
|
257
|
-
### Authorization
|
|
258
|
-
|
|
259
|
-
No authorization required
|
|
260
|
-
|
|
261
|
-
### HTTP request headers
|
|
262
|
-
|
|
263
|
-
- **Content-Type**: `application/json`
|
|
264
|
-
- **Accept**: `application/json`
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
### HTTP response details
|
|
268
|
-
| Status code | Description | Response headers |
|
|
269
|
-
|-------------|-------------|------------------|
|
|
270
|
-
| **202** | Inspection started | - |
|
|
271
|
-
| **400** | Invalid request (no VMs, no VDDK, no credentials) | - |
|
|
272
|
-
| **409** | Inspector already running | - |
|
|
273
|
-
| **500** | Internal server error | - |
|
|
274
|
-
|
|
275
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
## stopInspection
|
|
279
|
-
|
|
280
|
-
> InspectorStatus stopInspection()
|
|
281
|
-
|
|
282
|
-
Stop inspector
|
|
283
|
-
|
|
284
|
-
### Example
|
|
285
|
-
|
|
286
|
-
```ts
|
|
287
|
-
import {
|
|
288
|
-
Configuration,
|
|
289
|
-
InspectorApi,
|
|
290
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
291
|
-
import type { StopInspectionRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
292
|
-
|
|
293
|
-
async function example() {
|
|
294
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
295
|
-
const api = new InspectorApi();
|
|
296
|
-
|
|
297
|
-
try {
|
|
298
|
-
const data = await api.stopInspection();
|
|
299
|
-
console.log(data);
|
|
300
|
-
} catch (error) {
|
|
301
|
-
console.error(error);
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
// Run the test
|
|
306
|
-
example().catch(console.error);
|
|
307
|
-
```
|
|
308
|
-
|
|
309
|
-
### Parameters
|
|
310
|
-
|
|
311
|
-
This endpoint does not need any parameter.
|
|
312
|
-
|
|
313
|
-
### Return type
|
|
314
|
-
|
|
315
|
-
[**InspectorStatus**](InspectorStatus.md)
|
|
316
|
-
|
|
317
|
-
### Authorization
|
|
318
|
-
|
|
319
|
-
No authorization required
|
|
320
|
-
|
|
321
|
-
### HTTP request headers
|
|
322
|
-
|
|
323
|
-
- **Content-Type**: Not defined
|
|
324
|
-
- **Accept**: `application/json`
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
### HTTP response details
|
|
328
|
-
| Status code | Description | Response headers |
|
|
329
|
-
|-------------|-------------|------------------|
|
|
330
|
-
| **200** | Inspector stopped | - |
|
|
331
|
-
| **404** | Inspector not running | - |
|
|
332
|
-
| **409** | Report generation in progress | - |
|
|
333
|
-
| **500** | Internal server error | - |
|
|
334
|
-
|
|
335
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
336
|
-
|
package/docs/InventoriesApi.md
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
# InventoriesApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
| [**getInventory**](InventoriesApi.md#getinventory) | **GET** /collections/{id}/inventory | Get collected inventory for a collection |
|
|
8
|
-
| [**getLatestInventory**](InventoriesApi.md#getlatestinventory) | **GET** /inventory | Get inventory from the latest collection |
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## getInventory
|
|
13
|
-
|
|
14
|
-
> Inventory getInventory(id)
|
|
15
|
-
|
|
16
|
-
Get collected inventory for a collection
|
|
17
|
-
|
|
18
|
-
### Example
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
import {
|
|
22
|
-
Configuration,
|
|
23
|
-
InventoriesApi,
|
|
24
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
25
|
-
import type { GetInventoryRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
26
|
-
|
|
27
|
-
async function example() {
|
|
28
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
29
|
-
const api = new InventoriesApi();
|
|
30
|
-
|
|
31
|
-
const body = {
|
|
32
|
-
// string | Collection ID
|
|
33
|
-
id: id_example,
|
|
34
|
-
} satisfies GetInventoryRequest;
|
|
35
|
-
|
|
36
|
-
try {
|
|
37
|
-
const data = await api.getInventory(body);
|
|
38
|
-
console.log(data);
|
|
39
|
-
} catch (error) {
|
|
40
|
-
console.error(error);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Run the test
|
|
45
|
-
example().catch(console.error);
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Parameters
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
| Name | Type | Description | Notes |
|
|
52
|
-
|------------- | ------------- | ------------- | -------------|
|
|
53
|
-
| **id** | `string` | Collection ID | [Defaults to `undefined`] |
|
|
54
|
-
|
|
55
|
-
### Return type
|
|
56
|
-
|
|
57
|
-
[**Inventory**](Inventory.md)
|
|
58
|
-
|
|
59
|
-
### Authorization
|
|
60
|
-
|
|
61
|
-
No authorization required
|
|
62
|
-
|
|
63
|
-
### HTTP request headers
|
|
64
|
-
|
|
65
|
-
- **Content-Type**: Not defined
|
|
66
|
-
- **Accept**: `application/json`
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### HTTP response details
|
|
70
|
-
| Status code | Description | Response headers |
|
|
71
|
-
|-------------|-------------|------------------|
|
|
72
|
-
| **200** | Collected inventory | - |
|
|
73
|
-
| **404** | Collection or inventory not found | - |
|
|
74
|
-
| **500** | Internal server error | - |
|
|
75
|
-
|
|
76
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
## getLatestInventory
|
|
80
|
-
|
|
81
|
-
> Inventory getLatestInventory()
|
|
82
|
-
|
|
83
|
-
Get inventory from the latest collection
|
|
84
|
-
|
|
85
|
-
### Example
|
|
86
|
-
|
|
87
|
-
```ts
|
|
88
|
-
import {
|
|
89
|
-
Configuration,
|
|
90
|
-
InventoriesApi,
|
|
91
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
92
|
-
import type { GetLatestInventoryRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
93
|
-
|
|
94
|
-
async function example() {
|
|
95
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
96
|
-
const api = new InventoriesApi();
|
|
97
|
-
|
|
98
|
-
try {
|
|
99
|
-
const data = await api.getLatestInventory();
|
|
100
|
-
console.log(data);
|
|
101
|
-
} catch (error) {
|
|
102
|
-
console.error(error);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Run the test
|
|
107
|
-
example().catch(console.error);
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
### Parameters
|
|
111
|
-
|
|
112
|
-
This endpoint does not need any parameter.
|
|
113
|
-
|
|
114
|
-
### Return type
|
|
115
|
-
|
|
116
|
-
[**Inventory**](Inventory.md)
|
|
117
|
-
|
|
118
|
-
### Authorization
|
|
119
|
-
|
|
120
|
-
No authorization required
|
|
121
|
-
|
|
122
|
-
### HTTP request headers
|
|
123
|
-
|
|
124
|
-
- **Content-Type**: Not defined
|
|
125
|
-
- **Accept**: `application/json`
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
### HTTP response details
|
|
129
|
-
| Status code | Description | Response headers |
|
|
130
|
-
|-------------|-------------|------------------|
|
|
131
|
-
| **200** | Collected inventory | - |
|
|
132
|
-
| **404** | No collections or inventory not found | - |
|
|
133
|
-
| **500** | Internal server error | - |
|
|
134
|
-
|
|
135
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
136
|
-
|
package/docs/RightsizingApi.md
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
# RightsizingApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
| [**getClusterUtilization**](RightsizingApi.md#getclusterutilization) | **GET** /collections/{id}/clusters/{clusterId}/utilization | Get latest cluster utilization by cluster ID |
|
|
8
|
-
| [**getLatestVMUtilization**](RightsizingApi.md#getlatestvmutilization) | **GET** /virtualmachines/{vmId}/utilization | Get utilization breakdown for a specific VM from the latest collection |
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## getClusterUtilization
|
|
13
|
-
|
|
14
|
-
> RightsizingClusterResponse getClusterUtilization(id, clusterId)
|
|
15
|
-
|
|
16
|
-
Get latest cluster utilization by cluster ID
|
|
17
|
-
|
|
18
|
-
### Example
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
import {
|
|
22
|
-
Configuration,
|
|
23
|
-
RightsizingApi,
|
|
24
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
25
|
-
import type { GetClusterUtilizationRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
26
|
-
|
|
27
|
-
async function example() {
|
|
28
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
29
|
-
const api = new RightsizingApi();
|
|
30
|
-
|
|
31
|
-
const body = {
|
|
32
|
-
// string | Collection ID
|
|
33
|
-
id: id_example,
|
|
34
|
-
// string | vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID
|
|
35
|
-
clusterId: clusterId_example,
|
|
36
|
-
} satisfies GetClusterUtilizationRequest;
|
|
37
|
-
|
|
38
|
-
try {
|
|
39
|
-
const data = await api.getClusterUtilization(body);
|
|
40
|
-
console.log(data);
|
|
41
|
-
} catch (error) {
|
|
42
|
-
console.error(error);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Run the test
|
|
47
|
-
example().catch(console.error);
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### Parameters
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
| Name | Type | Description | Notes |
|
|
54
|
-
|------------- | ------------- | ------------- | -------------|
|
|
55
|
-
| **id** | `string` | Collection ID | [Defaults to `undefined`] |
|
|
56
|
-
| **clusterId** | `string` | vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID | [Defaults to `undefined`] |
|
|
57
|
-
|
|
58
|
-
### Return type
|
|
59
|
-
|
|
60
|
-
[**RightsizingClusterResponse**](RightsizingClusterResponse.md)
|
|
61
|
-
|
|
62
|
-
### Authorization
|
|
63
|
-
|
|
64
|
-
No authorization required
|
|
65
|
-
|
|
66
|
-
### HTTP request headers
|
|
67
|
-
|
|
68
|
-
- **Content-Type**: Not defined
|
|
69
|
-
- **Accept**: `application/json`
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### HTTP response details
|
|
73
|
-
| Status code | Description | Response headers |
|
|
74
|
-
|-------------|-------------|------------------|
|
|
75
|
-
| **200** | Cluster utilization data from the latest completed rightsizing report | - |
|
|
76
|
-
| **400** | Invalid cluster_id format | - |
|
|
77
|
-
| **404** | Collection not found, no completed report, or cluster not found | - |
|
|
78
|
-
| **500** | Internal server error | - |
|
|
79
|
-
|
|
80
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
## getLatestVMUtilization
|
|
84
|
-
|
|
85
|
-
> VmUtilizationDetails getLatestVMUtilization(vmId)
|
|
86
|
-
|
|
87
|
-
Get utilization breakdown for a specific VM from the latest collection
|
|
88
|
-
|
|
89
|
-
### Example
|
|
90
|
-
|
|
91
|
-
```ts
|
|
92
|
-
import {
|
|
93
|
-
Configuration,
|
|
94
|
-
RightsizingApi,
|
|
95
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
96
|
-
import type { GetLatestVMUtilizationRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
97
|
-
|
|
98
|
-
async function example() {
|
|
99
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
100
|
-
const api = new RightsizingApi();
|
|
101
|
-
|
|
102
|
-
const body = {
|
|
103
|
-
// string | VirtualMachine MoRef ID
|
|
104
|
-
vmId: vmId_example,
|
|
105
|
-
} satisfies GetLatestVMUtilizationRequest;
|
|
106
|
-
|
|
107
|
-
try {
|
|
108
|
-
const data = await api.getLatestVMUtilization(body);
|
|
109
|
-
console.log(data);
|
|
110
|
-
} catch (error) {
|
|
111
|
-
console.error(error);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// Run the test
|
|
116
|
-
example().catch(console.error);
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
### Parameters
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
| Name | Type | Description | Notes |
|
|
123
|
-
|------------- | ------------- | ------------- | -------------|
|
|
124
|
-
| **vmId** | `string` | VirtualMachine MoRef ID | [Defaults to `undefined`] |
|
|
125
|
-
|
|
126
|
-
### Return type
|
|
127
|
-
|
|
128
|
-
[**VmUtilizationDetails**](VmUtilizationDetails.md)
|
|
129
|
-
|
|
130
|
-
### Authorization
|
|
131
|
-
|
|
132
|
-
No authorization required
|
|
133
|
-
|
|
134
|
-
### HTTP request headers
|
|
135
|
-
|
|
136
|
-
- **Content-Type**: Not defined
|
|
137
|
-
- **Accept**: `application/json`
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### HTTP response details
|
|
141
|
-
| Status code | Description | Response headers |
|
|
142
|
-
|-------------|-------------|------------------|
|
|
143
|
-
| **200** | VM utilization details | - |
|
|
144
|
-
| **404** | No collections or no utilization data for this VM | - |
|
|
145
|
-
| **500** | Internal server error | - |
|
|
146
|
-
|
|
147
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
148
|
-
|
package/docs/VersionApi.md
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# VersionApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
| [**getVersion**](VersionApi.md#getversion) | **GET** /version | Get agent version information |
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## getVersion
|
|
12
|
-
|
|
13
|
-
> VersionInfo getVersion()
|
|
14
|
-
|
|
15
|
-
Get agent version information
|
|
16
|
-
|
|
17
|
-
### Example
|
|
18
|
-
|
|
19
|
-
```ts
|
|
20
|
-
import {
|
|
21
|
-
Configuration,
|
|
22
|
-
VersionApi,
|
|
23
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
24
|
-
import type { GetVersionRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
25
|
-
|
|
26
|
-
async function example() {
|
|
27
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
28
|
-
const api = new VersionApi();
|
|
29
|
-
|
|
30
|
-
try {
|
|
31
|
-
const data = await api.getVersion();
|
|
32
|
-
console.log(data);
|
|
33
|
-
} catch (error) {
|
|
34
|
-
console.error(error);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Run the test
|
|
39
|
-
example().catch(console.error);
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### Parameters
|
|
43
|
-
|
|
44
|
-
This endpoint does not need any parameter.
|
|
45
|
-
|
|
46
|
-
### Return type
|
|
47
|
-
|
|
48
|
-
[**VersionInfo**](VersionInfo.md)
|
|
49
|
-
|
|
50
|
-
### Authorization
|
|
51
|
-
|
|
52
|
-
No authorization required
|
|
53
|
-
|
|
54
|
-
### HTTP request headers
|
|
55
|
-
|
|
56
|
-
- **Content-Type**: Not defined
|
|
57
|
-
- **Accept**: `application/json`
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### HTTP response details
|
|
61
|
-
| Status code | Description | Response headers |
|
|
62
|
-
|-------------|-------------|------------------|
|
|
63
|
-
| **200** | Version information | - |
|
|
64
|
-
|
|
65
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
66
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# VirtualMachineInspectionResults
|
|
3
|
-
|
|
4
|
-
VirtualMachines Inspection results
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
Name | Type
|
|
9
|
-
------------ | -------------
|
|
10
|
-
`concerns` | [Array<VirtualMachineInspectionConcern>](VirtualMachineInspectionConcern.md)
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { VirtualMachineInspectionResults } from '@openshift-migration-advisor/agent-sdk'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"concerns": null,
|
|
20
|
-
} satisfies VirtualMachineInspectionResults
|
|
21
|
-
|
|
22
|
-
console.log(example)
|
|
23
|
-
|
|
24
|
-
// Convert the instance to a JSON string
|
|
25
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
26
|
-
console.log(exampleJSON)
|
|
27
|
-
|
|
28
|
-
// Parse the JSON string back to an object
|
|
29
|
-
const exampleParsed = JSON.parse(exampleJSON) as VirtualMachineInspectionResults
|
|
30
|
-
console.log(exampleParsed)
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
34
|
-
|
|
35
|
-
|