@openshift-migration-advisor/agent-sdk 0.20.1-bf086d122d0f → 0.20.1
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 -81
- 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 +15 -4
- package/dist/esm/models/AgentStatus.js +13 -5
- 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 +17 -3
- package/dist/esm/models/Inventory.js +14 -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 -42
- package/dist/esm/models/VirtualMachineDetail.js +16 -20
- 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 +15 -4
- package/dist/models/AgentStatus.js +14 -6
- 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 +17 -3
- package/dist/models/Inventory.js +14 -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 -42
- package/dist/models/VirtualMachineDetail.js +16 -20
- 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 -2
- 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/{AgentStatusConsoleConnection.md → ExportInventory400Response.md} +5 -7
- package/docs/{InspectionStatus.md → ExportInventory500Response.md} +4 -6
- package/docs/ForecastStats.md +16 -16
- package/docs/{Collection.md → ForecasterDatastoresRequest.md} +6 -10
- 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 +8 -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/{CollectionListResponse.md → RightsizingMetricStats.md} +16 -6
- 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 -7
- 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/VmInspectionStatus.md +40 -0
- 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 +21 -14
- 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 +30 -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 -80
- 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 -217
- package/dist/apis/CollectionsApi.js +0 -216
- package/dist/apis/CollectorApi.d.ts +0 -116
- package/dist/apis/CollectorApi.js +0 -137
- 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 -217
- package/dist/esm/apis/CollectionsApi.js +0 -212
- package/dist/esm/apis/CollectorApi.d.ts +0 -116
- package/dist/esm/apis/CollectorApi.js +0 -133
- 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 -45
- package/dist/esm/models/InspectionStatus.js +0 -55
- package/dist/esm/models/Inventory1.d.ts +0 -45
- package/dist/esm/models/Inventory1.js +0 -53
- 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 -45
- package/dist/models/InspectionStatus.js +0 -63
- package/dist/models/Inventory1.d.ts +0 -45
- package/dist/models/Inventory1.js +0 -60
- 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/CollectionComparisonDiff.md +0 -38
- package/docs/CollectionComparisonSummary.md +0 -36
- package/docs/CollectionComparisonSummaryDiff.md +0 -41
- package/docs/CollectionsApi.md +0 -291
- package/docs/CollectorApi.md +0 -187
- package/docs/CredentialsApi.md +0 -264
- package/docs/ForecasterApi.md +0 -612
- package/docs/GroupsApi.md +0 -527
- package/docs/InspectorApi.md +0 -334
- 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 -411
- package/src/apis/CollectorApi.ts +0 -209
- 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 -84
- package/src/models/Inventory1.ts +0 -91
- 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
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VMNIC
|
|
20
|
+
*/
|
|
21
|
+
export interface VMNIC {
|
|
22
|
+
/**
|
|
23
|
+
* MAC address of the virtual NIC
|
|
24
|
+
*/
|
|
25
|
+
mac?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Reference to the network this NIC is connected to
|
|
28
|
+
*/
|
|
29
|
+
network?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Index of the NIC within the VirtualMachine
|
|
32
|
+
*/
|
|
33
|
+
index?: number;
|
|
34
|
+
/**
|
|
35
|
+
* IPv4 address of this NIC as reported by VMware Tools
|
|
36
|
+
*/
|
|
37
|
+
ipv4Address?: string;
|
|
38
|
+
/**
|
|
39
|
+
* IPv6 address of this NIC as reported by VMware Tools
|
|
40
|
+
*/
|
|
41
|
+
ipv6Address?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the VMNIC interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfVMNIC(value: object): value is VMNIC {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function VMNICFromJSON(json: any): VMNIC {
|
|
52
|
+
return VMNICFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function VMNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMNIC {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
62
|
+
'network': json['network'] == null ? undefined : json['network'],
|
|
63
|
+
'index': json['index'] == null ? undefined : json['index'],
|
|
64
|
+
'ipv4Address': json['ipv4Address'] == null ? undefined : json['ipv4Address'],
|
|
65
|
+
'ipv6Address': json['ipv6Address'] == null ? undefined : json['ipv6Address'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function VMNICToJSON(json: any): VMNIC {
|
|
70
|
+
return VMNICToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function VMNICToJSONTyped(value?: VMNIC | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'mac': value['mac'],
|
|
81
|
+
'network': value['network'],
|
|
82
|
+
'index': value['index'],
|
|
83
|
+
'ipv4Address': value['ipv4Address'],
|
|
84
|
+
'ipv6Address': value['ipv6Address'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/VMs.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ export interface VddkProperties {
|
|
|
28
28
|
*/
|
|
29
29
|
md5: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* provided tarball bytes
|
|
32
32
|
*/
|
|
33
33
|
bytes?: number;
|
|
34
34
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,15 +20,15 @@ import { mapValues } from '../runtime.js';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface VersionInfo {
|
|
22
22
|
/**
|
|
23
|
-
* Agent version
|
|
23
|
+
* Agent version (e.g. v2.0.0)
|
|
24
24
|
*/
|
|
25
25
|
version: string;
|
|
26
26
|
/**
|
|
27
|
-
* Git commit SHA
|
|
27
|
+
* Git commit SHA used to build the agent
|
|
28
28
|
*/
|
|
29
29
|
gitCommit: string;
|
|
30
30
|
/**
|
|
31
|
-
* UI
|
|
31
|
+
* Git commit SHA of the UI used to build the agent
|
|
32
32
|
*/
|
|
33
33
|
uiGitCommit: string;
|
|
34
34
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type {
|
|
16
|
+
import type { VmInspectionStatus } from './VmInspectionStatus.js';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
VmInspectionStatusFromJSON,
|
|
19
|
+
VmInspectionStatusFromJSONTyped,
|
|
20
|
+
VmInspectionStatusToJSON,
|
|
21
|
+
VmInspectionStatusToJSONTyped,
|
|
22
|
+
} from './VmInspectionStatus.js';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -35,10 +35,6 @@ export interface VirtualMachine {
|
|
|
35
35
|
* VirtualMachine ID in vCenter
|
|
36
36
|
*/
|
|
37
37
|
id: string;
|
|
38
|
-
/**
|
|
39
|
-
* Identifier of the vCenter this VirtualMachine belongs to
|
|
40
|
-
*/
|
|
41
|
-
vCenterID: string;
|
|
42
38
|
/**
|
|
43
39
|
* vCenter state (e.g., poweredOn, poweredOff, suspended)
|
|
44
40
|
*/
|
|
@@ -64,25 +60,25 @@ export interface VirtualMachine {
|
|
|
64
60
|
*/
|
|
65
61
|
issueCount: number;
|
|
66
62
|
/**
|
|
67
|
-
* True if the
|
|
63
|
+
* True if the vm is migratable for MTV. False otherwise
|
|
68
64
|
*/
|
|
69
65
|
migratable?: boolean;
|
|
70
66
|
/**
|
|
71
|
-
* True if the
|
|
67
|
+
* True if the vm is a template. False otherwise
|
|
72
68
|
*/
|
|
73
69
|
template?: boolean;
|
|
74
70
|
/**
|
|
75
|
-
*
|
|
71
|
+
* Whether this VM is excluded from migration
|
|
76
72
|
*/
|
|
77
|
-
|
|
73
|
+
migrationExcluded?: boolean;
|
|
78
74
|
/**
|
|
79
|
-
*
|
|
75
|
+
*
|
|
80
76
|
*/
|
|
81
|
-
|
|
77
|
+
inspectionStatus?: VmInspectionStatus;
|
|
82
78
|
/**
|
|
83
|
-
*
|
|
79
|
+
* Number of inspection concerns recorded for the latest persisted inspection result
|
|
84
80
|
*/
|
|
85
|
-
|
|
81
|
+
inspectionConcernCount?: number;
|
|
86
82
|
/**
|
|
87
83
|
* Names of groups this VM matches
|
|
88
84
|
*/
|
|
@@ -112,7 +108,7 @@ export interface VirtualMachine {
|
|
|
112
108
|
*/
|
|
113
109
|
utilization_disk?: number;
|
|
114
110
|
/**
|
|
115
|
-
* Data confidence
|
|
111
|
+
* Data confidence — sample_count / expected_sample_count × 100
|
|
116
112
|
*/
|
|
117
113
|
utilization_confidence?: number;
|
|
118
114
|
}
|
|
@@ -123,7 +119,6 @@ export interface VirtualMachine {
|
|
|
123
119
|
export function instanceOfVirtualMachine(value: object): value is VirtualMachine {
|
|
124
120
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
125
121
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
126
|
-
if (!('vCenterID' in value) || value['vCenterID'] === undefined) return false;
|
|
127
122
|
if (!('vCenterState' in value) || value['vCenterState'] === undefined) return false;
|
|
128
123
|
if (!('cluster' in value) || value['cluster'] === undefined) return false;
|
|
129
124
|
if (!('datacenter' in value) || value['datacenter'] === undefined) return false;
|
|
@@ -145,7 +140,6 @@ export function VirtualMachineFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
145
140
|
|
|
146
141
|
'name': json['name'],
|
|
147
142
|
'id': json['id'],
|
|
148
|
-
'vCenterID': json['vCenterID'],
|
|
149
143
|
'vCenterState': json['vCenterState'],
|
|
150
144
|
'cluster': json['cluster'],
|
|
151
145
|
'datacenter': json['datacenter'],
|
|
@@ -154,9 +148,9 @@ export function VirtualMachineFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
154
148
|
'issueCount': json['issueCount'],
|
|
155
149
|
'migratable': json['migratable'] == null ? undefined : json['migratable'],
|
|
156
150
|
'template': json['template'] == null ? undefined : json['template'],
|
|
157
|
-
'inspectionStatus': json['inspectionStatus'] == null ? undefined : InspectionStatusFromJSON(json['inspectionStatus']),
|
|
158
|
-
'inspectionConcernCount': json['inspectionConcernCount'] == null ? undefined : json['inspectionConcernCount'],
|
|
159
151
|
'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
|
|
152
|
+
'inspectionStatus': json['inspectionStatus'] == null ? undefined : VmInspectionStatusFromJSON(json['inspectionStatus']),
|
|
153
|
+
'inspectionConcernCount': json['inspectionConcernCount'] == null ? undefined : json['inspectionConcernCount'],
|
|
160
154
|
'groups': json['groups'] == null ? undefined : json['groups'],
|
|
161
155
|
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
162
156
|
'utilization_cpu_p95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
|
|
@@ -181,7 +175,6 @@ export function VirtualMachineToJSONTyped(value?: VirtualMachine | null, ignoreD
|
|
|
181
175
|
|
|
182
176
|
'name': value['name'],
|
|
183
177
|
'id': value['id'],
|
|
184
|
-
'vCenterID': value['vCenterID'],
|
|
185
178
|
'vCenterState': value['vCenterState'],
|
|
186
179
|
'cluster': value['cluster'],
|
|
187
180
|
'datacenter': value['datacenter'],
|
|
@@ -190,9 +183,9 @@ export function VirtualMachineToJSONTyped(value?: VirtualMachine | null, ignoreD
|
|
|
190
183
|
'issueCount': value['issueCount'],
|
|
191
184
|
'migratable': value['migratable'],
|
|
192
185
|
'template': value['template'],
|
|
193
|
-
'inspectionStatus': InspectionStatusToJSON(value['inspectionStatus']),
|
|
194
|
-
'inspectionConcernCount': value['inspectionConcernCount'],
|
|
195
186
|
'migrationExcluded': value['migrationExcluded'],
|
|
187
|
+
'inspectionStatus': VmInspectionStatusToJSON(value['inspectionStatus']),
|
|
188
|
+
'inspectionConcernCount': value['inspectionConcernCount'],
|
|
196
189
|
'groups': value['groups'],
|
|
197
190
|
'labels': value['labels'],
|
|
198
191
|
'utilization_cpu_p95': value['utilization_cpu_p95'],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type {
|
|
16
|
+
import type { VMNIC } from './VMNIC.js';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
VMNICFromJSON,
|
|
19
|
+
VMNICFromJSONTyped,
|
|
20
|
+
VMNICToJSON,
|
|
21
|
+
VMNICToJSONTyped,
|
|
22
|
+
} from './VMNIC.js';
|
|
23
23
|
import type { GuestNetwork } from './GuestNetwork.js';
|
|
24
24
|
import {
|
|
25
25
|
GuestNetworkFromJSON,
|
|
@@ -27,20 +27,20 @@ import {
|
|
|
27
27
|
GuestNetworkToJSON,
|
|
28
28
|
GuestNetworkToJSONTyped,
|
|
29
29
|
} from './GuestNetwork.js';
|
|
30
|
-
import type {
|
|
30
|
+
import type { VMIssue } from './VMIssue.js';
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from './
|
|
37
|
-
import type {
|
|
32
|
+
VMIssueFromJSON,
|
|
33
|
+
VMIssueFromJSONTyped,
|
|
34
|
+
VMIssueToJSON,
|
|
35
|
+
VMIssueToJSONTyped,
|
|
36
|
+
} from './VMIssue.js';
|
|
37
|
+
import type { VMDevice } from './VMDevice.js';
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from './
|
|
39
|
+
VMDeviceFromJSON,
|
|
40
|
+
VMDeviceFromJSONTyped,
|
|
41
|
+
VMDeviceToJSON,
|
|
42
|
+
VMDeviceToJSONTyped,
|
|
43
|
+
} from './VMDevice.js';
|
|
44
44
|
import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
|
|
45
45
|
import {
|
|
46
46
|
VmUtilizationDetailsFromJSON,
|
|
@@ -55,20 +55,20 @@ import {
|
|
|
55
55
|
ProcessToJSON,
|
|
56
56
|
ProcessToJSONTyped,
|
|
57
57
|
} from './Process.js';
|
|
58
|
-
import type {
|
|
58
|
+
import type { VMDisk } from './VMDisk.js';
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
} from './
|
|
65
|
-
import type {
|
|
60
|
+
VMDiskFromJSON,
|
|
61
|
+
VMDiskFromJSONTyped,
|
|
62
|
+
VMDiskToJSON,
|
|
63
|
+
VMDiskToJSONTyped,
|
|
64
|
+
} from './VMDisk.js';
|
|
65
|
+
import type { VmInspectionResults } from './VmInspectionResults.js';
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from './
|
|
67
|
+
VmInspectionResultsFromJSON,
|
|
68
|
+
VmInspectionResultsFromJSONTyped,
|
|
69
|
+
VmInspectionResultsToJSON,
|
|
70
|
+
VmInspectionResultsToJSONTyped,
|
|
71
|
+
} from './VmInspectionResults.js';
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
@@ -84,84 +84,80 @@ export interface VirtualMachineDetail {
|
|
|
84
84
|
* Display name of the VirtualMachine
|
|
85
85
|
*/
|
|
86
86
|
name: string;
|
|
87
|
-
/**
|
|
88
|
-
* Identifier of the vCenter this VirtualMachine belongs to
|
|
89
|
-
*/
|
|
90
|
-
vCenterID: string;
|
|
91
87
|
/**
|
|
92
88
|
* Universally unique identifier assigned by vCenter
|
|
93
89
|
*/
|
|
94
90
|
uuid?: string;
|
|
95
91
|
/**
|
|
96
|
-
* Firmware type (bios or efi)
|
|
92
|
+
* Firmware type used by the VirtualMachine (bios or efi)
|
|
97
93
|
*/
|
|
98
94
|
firmware?: string;
|
|
99
95
|
/**
|
|
100
|
-
* Current power state (poweredOn, poweredOff, suspended)
|
|
96
|
+
* Current power state of the VirtualMachine (poweredOn, poweredOff, or suspended)
|
|
101
97
|
*/
|
|
102
98
|
powerState: string;
|
|
103
99
|
/**
|
|
104
|
-
*
|
|
100
|
+
* State of the connection between vCenter and the VirtualMachine's host (connected, disconnected, orphaned, or inaccessible)
|
|
105
101
|
*/
|
|
106
102
|
connectionState: string;
|
|
107
103
|
/**
|
|
108
|
-
* ESXi host
|
|
104
|
+
* Reference to the ESXi host where the VirtualMachine is running
|
|
109
105
|
*/
|
|
110
106
|
host?: string;
|
|
111
107
|
/**
|
|
112
|
-
*
|
|
108
|
+
* Name of the datacenter containing the VirtualMachine
|
|
113
109
|
*/
|
|
114
110
|
datacenter?: string;
|
|
115
111
|
/**
|
|
116
|
-
*
|
|
112
|
+
* Name of the cluster containing the VirtualMachine
|
|
117
113
|
*/
|
|
118
114
|
cluster?: string;
|
|
119
115
|
/**
|
|
120
|
-
*
|
|
116
|
+
* Reference to the inventory folder containing the VirtualMachine
|
|
121
117
|
*/
|
|
122
118
|
folder?: string;
|
|
123
119
|
/**
|
|
124
|
-
* Total virtual CPUs
|
|
120
|
+
* Total number of virtual CPUs allocated to the VirtualMachine
|
|
125
121
|
*/
|
|
126
122
|
cpuCount: number;
|
|
127
123
|
/**
|
|
128
|
-
* CPU cores per virtual socket
|
|
124
|
+
* Number of CPU cores per virtual socket
|
|
129
125
|
*/
|
|
130
126
|
coresPerSocket: number;
|
|
131
127
|
/**
|
|
132
|
-
*
|
|
128
|
+
* List of physical CPU IDs the VirtualMachine is pinned to for scheduling
|
|
133
129
|
*/
|
|
134
130
|
cpuAffinity?: Array<number>;
|
|
135
131
|
/**
|
|
136
|
-
*
|
|
132
|
+
* Amount of memory allocated to the VirtualMachine in megabytes
|
|
137
133
|
*/
|
|
138
134
|
memoryMB: number;
|
|
139
135
|
/**
|
|
140
|
-
*
|
|
136
|
+
* Full name of the guest operating system as reported by VMware Tools
|
|
141
137
|
*/
|
|
142
138
|
guestName?: string;
|
|
143
139
|
/**
|
|
144
|
-
* VMware guest OS
|
|
140
|
+
* VMware identifier for the guest OS type (e.g., rhel8_64Guest)
|
|
145
141
|
*/
|
|
146
142
|
guestId?: string;
|
|
147
143
|
/**
|
|
148
|
-
*
|
|
144
|
+
* Hostname of the guest OS as reported by VMware Tools
|
|
149
145
|
*/
|
|
150
146
|
hostName?: string;
|
|
151
147
|
/**
|
|
152
|
-
*
|
|
148
|
+
* Primary IP address of the guest OS as reported by VMware Tools
|
|
153
149
|
*/
|
|
154
150
|
ipAddress?: string;
|
|
155
151
|
/**
|
|
156
|
-
*
|
|
152
|
+
* Total storage space consumed by the VirtualMachine in bytes
|
|
157
153
|
*/
|
|
158
154
|
storageUsed?: number;
|
|
159
155
|
/**
|
|
160
|
-
* Whether the VirtualMachine is a template
|
|
156
|
+
* Whether the VirtualMachine is a template rather than a regular VirtualMachine
|
|
161
157
|
*/
|
|
162
158
|
template?: boolean;
|
|
163
159
|
/**
|
|
164
|
-
* Whether the VirtualMachine can be migrated
|
|
160
|
+
* Whether the VirtualMachine can be migrated (true if no critical issues)
|
|
165
161
|
*/
|
|
166
162
|
migratable?: boolean;
|
|
167
163
|
/**
|
|
@@ -173,45 +169,45 @@ export interface VirtualMachineDetail {
|
|
|
173
169
|
*/
|
|
174
170
|
labels?: Array<string>;
|
|
175
171
|
/**
|
|
176
|
-
* Whether Fault Tolerance is enabled
|
|
172
|
+
* Whether VMware Fault Tolerance is enabled, which maintains a live shadow VirtualMachine for instant failover
|
|
177
173
|
*/
|
|
178
174
|
faultToleranceEnabled?: boolean;
|
|
179
175
|
/**
|
|
180
|
-
* Whether nested virtualization is enabled
|
|
176
|
+
* Whether nested virtualization is enabled, allowing hypervisors to run inside the VirtualMachine
|
|
181
177
|
*/
|
|
182
178
|
nestedHVEnabled?: boolean;
|
|
183
179
|
/**
|
|
184
|
-
* VMware Tools
|
|
180
|
+
* Installation status of VMware Tools (toolsNotInstalled, toolsNotRunning, toolsOld, toolsOk)
|
|
185
181
|
*/
|
|
186
182
|
toolsStatus?: string;
|
|
187
183
|
/**
|
|
188
|
-
* Whether VMware Tools is running
|
|
184
|
+
* Whether VMware Tools is currently running in the guest OS
|
|
189
185
|
*/
|
|
190
186
|
toolsRunningStatus?: string;
|
|
191
187
|
/**
|
|
192
|
-
*
|
|
188
|
+
* List of virtual disks attached to the VirtualMachine
|
|
193
189
|
*/
|
|
194
|
-
disks: Array<
|
|
190
|
+
disks: Array<VMDisk>;
|
|
195
191
|
/**
|
|
196
|
-
*
|
|
192
|
+
* List of virtual network interface cards attached to the VirtualMachine
|
|
197
193
|
*/
|
|
198
|
-
nics: Array<
|
|
194
|
+
nics: Array<VMNIC>;
|
|
199
195
|
/**
|
|
200
|
-
*
|
|
196
|
+
* List of other virtual devices attached to the VirtualMachine
|
|
201
197
|
*/
|
|
202
|
-
devices?: Array<
|
|
198
|
+
devices?: Array<VMDevice>;
|
|
203
199
|
/**
|
|
204
|
-
*
|
|
200
|
+
* Network configuration inside the guest OS as reported by VMware Tools
|
|
205
201
|
*/
|
|
206
202
|
guestNetworks?: Array<GuestNetwork>;
|
|
207
203
|
/**
|
|
208
|
-
*
|
|
204
|
+
* List of issues affecting this VirtualMachine
|
|
209
205
|
*/
|
|
210
|
-
issues?: Array<
|
|
206
|
+
issues?: Array<VMIssue>;
|
|
211
207
|
/**
|
|
212
208
|
*
|
|
213
209
|
*/
|
|
214
|
-
inspection?:
|
|
210
|
+
inspection?: VmInspectionResults;
|
|
215
211
|
/**
|
|
216
212
|
*
|
|
217
213
|
*/
|
|
@@ -228,7 +224,6 @@ export interface VirtualMachineDetail {
|
|
|
228
224
|
export function instanceOfVirtualMachineDetail(value: object): value is VirtualMachineDetail {
|
|
229
225
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
230
226
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
231
|
-
if (!('vCenterID' in value) || value['vCenterID'] === undefined) return false;
|
|
232
227
|
if (!('powerState' in value) || value['powerState'] === undefined) return false;
|
|
233
228
|
if (!('connectionState' in value) || value['connectionState'] === undefined) return false;
|
|
234
229
|
if (!('cpuCount' in value) || value['cpuCount'] === undefined) return false;
|
|
@@ -251,7 +246,6 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
251
246
|
|
|
252
247
|
'id': json['id'],
|
|
253
248
|
'name': json['name'],
|
|
254
|
-
'vCenterID': json['vCenterID'],
|
|
255
249
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
256
250
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
257
251
|
'powerState': json['powerState'],
|
|
@@ -277,12 +271,12 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
277
271
|
'nestedHVEnabled': json['nestedHVEnabled'] == null ? undefined : json['nestedHVEnabled'],
|
|
278
272
|
'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
|
|
279
273
|
'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
|
|
280
|
-
'disks': ((json['disks'] as Array<any>).map(
|
|
281
|
-
'nics': ((json['nics'] as Array<any>).map(
|
|
282
|
-
'devices': json['devices'] == null ? undefined : ((json['devices'] as Array<any>).map(
|
|
274
|
+
'disks': ((json['disks'] as Array<any>).map(VMDiskFromJSON)),
|
|
275
|
+
'nics': ((json['nics'] as Array<any>).map(VMNICFromJSON)),
|
|
276
|
+
'devices': json['devices'] == null ? undefined : ((json['devices'] as Array<any>).map(VMDeviceFromJSON)),
|
|
283
277
|
'guestNetworks': json['guestNetworks'] == null ? undefined : ((json['guestNetworks'] as Array<any>).map(GuestNetworkFromJSON)),
|
|
284
|
-
'issues': json['issues'] == null ? undefined : ((json['issues'] as Array<any>).map(
|
|
285
|
-
'inspection': json['inspection'] == null ? undefined :
|
|
278
|
+
'issues': json['issues'] == null ? undefined : ((json['issues'] as Array<any>).map(VMIssueFromJSON)),
|
|
279
|
+
'inspection': json['inspection'] == null ? undefined : VmInspectionResultsFromJSON(json['inspection']),
|
|
286
280
|
'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
|
|
287
281
|
'processes': json['processes'] == null ? undefined : ((json['processes'] as Array<any>).map(ProcessFromJSON)),
|
|
288
282
|
};
|
|
@@ -301,7 +295,6 @@ export function VirtualMachineDetailToJSONTyped(value?: VirtualMachineDetail | n
|
|
|
301
295
|
|
|
302
296
|
'id': value['id'],
|
|
303
297
|
'name': value['name'],
|
|
304
|
-
'vCenterID': value['vCenterID'],
|
|
305
298
|
'uuid': value['uuid'],
|
|
306
299
|
'firmware': value['firmware'],
|
|
307
300
|
'powerState': value['powerState'],
|
|
@@ -327,12 +320,12 @@ export function VirtualMachineDetailToJSONTyped(value?: VirtualMachineDetail | n
|
|
|
327
320
|
'nestedHVEnabled': value['nestedHVEnabled'],
|
|
328
321
|
'toolsStatus': value['toolsStatus'],
|
|
329
322
|
'toolsRunningStatus': value['toolsRunningStatus'],
|
|
330
|
-
'disks': ((value['disks'] as Array<any>).map(
|
|
331
|
-
'nics': ((value['nics'] as Array<any>).map(
|
|
332
|
-
'devices': value['devices'] == null ? undefined : ((value['devices'] as Array<any>).map(
|
|
323
|
+
'disks': ((value['disks'] as Array<any>).map(VMDiskToJSON)),
|
|
324
|
+
'nics': ((value['nics'] as Array<any>).map(VMNICToJSON)),
|
|
325
|
+
'devices': value['devices'] == null ? undefined : ((value['devices'] as Array<any>).map(VMDeviceToJSON)),
|
|
333
326
|
'guestNetworks': value['guestNetworks'] == null ? undefined : ((value['guestNetworks'] as Array<any>).map(GuestNetworkToJSON)),
|
|
334
|
-
'issues': value['issues'] == null ? undefined : ((value['issues'] as Array<any>).map(
|
|
335
|
-
'inspection':
|
|
327
|
+
'issues': value['issues'] == null ? undefined : ((value['issues'] as Array<any>).map(VMIssueToJSON)),
|
|
328
|
+
'inspection': VmInspectionResultsToJSON(value['inspection']),
|
|
336
329
|
'utilization': VmUtilizationDetailsToJSON(value['utilization']),
|
|
337
330
|
'processes': value['processes'] == null ? undefined : ((value['processes'] as Array<any>).map(ProcessToJSON)),
|
|
338
331
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,9 +30,9 @@ export interface VirtualMachineListResponse {
|
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
vms: Array<VirtualMachine>;
|
|
34
34
|
/**
|
|
35
|
-
* Total number of
|
|
35
|
+
* Total number of VMs matching the filter
|
|
36
36
|
*/
|
|
37
37
|
total: number;
|
|
38
38
|
/**
|
|
@@ -49,7 +49,7 @@ export interface VirtualMachineListResponse {
|
|
|
49
49
|
* Check if a given object implements the VirtualMachineListResponse interface.
|
|
50
50
|
*/
|
|
51
51
|
export function instanceOfVirtualMachineListResponse(value: object): value is VirtualMachineListResponse {
|
|
52
|
-
if (!('
|
|
52
|
+
if (!('vms' in value) || value['vms'] === undefined) return false;
|
|
53
53
|
if (!('total' in value) || value['total'] === undefined) return false;
|
|
54
54
|
if (!('page' in value) || value['page'] === undefined) return false;
|
|
55
55
|
if (!('pageCount' in value) || value['pageCount'] === undefined) return false;
|
|
@@ -66,7 +66,7 @@ export function VirtualMachineListResponseFromJSONTyped(json: any, ignoreDiscrim
|
|
|
66
66
|
}
|
|
67
67
|
return {
|
|
68
68
|
|
|
69
|
-
'
|
|
69
|
+
'vms': ((json['vms'] as Array<any>).map(VirtualMachineFromJSON)),
|
|
70
70
|
'total': json['total'],
|
|
71
71
|
'page': json['page'],
|
|
72
72
|
'pageCount': json['pageCount'],
|
|
@@ -84,7 +84,7 @@ export function VirtualMachineListResponseToJSONTyped(value?: VirtualMachineList
|
|
|
84
84
|
|
|
85
85
|
return {
|
|
86
86
|
|
|
87
|
-
'
|
|
87
|
+
'vms': ((value['vms'] as Array<any>).map(VirtualMachineToJSON)),
|
|
88
88
|
'total': value['total'],
|
|
89
89
|
'page': value['page'],
|
|
90
90
|
'pageCount': value['pageCount'],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|