@openshift-migration-advisor/agent-sdk 0.19.0 → 0.20.1-bf086d122d0f
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 +64 -48
- package/README.md +81 -86
- package/dist/apis/AgentApi.d.ts +95 -0
- package/dist/apis/AgentApi.js +109 -0
- package/dist/apis/ApplicationsApi.d.ts +64 -0
- package/dist/apis/ApplicationsApi.js +72 -0
- package/dist/apis/CollectionsApi.d.ts +217 -0
- package/dist/apis/CollectionsApi.js +216 -0
- package/dist/apis/CollectorApi.d.ts +116 -0
- package/dist/apis/CollectorApi.js +137 -0
- package/dist/apis/CredentialsApi.d.ts +168 -0
- package/dist/apis/CredentialsApi.js +187 -0
- package/dist/apis/ForecasterApi.d.ts +375 -0
- package/dist/apis/ForecasterApi.js +397 -0
- package/dist/apis/GroupsApi.d.ts +374 -0
- package/dist/apis/GroupsApi.js +351 -0
- package/dist/apis/InspectorApi.d.ts +202 -0
- package/dist/apis/InspectorApi.js +240 -0
- package/dist/apis/InventoriesApi.d.ts +94 -0
- package/dist/apis/InventoriesApi.js +107 -0
- package/dist/apis/RightsizingApi.d.ts +109 -0
- package/dist/apis/RightsizingApi.js +116 -0
- package/dist/apis/VersionApi.d.ts +56 -0
- package/dist/apis/VersionApi.js +68 -0
- package/dist/apis/VirtualMachinesApi.d.ts +578 -0
- package/dist/apis/VirtualMachinesApi.js +576 -0
- package/dist/apis/index.d.ts +12 -1
- package/dist/apis/index.js +12 -1
- package/dist/esm/apis/AgentApi.d.ts +95 -0
- package/dist/esm/apis/AgentApi.js +105 -0
- package/dist/esm/apis/ApplicationsApi.d.ts +64 -0
- package/dist/esm/apis/ApplicationsApi.js +68 -0
- package/dist/esm/apis/CollectionsApi.d.ts +217 -0
- package/dist/esm/apis/CollectionsApi.js +212 -0
- package/dist/esm/apis/CollectorApi.d.ts +116 -0
- package/dist/esm/apis/CollectorApi.js +133 -0
- package/dist/esm/apis/CredentialsApi.d.ts +168 -0
- package/dist/esm/apis/CredentialsApi.js +183 -0
- package/dist/esm/apis/ForecasterApi.d.ts +375 -0
- package/dist/esm/apis/ForecasterApi.js +393 -0
- package/dist/esm/apis/GroupsApi.d.ts +374 -0
- package/dist/esm/apis/GroupsApi.js +347 -0
- package/dist/esm/apis/InspectorApi.d.ts +202 -0
- package/dist/esm/apis/InspectorApi.js +236 -0
- package/dist/esm/apis/InventoriesApi.d.ts +94 -0
- package/dist/esm/apis/InventoriesApi.js +103 -0
- package/dist/esm/apis/RightsizingApi.d.ts +109 -0
- package/dist/esm/apis/RightsizingApi.js +112 -0
- package/dist/esm/apis/VersionApi.d.ts +56 -0
- package/dist/esm/apis/VersionApi.js +64 -0
- package/dist/esm/apis/VirtualMachinesApi.d.ts +578 -0
- package/dist/esm/apis/VirtualMachinesApi.js +572 -0
- package/dist/esm/apis/index.d.ts +12 -1
- package/dist/esm/apis/index.js +12 -1
- package/dist/esm/models/AgentModeRequest.d.ts +1 -3
- package/dist/esm/models/AgentModeRequest.js +1 -1
- package/dist/esm/models/AgentStatus.d.ts +4 -21
- package/dist/esm/models/AgentStatus.js +5 -13
- package/dist/esm/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/esm/models/AgentStatusConsoleConnection.js +52 -0
- package/dist/esm/models/ApplicationListResponse.d.ts +1 -3
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -12
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -7
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -32
- package/dist/esm/models/BenchmarkRun.js +7 -5
- package/dist/esm/models/CapabilityStatus.d.ts +1 -3
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +1 -7
- package/dist/esm/models/ClusterFeatures.js +1 -1
- package/dist/esm/models/ClusterUtilization.d.ts +1 -15
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/Collection.d.ts +38 -0
- package/dist/esm/models/Collection.js +51 -0
- package/dist/esm/models/CollectionAggregate.d.ts +50 -0
- package/dist/esm/models/CollectionAggregate.js +63 -0
- package/dist/esm/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/esm/models/CollectionComparisonDiff.js +60 -0
- package/dist/esm/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/esm/models/CollectionComparisonSummary.js +49 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.js +56 -0
- package/dist/esm/models/CollectionListResponse.d.ts +31 -0
- package/dist/esm/models/CollectionListResponse.js +44 -0
- package/dist/esm/models/CollectorStatus.d.ts +2 -5
- package/dist/esm/models/CollectorStatus.js +2 -1
- package/dist/esm/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/esm/models/ComparisonDiffEntry.js +47 -0
- package/dist/esm/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/esm/models/ComparisonDiffPage.js +55 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +4 -10
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -7
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -21
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +7 -35
- package/dist/esm/models/DatastoreDetail.js +1 -10
- package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
- package/dist/esm/models/{DatastorePair.js → DatastorePairRequest.js} +9 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -5
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimateRange.d.ts +8 -14
- package/dist/esm/models/EstimateRange.js +10 -4
- package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
- package/dist/esm/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +22 -22
- package/dist/esm/models/ForecastStats.d.ts +11 -31
- package/dist/esm/models/ForecastStats.js +33 -17
- package/dist/esm/models/ForecasterStatus.d.ts +7 -11
- package/dist/esm/models/ForecasterStatus.js +8 -6
- package/dist/esm/models/Group.d.ts +4 -16
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupListResponse.d.ts +4 -12
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -18
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -16
- package/dist/esm/models/GuestNetwork.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -7
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -13
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -25
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/InspectionStatus.d.ts +45 -0
- package/dist/esm/models/InspectionStatus.js +55 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -5
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory.d.ts +3 -25
- package/dist/esm/models/Inventory.js +5 -14
- package/dist/esm/models/Inventory1.d.ts +45 -0
- package/dist/esm/models/Inventory1.js +53 -0
- package/dist/esm/models/InventoryData.d.ts +1 -11
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -11
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -9
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -11
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OperationCapability.d.ts +1 -5
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -9
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PairCapability.d.ts +3 -21
- package/dist/esm/models/PairCapability.js +1 -10
- package/dist/esm/models/PairCapabilityRequest.d.ts +3 -12
- package/dist/esm/models/PairCapabilityRequest.js +4 -7
- package/dist/esm/models/Process.d.ts +1 -5
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -43
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
- package/dist/esm/models/{ForecasterStartRequest.js → StartForecasterRequest.js} +12 -15
- package/dist/esm/models/StartInspectionRequest.d.ts +3 -12
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -5
- package/dist/esm/models/StopForecasterPair202Response.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -7
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -3
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -5
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -47
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -11
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -8
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -10
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +15 -53
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +42 -108
- package/dist/esm/models/VirtualMachineDetail.js +20 -16
- package/dist/esm/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/esm/models/{VMDevice.js → VirtualMachineDevice.js} +9 -9
- package/dist/esm/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/esm/models/{VMDisk.js → VirtualMachineDisk.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/esm/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/esm/models/VirtualMachineInspectionResults.js +42 -0
- package/dist/esm/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/esm/models/{VMIssue.js → VirtualMachineIssue.js} +16 -16
- package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -11
- package/dist/esm/models/VirtualMachineListResponse.js +4 -4
- package/dist/esm/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/esm/models/{VMNIC.js → VirtualMachineNIC.js} +9 -13
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -5
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -38
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +20 -23
- package/dist/esm/models/index.js +20 -23
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AgentModeRequest.d.ts +1 -3
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +4 -21
- package/dist/models/AgentStatus.js +6 -14
- package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/models/AgentStatusConsoleConnection.js +60 -0
- package/dist/models/ApplicationListResponse.d.ts +1 -3
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -12
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -7
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -32
- package/dist/models/BenchmarkRun.js +7 -5
- package/dist/models/CapabilityStatus.d.ts +1 -3
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +1 -7
- package/dist/models/ClusterFeatures.js +1 -1
- package/dist/models/ClusterUtilization.d.ts +1 -15
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/Collection.d.ts +38 -0
- package/dist/models/Collection.js +58 -0
- package/dist/models/CollectionAggregate.d.ts +50 -0
- package/dist/models/CollectionAggregate.js +70 -0
- package/dist/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/models/CollectionComparisonDiff.js +68 -0
- package/dist/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/models/CollectionComparisonSummary.js +56 -0
- package/dist/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/models/CollectionComparisonSummaryDiff.js +63 -0
- package/dist/models/CollectionListResponse.d.ts +31 -0
- package/dist/models/CollectionListResponse.js +51 -0
- package/dist/models/CollectorStatus.d.ts +2 -5
- package/dist/models/CollectorStatus.js +2 -1
- package/dist/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/models/ComparisonDiffEntry.js +54 -0
- package/dist/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/models/ComparisonDiffPage.js +62 -0
- package/dist/models/CreateGroupRequest.d.ts +4 -10
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -7
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -21
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +7 -35
- package/dist/models/DatastoreDetail.js +1 -11
- package/dist/models/DatastorePairRequest.d.ts +42 -0
- package/dist/models/{DatastorePair.js → DatastorePairRequest.js} +14 -14
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -9
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -5
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimateRange.d.ts +8 -14
- package/dist/models/EstimateRange.js +10 -4
- package/dist/models/ForecastPairStatus.d.ts +78 -0
- package/dist/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +28 -28
- package/dist/models/ForecastStats.d.ts +11 -31
- package/dist/models/ForecastStats.js +33 -17
- package/dist/models/ForecasterStatus.d.ts +7 -11
- package/dist/models/ForecasterStatus.js +8 -6
- package/dist/models/Group.d.ts +4 -16
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupListResponse.d.ts +4 -12
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -18
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -16
- package/dist/models/GuestNetwork.js +1 -1
- package/dist/models/Histogram.d.ts +1 -7
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -13
- package/dist/models/Host.js +1 -1
- package/dist/models/Infra.d.ts +1 -25
- package/dist/models/Infra.js +1 -1
- package/dist/models/InspectionStatus.d.ts +45 -0
- package/dist/models/InspectionStatus.js +63 -0
- package/dist/models/InspectorStatus.d.ts +1 -5
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory.d.ts +3 -25
- package/dist/models/Inventory.js +5 -14
- package/dist/models/Inventory1.d.ts +45 -0
- package/dist/models/Inventory1.js +60 -0
- package/dist/models/InventoryData.d.ts +1 -11
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -11
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -9
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -11
- package/dist/models/Network.js +1 -1
- package/dist/models/OperationCapability.d.ts +1 -5
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -9
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PairCapability.d.ts +3 -21
- package/dist/models/PairCapability.js +1 -11
- package/dist/models/PairCapabilityRequest.d.ts +3 -12
- package/dist/models/PairCapabilityRequest.js +4 -7
- package/dist/models/Process.d.ts +1 -5
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -43
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/StartForecasterRequest.d.ts +43 -0
- package/dist/models/StartForecasterRequest.js +57 -0
- package/dist/models/StartInspectionRequest.d.ts +3 -12
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StopForecasterPair202Response.d.ts +1 -5
- package/dist/models/StopForecasterPair202Response.js +1 -1
- package/dist/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -7
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -3
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -5
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -47
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -11
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -8
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -10
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +15 -53
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +42 -108
- package/dist/models/VirtualMachineDetail.js +20 -16
- package/dist/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/models/VirtualMachineDevice.js +48 -0
- package/dist/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/models/{VMDisk.js → VirtualMachineDisk.js} +14 -14
- package/dist/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +14 -14
- package/dist/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/models/VirtualMachineInspectionResults.js +49 -0
- package/dist/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/models/VirtualMachineIssue.js +70 -0
- package/dist/models/VirtualMachineListResponse.d.ts +3 -11
- package/dist/models/VirtualMachineListResponse.js +4 -4
- package/dist/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/models/{VMNIC.js → VirtualMachineNIC.js} +14 -18
- package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -5
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -38
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +20 -23
- package/dist/models/index.js +20 -23
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/docs/AgentApi.md +136 -0
- package/docs/AgentStatus.md +2 -4
- package/docs/{ExportInventory400Response.md → AgentStatusConsoleConnection.md} +7 -5
- package/docs/ApplicationsApi.md +76 -0
- package/docs/BenchmarkRun.md +2 -2
- package/docs/Collection.md +38 -0
- package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
- package/docs/CollectionComparisonDiff.md +38 -0
- package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
- package/docs/CollectionComparisonSummaryDiff.md +41 -0
- package/docs/CollectionListResponse.md +34 -0
- package/docs/CollectionsApi.md +291 -0
- package/docs/CollectorApi.md +187 -0
- package/docs/{VmInspectionResults.md → ComparisonDiffEntry.md} +10 -7
- package/docs/{RightsizingReportListResponse.md → ComparisonDiffPage.md} +10 -6
- package/docs/CredentialsApi.md +264 -0
- package/docs/{DatastorePair.md → DatastorePairRequest.md} +4 -4
- package/docs/DeleteLabelGloballyResponse.md +2 -2
- package/docs/EstimateRange.md +0 -1
- package/docs/{ForecasterPairStatus.md → ForecastPairStatus.md} +8 -8
- package/docs/ForecastStats.md +16 -16
- package/docs/ForecasterApi.md +612 -0
- package/docs/ForecasterStatus.md +1 -1
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +527 -0
- package/docs/{ExportInventory500Response.md → InspectionStatus.md} +6 -4
- package/docs/InspectorApi.md +334 -0
- package/docs/InventoriesApi.md +136 -0
- package/docs/Inventory.md +2 -8
- package/docs/{GetInventory200Response.md → Inventory1.md} +4 -8
- package/docs/PairCapabilityRequest.md +1 -3
- package/docs/RightsizingApi.md +148 -0
- package/docs/{ForecasterStartRequest.md → StartForecasterRequest.md} +5 -7
- package/docs/StartInspectionRequest.md +0 -3
- package/docs/UpdateInventory.md +1 -1
- package/docs/VMLabelsResponse.md +2 -2
- package/docs/VersionApi.md +66 -0
- package/docs/VirtualMachine.md +5 -3
- package/docs/VirtualMachineDetail.md +7 -5
- package/docs/{VMDevice.md → VirtualMachineDevice.md} +4 -4
- package/docs/{VMDisk.md → VirtualMachineDisk.md} +4 -4
- package/docs/{VmInspectionConcern.md → VirtualMachineInspectionConcern.md} +4 -5
- package/docs/VirtualMachineInspectionResults.md +35 -0
- package/docs/{VMIssue.md → VirtualMachineIssue.md} +4 -4
- package/docs/VirtualMachineListResponse.md +2 -2
- package/docs/{VMNIC.md → VirtualMachineNIC.md} +4 -8
- package/docs/VirtualMachineUpdateRequest.md +2 -2
- package/docs/VirtualMachinesApi.md +914 -0
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +176 -0
- package/src/apis/ApplicationsApi.ts +111 -0
- package/src/apis/CollectionsApi.ts +411 -0
- package/src/apis/CollectorApi.ts +209 -0
- package/src/apis/CredentialsApi.ts +308 -0
- package/src/apis/ForecasterApi.ts +721 -0
- package/src/apis/GroupsApi.ts +718 -0
- package/src/apis/InspectorApi.ts +405 -0
- package/src/apis/InventoriesApi.ts +169 -0
- package/src/apis/RightsizingApi.ts +205 -0
- package/src/apis/VersionApi.ts +94 -0
- package/src/apis/VirtualMachinesApi.ts +1142 -0
- package/src/apis/index.ts +12 -1
- package/src/models/AgentModeRequest.ts +1 -3
- package/src/models/AgentStatus.ts +14 -27
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- package/src/models/ApplicationListResponse.ts +1 -3
- package/src/models/ApplicationOverview.ts +4 -12
- package/src/models/ApplicationVM.ts +3 -7
- package/src/models/BatchUpdateExclusionRequest.ts +1 -5
- package/src/models/BenchmarkRun.ts +11 -36
- package/src/models/CapabilityStatus.ts +1 -3
- package/src/models/CapabilityStatusCapabilities.ts +1 -7
- package/src/models/ClusterFeatures.ts +1 -7
- package/src/models/ClusterUtilization.ts +1 -15
- package/src/models/Collection.ts +78 -0
- package/src/models/CollectionAggregate.ts +99 -0
- package/src/models/CollectionComparisonDiff.ts +98 -0
- package/src/models/CollectionComparisonSummary.ts +86 -0
- package/src/models/CollectionComparisonSummaryDiff.ts +93 -0
- package/src/models/CollectionListResponse.ts +72 -0
- package/src/models/CollectorStatus.ts +2 -5
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- package/src/models/CreateGroupRequest.ts +4 -10
- package/src/models/CredentialStatus.ts +1 -7
- package/src/models/Datastore.ts +1 -21
- package/src/models/DatastoreDetail.ts +7 -38
- package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -23
- package/src/models/DeleteLabelGloballyResponse.ts +8 -12
- package/src/models/DiskSizeTierSummary.ts +1 -5
- package/src/models/DiskTypeSummary.ts +1 -5
- package/src/models/EstimateRange.ts +14 -17
- package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -57
- package/src/models/ForecastStats.ts +35 -47
- package/src/models/ForecasterStatus.ts +15 -18
- package/src/models/Group.ts +4 -16
- package/src/models/GroupListResponse.ts +4 -12
- package/src/models/GroupResponse.ts +13 -25
- package/src/models/GuestNetwork.ts +6 -16
- package/src/models/Histogram.ts +1 -7
- package/src/models/Host.ts +1 -13
- package/src/models/Infra.ts +1 -25
- package/src/models/InspectionStatus.ts +84 -0
- package/src/models/InspectorStatus.ts +1 -5
- package/src/models/Inventory.ts +11 -38
- package/src/models/Inventory1.ts +91 -0
- package/src/models/InventoryData.ts +1 -11
- package/src/models/IssuesBreakdown.ts +1 -11
- package/src/models/MigrationIssue.ts +1 -9
- package/src/models/Network.ts +1 -11
- package/src/models/OperationCapability.ts +1 -5
- package/src/models/OsInfo.ts +1 -9
- package/src/models/PairCapability.ts +3 -24
- package/src/models/PairCapabilityRequest.ts +10 -27
- package/src/models/Process.ts +1 -5
- package/src/models/RightsizingClusterResponse.ts +2 -6
- package/src/models/RightsizingClusterUtilization.ts +13 -43
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StartInspectionRequest.ts +3 -21
- package/src/models/StopForecasterPair202Response.ts +1 -5
- package/src/models/StorageIoConfiguration.ts +1 -9
- package/src/models/UpdateGroupRequest.ts +4 -10
- package/src/models/UpdateInventory.ts +10 -14
- package/src/models/UpdateLabelVMsRequest.ts +1 -5
- package/src/models/VCenter.ts +1 -3
- package/src/models/VMFilterOptionsResponse.ts +1 -11
- package/src/models/VMLabelsResponse.ts +1 -5
- package/src/models/VMResourceBreakdown.ts +1 -11
- package/src/models/VMs.ts +1 -47
- package/src/models/VcenterCredentials.ts +1 -11
- package/src/models/VddkProperties.ts +2 -8
- package/src/models/VersionInfo.ts +4 -10
- package/src/models/VirtualMachine.ts +27 -62
- package/src/models/VirtualMachineDetail.ts +80 -143
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -31
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -18
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -14
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -5
- package/src/models/VmUtilizationDetails.ts +8 -38
- package/src/models/index.ts +20 -23
- package/src/runtime.ts +2 -2
- package/dist/apis/DefaultApi.d.ts +0 -1827
- package/dist/apis/DefaultApi.js +0 -2056
- package/dist/esm/apis/DefaultApi.d.ts +0 -1827
- package/dist/esm/apis/DefaultApi.js +0 -2052
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -56
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastorePair.d.ts +0 -50
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -58
- package/dist/esm/models/GetInventory200Response.d.ts +0 -23
- package/dist/esm/models/GetInventory200Response.js +0 -51
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -38
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -81
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -53
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/VMDevice.d.ts +0 -32
- package/dist/esm/models/VMDisk.d.ts +0 -68
- package/dist/esm/models/VMIssue.d.ts +0 -56
- package/dist/esm/models/VMNIC.d.ts +0 -56
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -44
- package/dist/esm/models/VmInspectionResults.d.ts +0 -33
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -61
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/CollectorStartRequest.d.ts +0 -56
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastorePair.d.ts +0 -50
- package/dist/models/ExportInventory400Response.d.ts +0 -32
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -32
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/models/ForecasterStartRequest.d.ts +0 -58
- package/dist/models/ForecasterStartRequest.js +0 -60
- package/dist/models/GetInventory200Response.d.ts +0 -23
- package/dist/models/GetInventory200Response.js +0 -57
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -38
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -81
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -53
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/VMDevice.d.ts +0 -32
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -68
- package/dist/models/VMIssue.d.ts +0 -56
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -56
- package/dist/models/VmInspectionConcern.d.ts +0 -44
- package/dist/models/VmInspectionResults.d.ts +0 -33
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -61
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DefaultApi.md +0 -3358
- package/docs/PutForecasterCredentials403Response.md +0 -36
- package/docs/RightsizingCollectRequest.md +0 -46
- package/docs/RightsizingMetricStats.md +0 -44
- package/docs/RightsizingReport.md +0 -50
- package/docs/RightsizingReportSummary.md +0 -49
- package/docs/RightsizingVMReport.md +0 -40
- package/docs/VmInspectionStatus.md +0 -40
- package/src/apis/DefaultApi.ts +0 -3820
- package/src/models/CollectorStartRequest.ts +0 -97
- package/src/models/ExportInventory400Response.ts +0 -65
- package/src/models/ExportInventory500Response.ts +0 -65
- package/src/models/ForecasterDatastoresRequest.ts +0 -73
- package/src/models/ForecasterStartRequest.ts +0 -113
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PutForecasterCredentials403Response.ts +0 -73
- package/src/models/RightsizingClusterListResponse.ts +0 -83
- package/src/models/RightsizingCollectRequest.ts +0 -123
- package/src/models/RightsizingMetricStats.ts +0 -111
- package/src/models/RightsizingReport.ts +0 -146
- package/src/models/RightsizingReportListResponse.ts +0 -83
- package/src/models/RightsizingReportSummary.ts +0 -129
- package/src/models/RightsizingVMReport.ts +0 -101
- package/src/models/VMDevice.ts +0 -65
- package/src/models/VMIssue.ts +0 -99
- package/src/models/VMNIC.ts +0 -97
- package/src/models/VmInspectionResults.ts +0 -73
- package/src/models/VmInspectionStatus.ts +0 -105
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,21 +16,15 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface VersionInfo {
|
|
18
18
|
/**
|
|
19
|
-
* Agent version
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VersionInfo
|
|
19
|
+
* Agent version
|
|
22
20
|
*/
|
|
23
21
|
version: string;
|
|
24
22
|
/**
|
|
25
|
-
* Git commit SHA
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VersionInfo
|
|
23
|
+
* Git commit SHA
|
|
28
24
|
*/
|
|
29
25
|
gitCommit: string;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VersionInfo
|
|
27
|
+
* UI git commit SHA
|
|
34
28
|
*/
|
|
35
29
|
uiGitCommit: string;
|
|
36
30
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { InspectionStatus } from './InspectionStatus.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,128 +18,90 @@ import type { VmInspectionStatus } from './VmInspectionStatus.js';
|
|
|
18
18
|
export interface VirtualMachine {
|
|
19
19
|
/**
|
|
20
20
|
* VirtualMachine name
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof VirtualMachine
|
|
23
21
|
*/
|
|
24
22
|
name: string;
|
|
25
23
|
/**
|
|
26
24
|
* VirtualMachine ID in vCenter
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof VirtualMachine
|
|
29
25
|
*/
|
|
30
26
|
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Identifier of the vCenter this VirtualMachine belongs to
|
|
29
|
+
*/
|
|
30
|
+
vCenterID: string;
|
|
31
31
|
/**
|
|
32
32
|
* vCenter state (e.g., poweredOn, poweredOff, suspended)
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof VirtualMachine
|
|
35
33
|
*/
|
|
36
34
|
vCenterState: string;
|
|
37
35
|
/**
|
|
38
36
|
* Cluster name
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof VirtualMachine
|
|
41
37
|
*/
|
|
42
38
|
cluster: string;
|
|
43
39
|
/**
|
|
44
40
|
* Datacenter name
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof VirtualMachine
|
|
47
41
|
*/
|
|
48
42
|
datacenter: string;
|
|
49
43
|
/**
|
|
50
44
|
* Total disk size in MB
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof VirtualMachine
|
|
53
45
|
*/
|
|
54
46
|
diskSize: number;
|
|
55
47
|
/**
|
|
56
48
|
* Memory size in MB
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof VirtualMachine
|
|
59
49
|
*/
|
|
60
50
|
memory: number;
|
|
61
51
|
/**
|
|
62
52
|
* Number of issues found for this VirtualMachine
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof VirtualMachine
|
|
65
53
|
*/
|
|
66
54
|
issueCount: number;
|
|
67
55
|
/**
|
|
68
|
-
* True if the
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof VirtualMachine
|
|
56
|
+
* True if the VirtualMachine is migratable for MTV
|
|
71
57
|
*/
|
|
72
58
|
migratable?: boolean;
|
|
73
59
|
/**
|
|
74
|
-
* True if the
|
|
75
|
-
* @type {boolean}
|
|
76
|
-
* @memberof VirtualMachine
|
|
60
|
+
* True if the VirtualMachine is a template
|
|
77
61
|
*/
|
|
78
62
|
template?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Whether this VM is excluded from migration
|
|
81
|
-
* @type {boolean}
|
|
82
|
-
* @memberof VirtualMachine
|
|
83
|
-
*/
|
|
84
|
-
migrationExcluded?: boolean;
|
|
85
63
|
/**
|
|
86
64
|
*
|
|
87
|
-
* @type {VmInspectionStatus}
|
|
88
|
-
* @memberof VirtualMachine
|
|
89
65
|
*/
|
|
90
|
-
inspectionStatus?:
|
|
66
|
+
inspectionStatus?: InspectionStatus;
|
|
91
67
|
/**
|
|
92
|
-
* Number of inspection concerns
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof VirtualMachine
|
|
68
|
+
* Number of inspection concerns for the latest persisted result
|
|
95
69
|
*/
|
|
96
70
|
inspectionConcernCount?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Whether this VM is excluded from migration
|
|
73
|
+
*/
|
|
74
|
+
migrationExcluded?: boolean;
|
|
97
75
|
/**
|
|
98
76
|
* Names of groups this VM matches
|
|
99
|
-
* @type {Array<string>}
|
|
100
|
-
* @memberof VirtualMachine
|
|
101
77
|
*/
|
|
102
78
|
groups?: Array<string>;
|
|
103
79
|
/**
|
|
104
80
|
* User-defined labels for this VM
|
|
105
|
-
* @type {Array<string>}
|
|
106
|
-
* @memberof VirtualMachine
|
|
107
81
|
*/
|
|
108
82
|
labels?: Array<string>;
|
|
109
83
|
/**
|
|
110
84
|
* CPU utilization at p95 (%); absent when no utilization data
|
|
111
|
-
* @type {number}
|
|
112
|
-
* @memberof VirtualMachine
|
|
113
85
|
*/
|
|
114
86
|
utilization_cpu_p95?: number;
|
|
115
87
|
/**
|
|
116
88
|
* Memory utilization at p95 (%); absent when no utilization data
|
|
117
|
-
* @type {number}
|
|
118
|
-
* @memberof VirtualMachine
|
|
119
89
|
*/
|
|
120
90
|
utilization_mem_p95?: number;
|
|
121
91
|
/**
|
|
122
92
|
* CPU utilization at max (%); absent when no utilization data
|
|
123
|
-
* @type {number}
|
|
124
|
-
* @memberof VirtualMachine
|
|
125
93
|
*/
|
|
126
94
|
utilization_cpu_max?: number;
|
|
127
95
|
/**
|
|
128
96
|
* Memory utilization at max (%); absent when no utilization data
|
|
129
|
-
* @type {number}
|
|
130
|
-
* @memberof VirtualMachine
|
|
131
97
|
*/
|
|
132
98
|
utilization_mem_max?: number;
|
|
133
99
|
/**
|
|
134
100
|
* Disk utilization (%); absent when no utilization data
|
|
135
|
-
* @type {number}
|
|
136
|
-
* @memberof VirtualMachine
|
|
137
101
|
*/
|
|
138
102
|
utilization_disk?: number;
|
|
139
103
|
/**
|
|
140
|
-
* Data confidence
|
|
141
|
-
* @type {number}
|
|
142
|
-
* @memberof VirtualMachine
|
|
104
|
+
* Data confidence -- sample_count / expected_sample_count x 100
|
|
143
105
|
*/
|
|
144
106
|
utilization_confidence?: number;
|
|
145
107
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,7 +18,7 @@ exports.VirtualMachineFromJSON = VirtualMachineFromJSON;
|
|
|
18
18
|
exports.VirtualMachineFromJSONTyped = VirtualMachineFromJSONTyped;
|
|
19
19
|
exports.VirtualMachineToJSON = VirtualMachineToJSON;
|
|
20
20
|
exports.VirtualMachineToJSONTyped = VirtualMachineToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const InspectionStatus_js_1 = require("./InspectionStatus.js");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the VirtualMachine interface.
|
|
24
24
|
*/
|
|
@@ -27,6 +27,8 @@ function instanceOfVirtualMachine(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('id' in value) || value['id'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('vCenterID' in value) || value['vCenterID'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
if (!('vCenterState' in value) || value['vCenterState'] === undefined)
|
|
31
33
|
return false;
|
|
32
34
|
if (!('cluster' in value) || value['cluster'] === undefined)
|
|
@@ -51,6 +53,7 @@ function VirtualMachineFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
return {
|
|
52
54
|
'name': json['name'],
|
|
53
55
|
'id': json['id'],
|
|
56
|
+
'vCenterID': json['vCenterID'],
|
|
54
57
|
'vCenterState': json['vCenterState'],
|
|
55
58
|
'cluster': json['cluster'],
|
|
56
59
|
'datacenter': json['datacenter'],
|
|
@@ -59,9 +62,9 @@ function VirtualMachineFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
62
|
'issueCount': json['issueCount'],
|
|
60
63
|
'migratable': json['migratable'] == null ? undefined : json['migratable'],
|
|
61
64
|
'template': json['template'] == null ? undefined : json['template'],
|
|
62
|
-
'
|
|
63
|
-
'inspectionStatus': json['inspectionStatus'] == null ? undefined : (0, VmInspectionStatus_js_1.VmInspectionStatusFromJSON)(json['inspectionStatus']),
|
|
65
|
+
'inspectionStatus': json['inspectionStatus'] == null ? undefined : (0, InspectionStatus_js_1.InspectionStatusFromJSON)(json['inspectionStatus']),
|
|
64
66
|
'inspectionConcernCount': json['inspectionConcernCount'] == null ? undefined : json['inspectionConcernCount'],
|
|
67
|
+
'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
|
|
65
68
|
'groups': json['groups'] == null ? undefined : json['groups'],
|
|
66
69
|
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
67
70
|
'utilization_cpu_p95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
|
|
@@ -82,6 +85,7 @@ function VirtualMachineToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
82
85
|
return {
|
|
83
86
|
'name': value['name'],
|
|
84
87
|
'id': value['id'],
|
|
88
|
+
'vCenterID': value['vCenterID'],
|
|
85
89
|
'vCenterState': value['vCenterState'],
|
|
86
90
|
'cluster': value['cluster'],
|
|
87
91
|
'datacenter': value['datacenter'],
|
|
@@ -90,9 +94,9 @@ function VirtualMachineToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
90
94
|
'issueCount': value['issueCount'],
|
|
91
95
|
'migratable': value['migratable'],
|
|
92
96
|
'template': value['template'],
|
|
93
|
-
'
|
|
94
|
-
'inspectionStatus': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspectionStatus']),
|
|
97
|
+
'inspectionStatus': (0, InspectionStatus_js_1.InspectionStatusToJSON)(value['inspectionStatus']),
|
|
95
98
|
'inspectionConcernCount': value['inspectionConcernCount'],
|
|
99
|
+
'migrationExcluded': value['migrationExcluded'],
|
|
96
100
|
'groups': value['groups'],
|
|
97
101
|
'labels': value['labels'],
|
|
98
102
|
'utilization_cpu_p95': value['utilization_cpu_p95'],
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { VirtualMachineInspectionResults } from './VirtualMachineInspectionResults.js';
|
|
13
13
|
import type { GuestNetwork } from './GuestNetwork.js';
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
14
|
+
import type { VirtualMachineIssue } from './VirtualMachineIssue.js';
|
|
15
|
+
import type { VirtualMachineDevice } from './VirtualMachineDevice.js';
|
|
16
16
|
import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
|
|
17
17
|
import type { Process } from './Process.js';
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
18
|
+
import type { VirtualMachineDisk } from './VirtualMachineDisk.js';
|
|
19
|
+
import type { VirtualMachineNIC } from './VirtualMachineNIC.js';
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @export
|
|
@@ -25,212 +25,146 @@ import type { VmInspectionResults } from './VmInspectionResults.js';
|
|
|
25
25
|
export interface VirtualMachineDetail {
|
|
26
26
|
/**
|
|
27
27
|
* Unique identifier for the VirtualMachine in vCenter
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof VirtualMachineDetail
|
|
30
28
|
*/
|
|
31
29
|
id: string;
|
|
32
30
|
/**
|
|
33
31
|
* Display name of the VirtualMachine
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof VirtualMachineDetail
|
|
36
32
|
*/
|
|
37
33
|
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Identifier of the vCenter this VirtualMachine belongs to
|
|
36
|
+
*/
|
|
37
|
+
vCenterID: string;
|
|
38
38
|
/**
|
|
39
39
|
* Universally unique identifier assigned by vCenter
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof VirtualMachineDetail
|
|
42
40
|
*/
|
|
43
41
|
uuid?: string;
|
|
44
42
|
/**
|
|
45
|
-
* Firmware type
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof VirtualMachineDetail
|
|
43
|
+
* Firmware type (bios or efi)
|
|
48
44
|
*/
|
|
49
45
|
firmware?: string;
|
|
50
46
|
/**
|
|
51
|
-
* Current power state
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof VirtualMachineDetail
|
|
47
|
+
* Current power state (poweredOn, poweredOff, suspended)
|
|
54
48
|
*/
|
|
55
49
|
powerState: string;
|
|
56
50
|
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof VirtualMachineDetail
|
|
51
|
+
* Connection state (connected, disconnected, orphaned, inaccessible)
|
|
60
52
|
*/
|
|
61
53
|
connectionState: string;
|
|
62
54
|
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof VirtualMachineDetail
|
|
55
|
+
* ESXi host reference
|
|
66
56
|
*/
|
|
67
57
|
host?: string;
|
|
68
58
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof VirtualMachineDetail
|
|
59
|
+
* Datacenter name
|
|
72
60
|
*/
|
|
73
61
|
datacenter?: string;
|
|
74
62
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof VirtualMachineDetail
|
|
63
|
+
* Cluster name
|
|
78
64
|
*/
|
|
79
65
|
cluster?: string;
|
|
80
66
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof VirtualMachineDetail
|
|
67
|
+
* Inventory folder reference
|
|
84
68
|
*/
|
|
85
69
|
folder?: string;
|
|
86
70
|
/**
|
|
87
|
-
* Total
|
|
88
|
-
* @type {number}
|
|
89
|
-
* @memberof VirtualMachineDetail
|
|
71
|
+
* Total virtual CPUs
|
|
90
72
|
*/
|
|
91
73
|
cpuCount: number;
|
|
92
74
|
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {number}
|
|
95
|
-
* @memberof VirtualMachineDetail
|
|
75
|
+
* CPU cores per virtual socket
|
|
96
76
|
*/
|
|
97
77
|
coresPerSocket: number;
|
|
98
78
|
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Array<number>}
|
|
101
|
-
* @memberof VirtualMachineDetail
|
|
79
|
+
* Physical CPU IDs the VirtualMachine is pinned to
|
|
102
80
|
*/
|
|
103
81
|
cpuAffinity?: Array<number>;
|
|
104
82
|
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {number}
|
|
107
|
-
* @memberof VirtualMachineDetail
|
|
83
|
+
* Memory in megabytes
|
|
108
84
|
*/
|
|
109
85
|
memoryMB: number;
|
|
110
86
|
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof VirtualMachineDetail
|
|
87
|
+
* Guest OS full name
|
|
114
88
|
*/
|
|
115
89
|
guestName?: string;
|
|
116
90
|
/**
|
|
117
|
-
* VMware
|
|
118
|
-
* @type {string}
|
|
119
|
-
* @memberof VirtualMachineDetail
|
|
91
|
+
* VMware guest OS identifier
|
|
120
92
|
*/
|
|
121
93
|
guestId?: string;
|
|
122
94
|
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {string}
|
|
125
|
-
* @memberof VirtualMachineDetail
|
|
95
|
+
* Guest hostname
|
|
126
96
|
*/
|
|
127
97
|
hostName?: string;
|
|
128
98
|
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {string}
|
|
131
|
-
* @memberof VirtualMachineDetail
|
|
99
|
+
* Guest primary IP address
|
|
132
100
|
*/
|
|
133
101
|
ipAddress?: string;
|
|
134
102
|
/**
|
|
135
|
-
*
|
|
136
|
-
* @type {number}
|
|
137
|
-
* @memberof VirtualMachineDetail
|
|
103
|
+
* Storage consumed in bytes
|
|
138
104
|
*/
|
|
139
105
|
storageUsed?: number;
|
|
140
106
|
/**
|
|
141
|
-
* Whether the VirtualMachine is a template
|
|
142
|
-
* @type {boolean}
|
|
143
|
-
* @memberof VirtualMachineDetail
|
|
107
|
+
* Whether the VirtualMachine is a template
|
|
144
108
|
*/
|
|
145
109
|
template?: boolean;
|
|
146
110
|
/**
|
|
147
|
-
* Whether the VirtualMachine can be migrated
|
|
148
|
-
* @type {boolean}
|
|
149
|
-
* @memberof VirtualMachineDetail
|
|
111
|
+
* Whether the VirtualMachine can be migrated
|
|
150
112
|
*/
|
|
151
113
|
migratable?: boolean;
|
|
152
114
|
/**
|
|
153
115
|
* Whether this VM is excluded from migration
|
|
154
|
-
* @type {boolean}
|
|
155
|
-
* @memberof VirtualMachineDetail
|
|
156
116
|
*/
|
|
157
117
|
migrationExcluded?: boolean;
|
|
158
118
|
/**
|
|
159
119
|
* User-defined labels for this VM
|
|
160
|
-
* @type {Array<string>}
|
|
161
|
-
* @memberof VirtualMachineDetail
|
|
162
120
|
*/
|
|
163
121
|
labels?: Array<string>;
|
|
164
122
|
/**
|
|
165
|
-
* Whether
|
|
166
|
-
* @type {boolean}
|
|
167
|
-
* @memberof VirtualMachineDetail
|
|
123
|
+
* Whether Fault Tolerance is enabled
|
|
168
124
|
*/
|
|
169
125
|
faultToleranceEnabled?: boolean;
|
|
170
126
|
/**
|
|
171
|
-
* Whether nested virtualization is enabled
|
|
172
|
-
* @type {boolean}
|
|
173
|
-
* @memberof VirtualMachineDetail
|
|
127
|
+
* Whether nested virtualization is enabled
|
|
174
128
|
*/
|
|
175
129
|
nestedHVEnabled?: boolean;
|
|
176
130
|
/**
|
|
177
|
-
*
|
|
178
|
-
* @type {string}
|
|
179
|
-
* @memberof VirtualMachineDetail
|
|
131
|
+
* VMware Tools installation status
|
|
180
132
|
*/
|
|
181
133
|
toolsStatus?: string;
|
|
182
134
|
/**
|
|
183
|
-
* Whether VMware Tools is
|
|
184
|
-
* @type {string}
|
|
185
|
-
* @memberof VirtualMachineDetail
|
|
135
|
+
* Whether VMware Tools is running
|
|
186
136
|
*/
|
|
187
137
|
toolsRunningStatus?: string;
|
|
188
138
|
/**
|
|
189
|
-
*
|
|
190
|
-
* @type {Array<VMDisk>}
|
|
191
|
-
* @memberof VirtualMachineDetail
|
|
139
|
+
*
|
|
192
140
|
*/
|
|
193
|
-
disks: Array<
|
|
141
|
+
disks: Array<VirtualMachineDisk>;
|
|
194
142
|
/**
|
|
195
|
-
*
|
|
196
|
-
* @type {Array<VMNIC>}
|
|
197
|
-
* @memberof VirtualMachineDetail
|
|
143
|
+
*
|
|
198
144
|
*/
|
|
199
|
-
nics: Array<
|
|
145
|
+
nics: Array<VirtualMachineNIC>;
|
|
200
146
|
/**
|
|
201
|
-
*
|
|
202
|
-
* @type {Array<VMDevice>}
|
|
203
|
-
* @memberof VirtualMachineDetail
|
|
147
|
+
*
|
|
204
148
|
*/
|
|
205
|
-
devices?: Array<
|
|
149
|
+
devices?: Array<VirtualMachineDevice>;
|
|
206
150
|
/**
|
|
207
|
-
*
|
|
208
|
-
* @type {Array<GuestNetwork>}
|
|
209
|
-
* @memberof VirtualMachineDetail
|
|
151
|
+
*
|
|
210
152
|
*/
|
|
211
153
|
guestNetworks?: Array<GuestNetwork>;
|
|
212
154
|
/**
|
|
213
|
-
*
|
|
214
|
-
* @type {Array<VMIssue>}
|
|
215
|
-
* @memberof VirtualMachineDetail
|
|
155
|
+
*
|
|
216
156
|
*/
|
|
217
|
-
issues?: Array<
|
|
157
|
+
issues?: Array<VirtualMachineIssue>;
|
|
218
158
|
/**
|
|
219
159
|
*
|
|
220
|
-
* @type {VmInspectionResults}
|
|
221
|
-
* @memberof VirtualMachineDetail
|
|
222
160
|
*/
|
|
223
|
-
inspection?:
|
|
161
|
+
inspection?: VirtualMachineInspectionResults;
|
|
224
162
|
/**
|
|
225
163
|
*
|
|
226
|
-
* @type {VmUtilizationDetails}
|
|
227
|
-
* @memberof VirtualMachineDetail
|
|
228
164
|
*/
|
|
229
165
|
utilization?: VmUtilizationDetails;
|
|
230
166
|
/**
|
|
231
167
|
* List of processes detected on this VM
|
|
232
|
-
* @type {Array<Process>}
|
|
233
|
-
* @memberof VirtualMachineDetail
|
|
234
168
|
*/
|
|
235
169
|
processes?: Array<Process>;
|
|
236
170
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,14 +18,14 @@ exports.VirtualMachineDetailFromJSON = VirtualMachineDetailFromJSON;
|
|
|
18
18
|
exports.VirtualMachineDetailFromJSONTyped = VirtualMachineDetailFromJSONTyped;
|
|
19
19
|
exports.VirtualMachineDetailToJSON = VirtualMachineDetailToJSON;
|
|
20
20
|
exports.VirtualMachineDetailToJSONTyped = VirtualMachineDetailToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const VirtualMachineInspectionResults_js_1 = require("./VirtualMachineInspectionResults.js");
|
|
22
22
|
const GuestNetwork_js_1 = require("./GuestNetwork.js");
|
|
23
|
-
const
|
|
24
|
-
const
|
|
23
|
+
const VirtualMachineIssue_js_1 = require("./VirtualMachineIssue.js");
|
|
24
|
+
const VirtualMachineDevice_js_1 = require("./VirtualMachineDevice.js");
|
|
25
25
|
const VmUtilizationDetails_js_1 = require("./VmUtilizationDetails.js");
|
|
26
26
|
const Process_js_1 = require("./Process.js");
|
|
27
|
-
const
|
|
28
|
-
const
|
|
27
|
+
const VirtualMachineDisk_js_1 = require("./VirtualMachineDisk.js");
|
|
28
|
+
const VirtualMachineNIC_js_1 = require("./VirtualMachineNIC.js");
|
|
29
29
|
/**
|
|
30
30
|
* Check if a given object implements the VirtualMachineDetail interface.
|
|
31
31
|
*/
|
|
@@ -34,6 +34,8 @@ function instanceOfVirtualMachineDetail(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
if (!('name' in value) || value['name'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
+
if (!('vCenterID' in value) || value['vCenterID'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
if (!('powerState' in value) || value['powerState'] === undefined)
|
|
38
40
|
return false;
|
|
39
41
|
if (!('connectionState' in value) || value['connectionState'] === undefined)
|
|
@@ -60,6 +62,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
return {
|
|
61
63
|
'id': json['id'],
|
|
62
64
|
'name': json['name'],
|
|
65
|
+
'vCenterID': json['vCenterID'],
|
|
63
66
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
64
67
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
65
68
|
'powerState': json['powerState'],
|
|
@@ -85,12 +88,12 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
85
88
|
'nestedHVEnabled': json['nestedHVEnabled'] == null ? undefined : json['nestedHVEnabled'],
|
|
86
89
|
'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
|
|
87
90
|
'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
|
|
88
|
-
'disks': (json['disks'].map(
|
|
89
|
-
'nics': (json['nics'].map(
|
|
90
|
-
'devices': json['devices'] == null ? undefined : (json['devices'].map(
|
|
91
|
+
'disks': (json['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskFromJSON)),
|
|
92
|
+
'nics': (json['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICFromJSON)),
|
|
93
|
+
'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceFromJSON)),
|
|
91
94
|
'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkFromJSON)),
|
|
92
|
-
'issues': json['issues'] == null ? undefined : (json['issues'].map(
|
|
93
|
-
'inspection': json['inspection'] == null ? undefined : (0,
|
|
95
|
+
'issues': json['issues'] == null ? undefined : (json['issues'].map(VirtualMachineIssue_js_1.VirtualMachineIssueFromJSON)),
|
|
96
|
+
'inspection': json['inspection'] == null ? undefined : (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsFromJSON)(json['inspection']),
|
|
94
97
|
'utilization': json['utilization'] == null ? undefined : (0, VmUtilizationDetails_js_1.VmUtilizationDetailsFromJSON)(json['utilization']),
|
|
95
98
|
'processes': json['processes'] == null ? undefined : (json['processes'].map(Process_js_1.ProcessFromJSON)),
|
|
96
99
|
};
|
|
@@ -105,6 +108,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
105
108
|
return {
|
|
106
109
|
'id': value['id'],
|
|
107
110
|
'name': value['name'],
|
|
111
|
+
'vCenterID': value['vCenterID'],
|
|
108
112
|
'uuid': value['uuid'],
|
|
109
113
|
'firmware': value['firmware'],
|
|
110
114
|
'powerState': value['powerState'],
|
|
@@ -130,12 +134,12 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
130
134
|
'nestedHVEnabled': value['nestedHVEnabled'],
|
|
131
135
|
'toolsStatus': value['toolsStatus'],
|
|
132
136
|
'toolsRunningStatus': value['toolsRunningStatus'],
|
|
133
|
-
'disks': (value['disks'].map(
|
|
134
|
-
'nics': (value['nics'].map(
|
|
135
|
-
'devices': value['devices'] == null ? undefined : (value['devices'].map(
|
|
137
|
+
'disks': (value['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskToJSON)),
|
|
138
|
+
'nics': (value['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICToJSON)),
|
|
139
|
+
'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceToJSON)),
|
|
136
140
|
'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkToJSON)),
|
|
137
|
-
'issues': value['issues'] == null ? undefined : (value['issues'].map(
|
|
138
|
-
'inspection': (0,
|
|
141
|
+
'issues': value['issues'] == null ? undefined : (value['issues'].map(VirtualMachineIssue_js_1.VirtualMachineIssueToJSON)),
|
|
142
|
+
'inspection': (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsToJSON)(value['inspection']),
|
|
139
143
|
'utilization': (0, VmUtilizationDetails_js_1.VmUtilizationDetailsToJSON)(value['utilization']),
|
|
140
144
|
'processes': value['processes'] == null ? undefined : (value['processes'].map(Process_js_1.ProcessToJSON)),
|
|
141
145
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VirtualMachineDevice
|
|
16
|
+
*/
|
|
17
|
+
export interface VirtualMachineDevice {
|
|
18
|
+
/**
|
|
19
|
+
* Device type (cdrom, floppy, usb, serial, parallel)
|
|
20
|
+
*/
|
|
21
|
+
kind?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the VirtualMachineDevice interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfVirtualMachineDevice(value: object): value is VirtualMachineDevice;
|
|
27
|
+
export declare function VirtualMachineDeviceFromJSON(json: any): VirtualMachineDevice;
|
|
28
|
+
export declare function VirtualMachineDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineDevice;
|
|
29
|
+
export declare function VirtualMachineDeviceToJSON(json: any): VirtualMachineDevice;
|
|
30
|
+
export declare function VirtualMachineDeviceToJSONTyped(value?: VirtualMachineDevice | null, ignoreDiscriminator?: boolean): any;
|