@openshift-migration-advisor/agent-sdk 0.20.2 → 0.21.0-3e9e4ee6d5ec
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/.openapi-generator/VERSION +1 -1
- package/README.md +84 -87
- 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 +231 -0
- package/dist/apis/CollectionsApi.js +226 -0
- package/dist/apis/CollectorApi.d.ts +154 -0
- package/dist/apis/CollectorApi.js +196 -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 +110 -0
- package/dist/apis/InventoriesApi.js +117 -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 +616 -0
- package/dist/apis/VirtualMachinesApi.js +614 -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 +231 -0
- package/dist/esm/apis/CollectionsApi.js +222 -0
- package/dist/esm/apis/CollectorApi.d.ts +154 -0
- package/dist/esm/apis/CollectorApi.js +192 -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 +110 -0
- package/dist/esm/apis/InventoriesApi.js +113 -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 +616 -0
- package/dist/esm/apis/VirtualMachinesApi.js +610 -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 -1
- package/dist/esm/models/AgentModeRequest.js +2 -2
- package/dist/esm/models/AgentStatus.d.ts +6 -13
- package/dist/esm/models/AgentStatus.js +8 -14
- 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 -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 +10 -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 +3 -3
- package/dist/esm/models/ClusterFeatures.js +4 -4
- package/dist/esm/models/ClusterUtilization.d.ts +1 -1
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/Collection.d.ts +38 -0
- package/dist/esm/models/Collection.js +52 -0
- package/dist/esm/models/CollectionAggregate.d.ts +50 -0
- package/dist/esm/models/CollectionAggregate.js +64 -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 -1
- package/dist/esm/models/CollectorStatus.js +3 -2
- 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 -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 +7 -17
- 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 -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 +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 -11
- package/dist/esm/models/ForecastStats.js +33 -17
- package/dist/esm/models/ForecasterStatus.d.ts +7 -7
- package/dist/esm/models/ForecasterStatus.js +8 -6
- package/dist/esm/models/Group.d.ts +8 -4
- package/dist/esm/models/Group.js +8 -5
- 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 +5 -1
- package/dist/esm/models/Infra.js +3 -1
- package/dist/esm/models/InspectionStatus.d.ts +49 -0
- package/dist/esm/models/InspectionStatus.js +57 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -1
- package/dist/esm/models/InspectorStatus.js +2 -2
- package/dist/esm/models/Inventory.d.ts +3 -17
- package/dist/esm/models/Inventory.js +5 -14
- package/dist/esm/models/Inventory1.d.ts +49 -0
- package/dist/esm/models/Inventory1.js +55 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/models/PairCapability.d.ts +3 -13
- package/dist/esm/models/PairCapability.js +1 -10
- package/dist/esm/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/esm/models/PairCapabilityRequest.js +4 -7
- package/dist/esm/models/Process.d.ts +1 -1
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -15
- 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 -8
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/esm/models/StopForecasterPair202Response.js +2 -2
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +2 -2
- 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/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +5 -1
- package/dist/esm/models/VMs.js +3 -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 +15 -11
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +47 -38
- package/dist/esm/models/VirtualMachineDetail.js +23 -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 -3
- 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 -1
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
- 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 +12 -1
- package/dist/esm/runtime.js +49 -3
- package/dist/models/AgentModeRequest.d.ts +1 -1
- package/dist/models/AgentModeRequest.js +2 -2
- package/dist/models/AgentStatus.d.ts +6 -13
- package/dist/models/AgentStatus.js +9 -15
- package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/models/AgentStatusConsoleConnection.js +60 -0
- 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 +10 -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 +3 -3
- package/dist/models/ClusterFeatures.js +4 -4
- package/dist/models/ClusterUtilization.d.ts +1 -1
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/Collection.d.ts +38 -0
- package/dist/models/Collection.js +59 -0
- package/dist/models/CollectionAggregate.d.ts +50 -0
- package/dist/models/CollectionAggregate.js +71 -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 -1
- package/dist/models/CollectorStatus.js +3 -2
- 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 -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 +7 -17
- 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 -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 +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 -11
- package/dist/models/ForecastStats.js +33 -17
- package/dist/models/ForecasterStatus.d.ts +7 -7
- package/dist/models/ForecasterStatus.js +8 -6
- package/dist/models/Group.d.ts +8 -4
- package/dist/models/Group.js +8 -5
- 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 +5 -1
- package/dist/models/Infra.js +3 -1
- package/dist/models/InspectionStatus.d.ts +49 -0
- package/dist/models/InspectionStatus.js +65 -0
- package/dist/models/InspectorStatus.d.ts +1 -1
- package/dist/models/InspectorStatus.js +2 -2
- package/dist/models/Inventory.d.ts +3 -17
- package/dist/models/Inventory.js +5 -14
- package/dist/models/Inventory1.d.ts +49 -0
- package/dist/models/Inventory1.js +62 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/models/PairCapability.d.ts +3 -13
- package/dist/models/PairCapability.js +1 -11
- package/dist/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/models/PairCapabilityRequest.js +4 -7
- package/dist/models/Process.d.ts +1 -1
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -15
- 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 -8
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/models/StopForecasterPair202Response.js +2 -2
- package/dist/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/models/StorageIoConfiguration.js +2 -2
- 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/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -1
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +5 -1
- package/dist/models/VMs.js +3 -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 +15 -11
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +47 -38
- package/dist/models/VirtualMachineDetail.js +23 -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 -3
- 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 -1
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -8
- 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 +12 -1
- package/dist/runtime.js +53 -3
- package/docs/AgentApi.md +136 -0
- package/docs/AgentStatus.md +4 -4
- package/docs/{ExportInventory500Response.md → AgentStatusConsoleConnection.md} +6 -4
- package/docs/ApplicationsApi.md +76 -0
- package/docs/BenchmarkRun.md +2 -2
- package/docs/ClusterFeatures.md +2 -2
- package/docs/{ExportInventory400Response.md → Collection.md} +10 -6
- 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 +294 -0
- package/docs/CollectorApi.md +257 -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/Group.md +2 -0
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +527 -0
- package/docs/Infra.md +2 -0
- package/docs/{VmInspectionStatus.md → InspectionStatus.md} +6 -8
- package/docs/InspectorApi.md +336 -0
- package/docs/InventoriesApi.md +144 -0
- package/docs/Inventory.md +2 -8
- package/docs/{GetInventory200Response.md → Inventory1.md} +6 -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/VMs.md +2 -0
- package/docs/VersionApi.md +66 -0
- package/docs/VirtualMachine.md +5 -3
- package/docs/VirtualMachineDetail.md +9 -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 +984 -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 +429 -0
- package/src/apis/CollectorApi.ts +306 -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 +191 -0
- package/src/apis/RightsizingApi.ts +205 -0
- package/src/apis/VersionApi.ts +94 -0
- package/src/apis/VirtualMachinesApi.ts +1216 -0
- package/src/apis/index.ts +12 -1
- package/src/models/AgentModeRequest.ts +2 -2
- package/src/models/AgentStatus.ts +19 -20
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- 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 +14 -13
- package/src/models/CapabilityStatus.ts +1 -1
- package/src/models/CapabilityStatusCapabilities.ts +1 -1
- package/src/models/ClusterFeatures.ts +6 -6
- package/src/models/ClusterUtilization.ts +1 -1
- 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 +3 -2
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- 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 +7 -20
- package/src/models/{DatastorePair.ts → DatastorePairRequest.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 +14 -11
- package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -37
- package/src/models/ForecastStats.ts +35 -27
- package/src/models/ForecasterStatus.ts +15 -14
- package/src/models/Group.ts +15 -9
- 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 +7 -1
- package/src/models/InspectionStatus.ts +90 -0
- package/src/models/InspectorStatus.ts +2 -2
- package/src/models/Inventory.ts +11 -30
- package/src/models/Inventory1.ts +97 -0
- 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 +2 -2
- package/src/models/OperationCapability.ts +1 -1
- package/src/models/OsInfo.ts +2 -2
- package/src/models/PairCapability.ts +3 -16
- package/src/models/PairCapabilityRequest.ts +10 -23
- package/src/models/Process.ts +1 -1
- package/src/models/RightsizingClusterResponse.ts +2 -2
- package/src/models/RightsizingClusterUtilization.ts +13 -15
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StartInspectionRequest.ts +3 -17
- package/src/models/StopForecasterPair202Response.ts +2 -2
- package/src/models/StorageIoConfiguration.ts +2 -2
- 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/VMFilterOptionsResponse.ts +1 -1
- package/src/models/VMLabelsResponse.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +7 -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 +27 -20
- package/src/models/VirtualMachineDetail.ts +93 -73
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -17
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -12
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -6
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -1
- package/src/models/VmUtilizationDetails.ts +8 -8
- package/src/models/index.ts +20 -23
- package/src/runtime.ts +54 -3
- package/dist/apis/DefaultApi.d.ts +0 -1988
- package/dist/apis/DefaultApi.js +0 -2066
- package/dist/esm/apis/DefaultApi.d.ts +0 -1988
- package/dist/esm/apis/DefaultApi.js +0 -2062
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -46
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastorePair.d.ts +0 -42
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -48
- 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 -34
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -63
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -45
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/VMDevice.d.ts +0 -30
- package/dist/esm/models/VMDisk.d.ts +0 -54
- package/dist/esm/models/VMIssue.d.ts +0 -50
- package/dist/esm/models/VMNIC.d.ts +0 -46
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -38
- package/dist/esm/models/VmInspectionResults.d.ts +0 -31
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -53
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/CollectorStartRequest.d.ts +0 -46
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastorePair.d.ts +0 -42
- package/dist/models/ExportInventory400Response.d.ts +0 -30
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -30
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/models/ForecasterStartRequest.d.ts +0 -48
- 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 -34
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -63
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -45
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/VMDevice.d.ts +0 -30
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -54
- package/dist/models/VMIssue.d.ts +0 -50
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -46
- package/dist/models/VmInspectionConcern.d.ts +0 -38
- package/dist/models/VmInspectionResults.d.ts +0 -31
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -53
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DefaultApi.md +0 -3361
- 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/src/apis/DefaultApi.ts +0 -3986
- package/src/models/CollectorStartRequest.ts +0 -87
- package/src/models/ExportInventory400Response.ts +0 -63
- package/src/models/ExportInventory500Response.ts +0 -63
- package/src/models/ForecasterDatastoresRequest.ts +0 -71
- package/src/models/ForecasterStartRequest.ts +0 -103
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PutForecasterCredentials403Response.ts +0 -69
- package/src/models/RightsizingClusterListResponse.ts +0 -79
- package/src/models/RightsizingCollectRequest.ts +0 -109
- package/src/models/RightsizingMetricStats.ts +0 -99
- package/src/models/RightsizingReport.ts +0 -128
- package/src/models/RightsizingReportListResponse.ts +0 -79
- package/src/models/RightsizingReportSummary.ts +0 -113
- package/src/models/RightsizingVMReport.ts +0 -93
- package/src/models/VMDevice.ts +0 -63
- package/src/models/VMIssue.ts +0 -93
- package/src/models/VMNIC.ts +0 -87
- package/src/models/VmInspectionResults.ts +0 -71
- package/src/models/VmInspectionStatus.ts +0 -97
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Assisted Migration Agent API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfRightsizingVMReport = instanceOfRightsizingVMReport;
|
|
17
|
-
exports.RightsizingVMReportFromJSON = RightsizingVMReportFromJSON;
|
|
18
|
-
exports.RightsizingVMReportFromJSONTyped = RightsizingVMReportFromJSONTyped;
|
|
19
|
-
exports.RightsizingVMReportToJSON = RightsizingVMReportToJSON;
|
|
20
|
-
exports.RightsizingVMReportToJSONTyped = RightsizingVMReportToJSONTyped;
|
|
21
|
-
const runtime_js_1 = require("../runtime.js");
|
|
22
|
-
const RightsizingMetricStats_js_1 = require("./RightsizingMetricStats.js");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the RightsizingVMReport interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfRightsizingVMReport(value) {
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('moid' in value) || value['moid'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('warnings' in value) || value['warnings'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
function RightsizingVMReportFromJSON(json) {
|
|
38
|
-
return RightsizingVMReportFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function RightsizingVMReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'name': json['name'],
|
|
46
|
-
'moid': json['moid'],
|
|
47
|
-
'metrics': ((0, runtime_js_1.mapValues)(json['metrics'], RightsizingMetricStats_js_1.RightsizingMetricStatsFromJSON)),
|
|
48
|
-
'warnings': json['warnings'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function RightsizingVMReportToJSON(json) {
|
|
52
|
-
return RightsizingVMReportToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function RightsizingVMReportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'name': value['name'],
|
|
60
|
-
'moid': value['moid'],
|
|
61
|
-
'metrics': ((0, runtime_js_1.mapValues)(value['metrics'], RightsizingMetricStats_js_1.RightsizingMetricStatsToJSON)),
|
|
62
|
-
'warnings': value['warnings'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VMDevice
|
|
16
|
-
*/
|
|
17
|
-
export interface VMDevice {
|
|
18
|
-
/**
|
|
19
|
-
* Type of virtual device (e.g., cdrom, floppy, usb, serial, parallel)
|
|
20
|
-
*/
|
|
21
|
-
kind?: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the VMDevice interface.
|
|
25
|
-
*/
|
|
26
|
-
export declare function instanceOfVMDevice(value: object): value is VMDevice;
|
|
27
|
-
export declare function VMDeviceFromJSON(json: any): VMDevice;
|
|
28
|
-
export declare function VMDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMDevice;
|
|
29
|
-
export declare function VMDeviceToJSON(json: any): VMDevice;
|
|
30
|
-
export declare function VMDeviceToJSONTyped(value?: VMDevice | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/VMDevice.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Assisted Migration Agent API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfVMDevice = instanceOfVMDevice;
|
|
17
|
-
exports.VMDeviceFromJSON = VMDeviceFromJSON;
|
|
18
|
-
exports.VMDeviceFromJSONTyped = VMDeviceFromJSONTyped;
|
|
19
|
-
exports.VMDeviceToJSON = VMDeviceToJSON;
|
|
20
|
-
exports.VMDeviceToJSONTyped = VMDeviceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the VMDevice interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfVMDevice(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function VMDeviceFromJSON(json) {
|
|
28
|
-
return VMDeviceFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function VMDeviceFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
function VMDeviceToJSON(json) {
|
|
39
|
-
return VMDeviceToJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
function VMDeviceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
-
if (value == null) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'kind': value['kind'],
|
|
47
|
-
};
|
|
48
|
-
}
|
package/dist/models/VMDisk.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VMDisk
|
|
16
|
-
*/
|
|
17
|
-
export interface VMDisk {
|
|
18
|
-
/**
|
|
19
|
-
* Unique key identifying this disk within the VirtualMachine
|
|
20
|
-
*/
|
|
21
|
-
key?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Path to the VMDK file in the datastore
|
|
24
|
-
*/
|
|
25
|
-
file?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Disk capacity in bytes
|
|
28
|
-
*/
|
|
29
|
-
capacity?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Whether this disk is shared between multiple VMs
|
|
32
|
-
*/
|
|
33
|
-
shared?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Whether this is a Raw Device Mapping (direct LUN access)
|
|
36
|
-
*/
|
|
37
|
-
rdm?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Bus type (e.g., scsi, ide, sata, nvme)
|
|
40
|
-
*/
|
|
41
|
-
bus?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Disk mode (e.g., persistent, independent_persistent, independent_nonpersistent)
|
|
44
|
-
*/
|
|
45
|
-
mode?: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Check if a given object implements the VMDisk interface.
|
|
49
|
-
*/
|
|
50
|
-
export declare function instanceOfVMDisk(value: object): value is VMDisk;
|
|
51
|
-
export declare function VMDiskFromJSON(json: any): VMDisk;
|
|
52
|
-
export declare function VMDiskFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMDisk;
|
|
53
|
-
export declare function VMDiskToJSON(json: any): VMDisk;
|
|
54
|
-
export declare function VMDiskToJSONTyped(value?: VMDisk | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/VMIssue.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VMIssue
|
|
16
|
-
*/
|
|
17
|
-
export interface VMIssue {
|
|
18
|
-
/**
|
|
19
|
-
* Short label describing the issue
|
|
20
|
-
*/
|
|
21
|
-
label: string;
|
|
22
|
-
/**
|
|
23
|
-
* Detailed description of the issue with additional context and recommendations
|
|
24
|
-
*/
|
|
25
|
-
description: string;
|
|
26
|
-
/**
|
|
27
|
-
* Severity category of the issue. Unknown categories are mapped to 'Other'.
|
|
28
|
-
*/
|
|
29
|
-
category: VMIssueCategoryEnum;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const VMIssueCategoryEnum: {
|
|
35
|
-
readonly VMIssueCategoryCritical: "Critical";
|
|
36
|
-
readonly VMIssueCategoryWarning: "Warning";
|
|
37
|
-
readonly VMIssueCategoryInformation: "Information";
|
|
38
|
-
readonly VMIssueCategoryAdvisory: "Advisory";
|
|
39
|
-
readonly VMIssueCategoryError: "Error";
|
|
40
|
-
readonly VMIssueCategoryOther: "Other";
|
|
41
|
-
};
|
|
42
|
-
export type VMIssueCategoryEnum = typeof VMIssueCategoryEnum[keyof typeof VMIssueCategoryEnum];
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the VMIssue interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfVMIssue(value: object): value is VMIssue;
|
|
47
|
-
export declare function VMIssueFromJSON(json: any): VMIssue;
|
|
48
|
-
export declare function VMIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMIssue;
|
|
49
|
-
export declare function VMIssueToJSON(json: any): VMIssue;
|
|
50
|
-
export declare function VMIssueToJSONTyped(value?: VMIssue | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/VMIssue.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Assisted Migration Agent API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.VMIssueCategoryEnum = void 0;
|
|
17
|
-
exports.instanceOfVMIssue = instanceOfVMIssue;
|
|
18
|
-
exports.VMIssueFromJSON = VMIssueFromJSON;
|
|
19
|
-
exports.VMIssueFromJSONTyped = VMIssueFromJSONTyped;
|
|
20
|
-
exports.VMIssueToJSON = VMIssueToJSON;
|
|
21
|
-
exports.VMIssueToJSONTyped = VMIssueToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.VMIssueCategoryEnum = {
|
|
26
|
-
VMIssueCategoryCritical: 'Critical',
|
|
27
|
-
VMIssueCategoryWarning: 'Warning',
|
|
28
|
-
VMIssueCategoryInformation: 'Information',
|
|
29
|
-
VMIssueCategoryAdvisory: 'Advisory',
|
|
30
|
-
VMIssueCategoryError: 'Error',
|
|
31
|
-
VMIssueCategoryOther: 'Other'
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the VMIssue interface.
|
|
35
|
-
*/
|
|
36
|
-
function instanceOfVMIssue(value) {
|
|
37
|
-
if (!('label' in value) || value['label'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('category' in value) || value['category'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
function VMIssueFromJSON(json) {
|
|
46
|
-
return VMIssueFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function VMIssueFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'label': json['label'],
|
|
54
|
-
'description': json['description'],
|
|
55
|
-
'category': json['category'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
function VMIssueToJSON(json) {
|
|
59
|
-
return VMIssueToJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
function VMIssueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
-
if (value == null) {
|
|
63
|
-
return value;
|
|
64
|
-
}
|
|
65
|
-
return {
|
|
66
|
-
'label': value['label'],
|
|
67
|
-
'description': value['description'],
|
|
68
|
-
'category': value['category'],
|
|
69
|
-
};
|
|
70
|
-
}
|
package/dist/models/VMNIC.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VMNIC
|
|
16
|
-
*/
|
|
17
|
-
export interface VMNIC {
|
|
18
|
-
/**
|
|
19
|
-
* MAC address of the virtual NIC
|
|
20
|
-
*/
|
|
21
|
-
mac?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Reference to the network this NIC is connected to
|
|
24
|
-
*/
|
|
25
|
-
network?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Index of the NIC within the VirtualMachine
|
|
28
|
-
*/
|
|
29
|
-
index?: number;
|
|
30
|
-
/**
|
|
31
|
-
* IPv4 address of this NIC as reported by VMware Tools
|
|
32
|
-
*/
|
|
33
|
-
ipv4Address?: string;
|
|
34
|
-
/**
|
|
35
|
-
* IPv6 address of this NIC as reported by VMware Tools
|
|
36
|
-
*/
|
|
37
|
-
ipv6Address?: string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Check if a given object implements the VMNIC interface.
|
|
41
|
-
*/
|
|
42
|
-
export declare function instanceOfVMNIC(value: object): value is VMNIC;
|
|
43
|
-
export declare function VMNICFromJSON(json: any): VMNIC;
|
|
44
|
-
export declare function VMNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMNIC;
|
|
45
|
-
export declare function VMNICToJSON(json: any): VMNIC;
|
|
46
|
-
export declare function VMNICToJSONTyped(value?: VMNIC | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Represents the structure of vm-migration-detective library inspection concerns
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VmInspectionConcern
|
|
16
|
-
*/
|
|
17
|
-
export interface VmInspectionConcern {
|
|
18
|
-
/**
|
|
19
|
-
* Short label identifying the concern
|
|
20
|
-
*/
|
|
21
|
-
label: string;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
message: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
category: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the VmInspectionConcern interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfVmInspectionConcern(value: object): value is VmInspectionConcern;
|
|
35
|
-
export declare function VmInspectionConcernFromJSON(json: any): VmInspectionConcern;
|
|
36
|
-
export declare function VmInspectionConcernFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionConcern;
|
|
37
|
-
export declare function VmInspectionConcernToJSON(json: any): VmInspectionConcern;
|
|
38
|
-
export declare function VmInspectionConcernToJSONTyped(value?: VmInspectionConcern | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { VmInspectionConcern } from './VmInspectionConcern.js';
|
|
13
|
-
/**
|
|
14
|
-
* VirtualMachine Inspection results
|
|
15
|
-
* @export
|
|
16
|
-
* @interface VmInspectionResults
|
|
17
|
-
*/
|
|
18
|
-
export interface VmInspectionResults {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
concerns?: Array<VmInspectionConcern>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the VmInspectionResults interface.
|
|
26
|
-
*/
|
|
27
|
-
export declare function instanceOfVmInspectionResults(value: object): value is VmInspectionResults;
|
|
28
|
-
export declare function VmInspectionResultsFromJSON(json: any): VmInspectionResults;
|
|
29
|
-
export declare function VmInspectionResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionResults;
|
|
30
|
-
export declare function VmInspectionResultsToJSON(json: any): VmInspectionResults;
|
|
31
|
-
export declare function VmInspectionResultsToJSONTyped(value?: VmInspectionResults | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Assisted Migration Agent API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfVmInspectionResults = instanceOfVmInspectionResults;
|
|
17
|
-
exports.VmInspectionResultsFromJSON = VmInspectionResultsFromJSON;
|
|
18
|
-
exports.VmInspectionResultsFromJSONTyped = VmInspectionResultsFromJSONTyped;
|
|
19
|
-
exports.VmInspectionResultsToJSON = VmInspectionResultsToJSON;
|
|
20
|
-
exports.VmInspectionResultsToJSONTyped = VmInspectionResultsToJSONTyped;
|
|
21
|
-
const VmInspectionConcern_js_1 = require("./VmInspectionConcern.js");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the VmInspectionResults interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfVmInspectionResults(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function VmInspectionResultsFromJSON(json) {
|
|
29
|
-
return VmInspectionResultsFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function VmInspectionResultsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'concerns': json['concerns'] == null ? undefined : (json['concerns'].map(VmInspectionConcern_js_1.VmInspectionConcernFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function VmInspectionResultsToJSON(json) {
|
|
40
|
-
return VmInspectionResultsToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function VmInspectionResultsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'concerns': value['concerns'] == null ? undefined : (value['concerns'].map(VmInspectionConcern_js_1.VmInspectionConcernToJSON)),
|
|
48
|
-
};
|
|
49
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VmInspectionStatus
|
|
16
|
-
*/
|
|
17
|
-
export interface VmInspectionStatus {
|
|
18
|
-
/**
|
|
19
|
-
* Current inspection state
|
|
20
|
-
*/
|
|
21
|
-
state: VmInspectionStatusStateEnum;
|
|
22
|
-
/**
|
|
23
|
-
* State details
|
|
24
|
-
*/
|
|
25
|
-
message: string;
|
|
26
|
-
/**
|
|
27
|
-
* Error message when state is error
|
|
28
|
-
*/
|
|
29
|
-
error?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Inspection results
|
|
32
|
-
*/
|
|
33
|
-
results?: object;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @export
|
|
37
|
-
*/
|
|
38
|
-
export declare const VmInspectionStatusStateEnum: {
|
|
39
|
-
readonly VmInspectionStatusStatePending: "pending";
|
|
40
|
-
readonly VmInspectionStatusStateRunning: "running";
|
|
41
|
-
readonly VmInspectionStatusStateCompleted: "completed";
|
|
42
|
-
readonly VmInspectionStatusStateCanceled: "canceled";
|
|
43
|
-
readonly VmInspectionStatusStateError: "error";
|
|
44
|
-
};
|
|
45
|
-
export type VmInspectionStatusStateEnum = typeof VmInspectionStatusStateEnum[keyof typeof VmInspectionStatusStateEnum];
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the VmInspectionStatus interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfVmInspectionStatus(value: object): value is VmInspectionStatus;
|
|
50
|
-
export declare function VmInspectionStatusFromJSON(json: any): VmInspectionStatus;
|
|
51
|
-
export declare function VmInspectionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionStatus;
|
|
52
|
-
export declare function VmInspectionStatusToJSON(json: any): VmInspectionStatus;
|
|
53
|
-
export declare function VmInspectionStatusToJSONTyped(value?: VmInspectionStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Assisted Migration Agent API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.VmInspectionStatusStateEnum = void 0;
|
|
17
|
-
exports.instanceOfVmInspectionStatus = instanceOfVmInspectionStatus;
|
|
18
|
-
exports.VmInspectionStatusFromJSON = VmInspectionStatusFromJSON;
|
|
19
|
-
exports.VmInspectionStatusFromJSONTyped = VmInspectionStatusFromJSONTyped;
|
|
20
|
-
exports.VmInspectionStatusToJSON = VmInspectionStatusToJSON;
|
|
21
|
-
exports.VmInspectionStatusToJSONTyped = VmInspectionStatusToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.VmInspectionStatusStateEnum = {
|
|
26
|
-
VmInspectionStatusStatePending: 'pending',
|
|
27
|
-
VmInspectionStatusStateRunning: 'running',
|
|
28
|
-
VmInspectionStatusStateCompleted: 'completed',
|
|
29
|
-
VmInspectionStatusStateCanceled: 'canceled',
|
|
30
|
-
VmInspectionStatusStateError: 'error'
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the VmInspectionStatus interface.
|
|
34
|
-
*/
|
|
35
|
-
function instanceOfVmInspectionStatus(value) {
|
|
36
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
function VmInspectionStatusFromJSON(json) {
|
|
43
|
-
return VmInspectionStatusFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function VmInspectionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
if (json == null) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'state': json['state'],
|
|
51
|
-
'message': json['message'],
|
|
52
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
53
|
-
'results': json['results'] == null ? undefined : json['results'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function VmInspectionStatusToJSON(json) {
|
|
57
|
-
return VmInspectionStatusToJSONTyped(json, false);
|
|
58
|
-
}
|
|
59
|
-
function VmInspectionStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'state': value['state'],
|
|
65
|
-
'message': value['message'],
|
|
66
|
-
'error': value['error'],
|
|
67
|
-
'results': value['results'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# CollectorStartRequest
|
|
3
|
-
|
|
4
|
-
Start collection. Credentials are optional if previously stored via PUT /credentials.
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
Name | Type
|
|
9
|
-
------------ | -------------
|
|
10
|
-
`url` | string
|
|
11
|
-
`username` | string
|
|
12
|
-
`password` | string
|
|
13
|
-
`skipTls` | boolean
|
|
14
|
-
`cacert` | string
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import type { CollectorStartRequest } from '@openshift-migration-advisor/agent-sdk'
|
|
20
|
-
|
|
21
|
-
// TODO: Update the object below with actual values
|
|
22
|
-
const example = {
|
|
23
|
-
"url": null,
|
|
24
|
-
"username": null,
|
|
25
|
-
"password": null,
|
|
26
|
-
"skipTls": null,
|
|
27
|
-
"cacert": null,
|
|
28
|
-
} satisfies CollectorStartRequest
|
|
29
|
-
|
|
30
|
-
console.log(example)
|
|
31
|
-
|
|
32
|
-
// Convert the instance to a JSON string
|
|
33
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
-
console.log(exampleJSON)
|
|
35
|
-
|
|
36
|
-
// Parse the JSON string back to an object
|
|
37
|
-
const exampleParsed = JSON.parse(exampleJSON) as CollectorStartRequest
|
|
38
|
-
console.log(exampleParsed)
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
42
|
-
|
|
43
|
-
|