@openshift-migration-advisor/agent-sdk 0.19.0 → 0.20.0-daa6de5c47f5
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 +82 -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 +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 +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 +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 +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 +2 -2
- package/dist/esm/models/AgentStatus.d.ts +6 -19
- 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 -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 +10 -7
- 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 +5 -7
- package/dist/esm/models/ClusterFeatures.js +4 -2
- 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 +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 -5
- 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 -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 +6 -5
- 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 +9 -13
- package/dist/esm/models/Host.js +5 -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 +49 -0
- package/dist/esm/models/InspectionStatus.js +57 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -5
- package/dist/esm/models/InspectorStatus.js +2 -2
- package/dist/esm/models/Inventory.d.ts +3 -25
- 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 -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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/esm/models/StorageIoConfiguration.js +2 -2
- 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 +47 -108
- 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 -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 +12 -1
- package/dist/esm/runtime.js +49 -3
- package/dist/models/AgentModeRequest.d.ts +1 -3
- package/dist/models/AgentModeRequest.js +2 -2
- package/dist/models/AgentStatus.d.ts +6 -19
- 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 -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 +10 -7
- 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 +5 -7
- package/dist/models/ClusterFeatures.js +4 -2
- 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 +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 -5
- 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 -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 +6 -5
- 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 +9 -13
- package/dist/models/Host.js +5 -1
- package/dist/models/Infra.d.ts +1 -25
- package/dist/models/Infra.js +1 -1
- package/dist/models/InspectionStatus.d.ts +49 -0
- package/dist/models/InspectionStatus.js +65 -0
- package/dist/models/InspectorStatus.d.ts +1 -5
- package/dist/models/InspectorStatus.js +2 -2
- package/dist/models/Inventory.d.ts +3 -25
- 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 -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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/models/StorageIoConfiguration.js +2 -2
- 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 +47 -108
- 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 -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 +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 -0
- 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/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +527 -0
- package/docs/Host.md +4 -0
- package/docs/{VmInspectionStatus.md → InspectionStatus.md} +6 -8
- package/docs/InspectorApi.md +336 -0
- package/docs/InventoriesApi.md +136 -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/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 +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 +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 +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 +2 -4
- package/src/models/AgentStatus.ts +19 -26
- 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 +14 -39
- package/src/models/CapabilityStatus.ts +1 -3
- package/src/models/CapabilityStatusCapabilities.ts +1 -7
- package/src/models/ClusterFeatures.ts +8 -8
- 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 +3 -6
- 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 +9 -21
- 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 +13 -13
- package/src/models/Infra.ts +1 -25
- package/src/models/InspectionStatus.ts +90 -0
- package/src/models/InspectorStatus.ts +2 -6
- package/src/models/Inventory.ts +11 -38
- package/src/models/Inventory1.ts +97 -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 +2 -12
- package/src/models/OperationCapability.ts +1 -5
- package/src/models/OsInfo.ts +2 -10
- 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 +2 -6
- package/src/models/StorageIoConfiguration.ts +2 -10
- 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 +93 -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 +54 -3
- 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/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).
|
|
@@ -18,26 +18,18 @@ import type { Group } from './Group.js';
|
|
|
18
18
|
export interface GroupListResponse {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<Group>}
|
|
22
|
-
* @memberof GroupListResponse
|
|
23
21
|
*/
|
|
24
22
|
groups: Array<Group>;
|
|
25
23
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof GroupListResponse
|
|
24
|
+
*
|
|
29
25
|
*/
|
|
30
26
|
total: number;
|
|
31
27
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof GroupListResponse
|
|
28
|
+
*
|
|
35
29
|
*/
|
|
36
30
|
page: number;
|
|
37
31
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof GroupListResponse
|
|
32
|
+
*
|
|
41
33
|
*/
|
|
42
34
|
pageCount: number;
|
|
43
35
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Group } from './Group.js';
|
|
13
|
-
import type {
|
|
13
|
+
import type { Inventory1 } from './Inventory1.js';
|
|
14
14
|
import type { VirtualMachine } from './VirtualMachine.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,38 +20,26 @@ import type { VirtualMachine } from './VirtualMachine.js';
|
|
|
20
20
|
export interface GroupResponse {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Group}
|
|
24
|
-
* @memberof GroupResponse
|
|
25
23
|
*/
|
|
26
24
|
group: Group;
|
|
27
25
|
/**
|
|
28
26
|
*
|
|
29
|
-
* @type {Inventory}
|
|
30
|
-
* @memberof GroupResponse
|
|
31
27
|
*/
|
|
32
|
-
inventory?:
|
|
28
|
+
inventory?: Inventory1;
|
|
33
29
|
/**
|
|
34
30
|
*
|
|
35
|
-
* @type {Array<VirtualMachine>}
|
|
36
|
-
* @memberof GroupResponse
|
|
37
31
|
*/
|
|
38
32
|
vms: Array<VirtualMachine>;
|
|
39
33
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @memberof GroupResponse
|
|
34
|
+
*
|
|
43
35
|
*/
|
|
44
36
|
total: number;
|
|
45
37
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof GroupResponse
|
|
38
|
+
*
|
|
49
39
|
*/
|
|
50
40
|
page: number;
|
|
51
41
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {number}
|
|
54
|
-
* @memberof GroupResponse
|
|
42
|
+
*
|
|
55
43
|
*/
|
|
56
44
|
pageCount: number;
|
|
57
45
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { GroupFromJSON, GroupToJSON, } from './Group.js';
|
|
15
|
-
import {
|
|
15
|
+
import { Inventory1FromJSON, Inventory1ToJSON, } from './Inventory1.js';
|
|
16
16
|
import { VirtualMachineFromJSON, VirtualMachineToJSON, } from './VirtualMachine.js';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the GroupResponse interface.
|
|
@@ -39,7 +39,7 @@ export function GroupResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
}
|
|
40
40
|
return {
|
|
41
41
|
'group': GroupFromJSON(json['group']),
|
|
42
|
-
'inventory': json['inventory'] == null ? undefined :
|
|
42
|
+
'inventory': json['inventory'] == null ? undefined : Inventory1FromJSON(json['inventory']),
|
|
43
43
|
'vms': (json['vms'].map(VirtualMachineFromJSON)),
|
|
44
44
|
'total': json['total'],
|
|
45
45
|
'page': json['page'],
|
|
@@ -55,7 +55,7 @@ export function GroupResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
57
|
'group': GroupToJSON(value['group']),
|
|
58
|
-
'inventory':
|
|
58
|
+
'inventory': Inventory1ToJSON(value['inventory']),
|
|
59
59
|
'vms': (value['vms'].map(VirtualMachineToJSON)),
|
|
60
60
|
'total': value['total'],
|
|
61
61
|
'page': value['page'],
|
|
@@ -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,33 +16,23 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GuestNetwork {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GuestNetwork
|
|
19
|
+
* Network device name inside the guest
|
|
22
20
|
*/
|
|
23
21
|
device?: string;
|
|
24
22
|
/**
|
|
25
|
-
* MAC address as seen by the guest
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof GuestNetwork
|
|
23
|
+
* MAC address as seen by the guest
|
|
28
24
|
*/
|
|
29
25
|
mac?: string;
|
|
30
26
|
/**
|
|
31
|
-
* IP address
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof GuestNetwork
|
|
27
|
+
* IP address
|
|
34
28
|
*/
|
|
35
29
|
ip?: string;
|
|
36
30
|
/**
|
|
37
|
-
* Network prefix length (
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GuestNetwork
|
|
31
|
+
* Network prefix length (CIDR)
|
|
40
32
|
*/
|
|
41
33
|
prefixLength?: number;
|
|
42
34
|
/**
|
|
43
|
-
* Network name
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof GuestNetwork
|
|
35
|
+
* Network name from the guest
|
|
46
36
|
*/
|
|
47
37
|
network?: string;
|
|
48
38
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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).
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface Histogram {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof Histogram
|
|
22
20
|
*/
|
|
23
21
|
minValue: number;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof Histogram
|
|
28
24
|
*/
|
|
29
25
|
step: number;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {Array<number>}
|
|
33
|
-
* @memberof Histogram
|
|
34
28
|
*/
|
|
35
29
|
data: Array<number>;
|
|
36
30
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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).
|
|
@@ -17,40 +17,36 @@
|
|
|
17
17
|
export interface Host {
|
|
18
18
|
/**
|
|
19
19
|
* Unique identifier for this host
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Host
|
|
22
20
|
*/
|
|
23
21
|
id?: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Host
|
|
28
24
|
*/
|
|
29
25
|
vendor: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Host
|
|
34
28
|
*/
|
|
35
29
|
model: string;
|
|
36
30
|
/**
|
|
37
31
|
* Number of CPU cores
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof Host
|
|
40
32
|
*/
|
|
41
33
|
cpuCores?: number | null;
|
|
42
34
|
/**
|
|
43
35
|
* Number of CPU sockets
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof Host
|
|
46
36
|
*/
|
|
47
37
|
cpuSockets?: number | null;
|
|
48
38
|
/**
|
|
49
39
|
* Host memory in MB
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof Host
|
|
52
40
|
*/
|
|
53
41
|
memoryMB?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
44
|
+
*/
|
|
45
|
+
vmotionSupported?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
48
|
+
*/
|
|
49
|
+
storageVmotionSupported?: boolean;
|
|
54
50
|
}
|
|
55
51
|
/**
|
|
56
52
|
* Check if a given object implements the Host interface.
|
package/dist/esm/models/Host.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,6 +35,8 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
36
36
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
37
37
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
38
|
+
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
39
|
+
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
export function HostToJSON(json) {
|
|
@@ -51,5 +53,7 @@ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
53
|
'cpuCores': value['cpuCores'],
|
|
52
54
|
'cpuSockets': value['cpuSockets'],
|
|
53
55
|
'memoryMB': value['memoryMB'],
|
|
56
|
+
'vmotionSupported': value['vmotionSupported'],
|
|
57
|
+
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -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).
|
|
@@ -20,79 +20,55 @@ import type { Host } from './Host.js';
|
|
|
20
20
|
export interface Infra {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof Infra
|
|
25
23
|
*/
|
|
26
24
|
totalHosts: number;
|
|
27
25
|
/**
|
|
28
26
|
*
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof Infra
|
|
31
27
|
*/
|
|
32
28
|
totalDatacenters?: number;
|
|
33
29
|
/**
|
|
34
30
|
*
|
|
35
|
-
* @type {number}
|
|
36
|
-
* @memberof Infra
|
|
37
31
|
* @deprecated
|
|
38
32
|
*/
|
|
39
33
|
totalClusters?: number;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {Array<number>}
|
|
43
|
-
* @memberof Infra
|
|
44
36
|
*/
|
|
45
37
|
clustersPerDatacenter?: Array<number>;
|
|
46
38
|
/**
|
|
47
39
|
* CPU Overcommitment Ratio. Calculated as total Allocated vCPUs / Total Physical Cores
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof Infra
|
|
50
40
|
*/
|
|
51
41
|
cpuOverCommitment?: number;
|
|
52
42
|
/**
|
|
53
43
|
* RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof Infra
|
|
56
44
|
*/
|
|
57
45
|
memoryOverCommitment?: number;
|
|
58
46
|
/**
|
|
59
47
|
*
|
|
60
|
-
* @type {Array<Host>}
|
|
61
|
-
* @memberof Infra
|
|
62
48
|
*/
|
|
63
49
|
hosts?: Array<Host>;
|
|
64
50
|
/**
|
|
65
51
|
*
|
|
66
|
-
* @type {Array<number>}
|
|
67
|
-
* @memberof Infra
|
|
68
52
|
* @deprecated
|
|
69
53
|
*/
|
|
70
54
|
hostsPerCluster?: Array<number>;
|
|
71
55
|
/**
|
|
72
56
|
*
|
|
73
|
-
* @type {Array<number>}
|
|
74
|
-
* @memberof Infra
|
|
75
57
|
* @deprecated
|
|
76
58
|
*/
|
|
77
59
|
vmsPerCluster?: Array<number>;
|
|
78
60
|
/**
|
|
79
61
|
*
|
|
80
|
-
* @type {{ [key: string]: number; }}
|
|
81
|
-
* @memberof Infra
|
|
82
62
|
*/
|
|
83
63
|
hostPowerStates: {
|
|
84
64
|
[key: string]: number;
|
|
85
65
|
};
|
|
86
66
|
/**
|
|
87
67
|
*
|
|
88
|
-
* @type {Array<Network>}
|
|
89
|
-
* @memberof Infra
|
|
90
68
|
*/
|
|
91
69
|
networks: Array<Network>;
|
|
92
70
|
/**
|
|
93
71
|
*
|
|
94
|
-
* @type {Array<Datastore>}
|
|
95
|
-
* @memberof Infra
|
|
96
72
|
*/
|
|
97
73
|
datastores: Array<Datastore>;
|
|
98
74
|
}
|
package/dist/esm/models/Infra.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,49 @@
|
|
|
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 InspectionStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface InspectionStatus {
|
|
18
|
+
/**
|
|
19
|
+
* Current inspection state
|
|
20
|
+
*/
|
|
21
|
+
state: InspectionStatusStateEnum;
|
|
22
|
+
/**
|
|
23
|
+
* Human-readable details about the current inspection state
|
|
24
|
+
*/
|
|
25
|
+
details?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Error message when state is error
|
|
28
|
+
*/
|
|
29
|
+
error?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const InspectionStatusStateEnum: {
|
|
35
|
+
readonly InspectionStatusStatePending: "pending";
|
|
36
|
+
readonly InspectionStatusStateRunning: "running";
|
|
37
|
+
readonly InspectionStatusStateCompleted: "completed";
|
|
38
|
+
readonly InspectionStatusStateCanceled: "canceled";
|
|
39
|
+
readonly InspectionStatusStateError: "error";
|
|
40
|
+
};
|
|
41
|
+
export type InspectionStatusStateEnum = typeof InspectionStatusStateEnum[keyof typeof InspectionStatusStateEnum];
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the InspectionStatus interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfInspectionStatus(value: object): value is InspectionStatus;
|
|
46
|
+
export declare function InspectionStatusFromJSON(json: any): InspectionStatus;
|
|
47
|
+
export declare function InspectionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): InspectionStatus;
|
|
48
|
+
export declare function InspectionStatusToJSON(json: any): InspectionStatus;
|
|
49
|
+
export declare function InspectionStatusToJSONTyped(value?: InspectionStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const InspectionStatusStateEnum = {
|
|
18
|
+
InspectionStatusStatePending: 'pending',
|
|
19
|
+
InspectionStatusStateRunning: 'running',
|
|
20
|
+
InspectionStatusStateCompleted: 'completed',
|
|
21
|
+
InspectionStatusStateCanceled: 'canceled',
|
|
22
|
+
InspectionStatusStateError: 'error',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the InspectionStatus interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfInspectionStatus(value) {
|
|
28
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function InspectionStatusFromJSON(json) {
|
|
33
|
+
return InspectionStatusFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function InspectionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'state': json['state'],
|
|
41
|
+
'details': json['details'] == null ? undefined : json['details'],
|
|
42
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function InspectionStatusToJSON(json) {
|
|
46
|
+
return InspectionStatusToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function InspectionStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'state': value['state'],
|
|
54
|
+
'details': value['details'],
|
|
55
|
+
'error': value['error'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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).
|
|
@@ -18,14 +18,10 @@ import type { VddkProperties } from './VddkProperties.js';
|
|
|
18
18
|
export interface InspectorStatus {
|
|
19
19
|
/**
|
|
20
20
|
* Inspector state
|
|
21
|
-
* @type {InspectorStatusStateEnum}
|
|
22
|
-
* @memberof InspectorStatus
|
|
23
21
|
*/
|
|
24
22
|
state: InspectorStatusStateEnum;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {VddkProperties}
|
|
28
|
-
* @memberof InspectorStatus
|
|
29
25
|
*/
|
|
30
26
|
vddk?: VddkProperties;
|
|
31
27
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,7 +17,7 @@ import { VddkPropertiesFromJSON, VddkPropertiesToJSON, } from './VddkProperties.
|
|
|
17
17
|
*/
|
|
18
18
|
export const InspectorStatusStateEnum = {
|
|
19
19
|
InspectorStatusStateReady: 'ready',
|
|
20
|
-
InspectorStatusStateRunning: 'running'
|
|
20
|
+
InspectorStatusStateRunning: 'running',
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the InspectorStatus interface.
|
|
@@ -2,46 +2,24 @@
|
|
|
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 { UpdateInventory } from './UpdateInventory.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
16
|
* @interface Inventory
|
|
17
17
|
*/
|
|
18
18
|
export interface Inventory {
|
|
19
|
-
/**
|
|
20
|
-
* ID of the vCenter
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Inventory
|
|
23
|
-
*/
|
|
24
|
-
vcenter_id: string;
|
|
25
|
-
/**
|
|
26
|
-
* Version of the vCenter api. For example "8.0.3.0"
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Inventory
|
|
29
|
-
*/
|
|
30
|
-
vcenter_version?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Map of cluster names to their inventory data
|
|
33
|
-
* @type {{ [key: string]: InventoryData; }}
|
|
34
|
-
* @memberof Inventory
|
|
35
|
-
*/
|
|
36
|
-
clusters: {
|
|
37
|
-
[key: string]: InventoryData;
|
|
38
|
-
};
|
|
39
19
|
/**
|
|
40
20
|
*
|
|
41
|
-
* @type {InventoryData}
|
|
42
|
-
* @memberof Inventory
|
|
43
21
|
*/
|
|
44
|
-
|
|
22
|
+
inventory: UpdateInventory;
|
|
45
23
|
}
|
|
46
24
|
/**
|
|
47
25
|
* Check if a given object implements the Inventory interface.
|
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
15
|
-
import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData.js';
|
|
14
|
+
import { UpdateInventoryFromJSON, UpdateInventoryToJSON, } from './UpdateInventory.js';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the Inventory interface.
|
|
18
17
|
*/
|
|
19
18
|
export function instanceOfInventory(value) {
|
|
20
|
-
if (!('
|
|
21
|
-
return false;
|
|
22
|
-
if (!('clusters' in value) || value['clusters'] === undefined)
|
|
19
|
+
if (!('inventory' in value) || value['inventory'] === undefined)
|
|
23
20
|
return false;
|
|
24
21
|
return true;
|
|
25
22
|
}
|
|
@@ -31,10 +28,7 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
28
|
return json;
|
|
32
29
|
}
|
|
33
30
|
return {
|
|
34
|
-
'
|
|
35
|
-
'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
36
|
-
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
37
|
-
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
31
|
+
'inventory': UpdateInventoryFromJSON(json['inventory']),
|
|
38
32
|
};
|
|
39
33
|
}
|
|
40
34
|
export function InventoryToJSON(json) {
|
|
@@ -45,9 +39,6 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
39
|
return value;
|
|
46
40
|
}
|
|
47
41
|
return {
|
|
48
|
-
'
|
|
49
|
-
'vcenter_version': value['vcenter_version'],
|
|
50
|
-
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
51
|
-
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
42
|
+
'inventory': UpdateInventoryToJSON(value['inventory']),
|
|
52
43
|
};
|
|
53
44
|
}
|