@openshift-migration-advisor/agent-sdk 0.20.1-bf086d122d0f → 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +48 -64
- package/README.md +86 -81
- package/dist/apis/DefaultApi.d.ts +1988 -0
- package/dist/apis/DefaultApi.js +2066 -0
- package/dist/apis/index.d.ts +1 -12
- package/dist/apis/index.js +1 -12
- package/dist/esm/apis/DefaultApi.d.ts +1988 -0
- package/dist/esm/apis/DefaultApi.js +2062 -0
- package/dist/esm/apis/index.d.ts +1 -12
- package/dist/esm/apis/index.js +1 -12
- package/dist/esm/models/AgentModeRequest.d.ts +1 -1
- package/dist/esm/models/AgentModeRequest.js +1 -1
- package/dist/esm/models/AgentStatus.d.ts +15 -4
- package/dist/esm/models/AgentStatus.js +13 -5
- package/dist/esm/models/ApplicationListResponse.d.ts +1 -1
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -4
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -3
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -6
- package/dist/esm/models/BenchmarkRun.js +5 -7
- package/dist/esm/models/CapabilityStatus.d.ts +1 -1
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +1 -1
- package/dist/esm/models/ClusterFeatures.js +1 -1
- package/dist/esm/models/ClusterUtilization.d.ts +1 -1
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/CollectorStartRequest.d.ts +46 -0
- package/dist/esm/models/CollectorStartRequest.js +49 -0
- package/dist/esm/models/CollectorStatus.d.ts +1 -2
- package/dist/esm/models/CollectorStatus.js +1 -2
- package/dist/esm/models/CreateGroupRequest.d.ts +4 -4
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -1
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +17 -7
- package/dist/esm/models/DatastoreDetail.js +10 -1
- package/dist/esm/models/DatastorePair.d.ts +42 -0
- package/dist/esm/models/{DatastorePairRequest.js → DatastorePair.js} +9 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimateRange.d.ts +8 -8
- package/dist/esm/models/EstimateRange.js +4 -10
- package/dist/esm/models/ExportInventory400Response.d.ts +30 -0
- package/dist/esm/models/ExportInventory400Response.js +41 -0
- package/dist/esm/models/ExportInventory500Response.d.ts +30 -0
- package/dist/esm/models/ExportInventory500Response.js +41 -0
- package/dist/esm/models/ForecastStats.d.ts +11 -11
- package/dist/esm/models/ForecastStats.js +17 -33
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +31 -0
- package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
- package/dist/esm/models/ForecasterPairStatus.d.ts +78 -0
- package/dist/esm/models/{ForecastPairStatus.js → ForecasterPairStatus.js} +22 -22
- package/dist/esm/models/ForecasterStartRequest.d.ts +48 -0
- package/dist/esm/models/{StartForecasterRequest.js → ForecasterStartRequest.js} +15 -12
- package/dist/esm/models/ForecasterStatus.d.ts +7 -7
- package/dist/esm/models/ForecasterStatus.js +6 -8
- package/dist/esm/models/GetInventory200Response.d.ts +23 -0
- package/dist/esm/models/GetInventory200Response.js +51 -0
- package/dist/esm/models/Group.d.ts +4 -4
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupListResponse.d.ts +4 -4
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -6
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -6
- package/dist/esm/models/GuestNetwork.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +9 -1
- package/dist/esm/models/Host.js +5 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/InspectorStatus.d.ts +1 -1
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory.d.ts +17 -3
- package/dist/esm/models/Inventory.js +14 -5
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OperationCapability.d.ts +1 -1
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PairCapability.d.ts +13 -3
- package/dist/esm/models/PairCapability.js +10 -1
- package/dist/esm/models/PairCapabilityRequest.d.ts +8 -3
- package/dist/esm/models/PairCapabilityRequest.js +7 -4
- package/dist/esm/models/Process.d.ts +1 -1
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +34 -0
- package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +35 -0
- package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +15 -13
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/RightsizingCollectRequest.d.ts +56 -0
- package/dist/esm/models/RightsizingCollectRequest.js +56 -0
- package/dist/esm/models/RightsizingMetricStats.d.ts +50 -0
- package/dist/esm/models/RightsizingMetricStats.js +63 -0
- package/dist/esm/models/RightsizingReport.d.ts +63 -0
- package/dist/esm/models/RightsizingReport.js +76 -0
- package/dist/esm/models/RightsizingReportListResponse.d.ts +35 -0
- package/dist/esm/models/RightsizingReportListResponse.js +48 -0
- package/dist/esm/models/RightsizingReportSummary.d.ts +58 -0
- package/dist/esm/models/RightsizingReportSummary.js +71 -0
- package/dist/esm/models/RightsizingVMReport.d.ts +45 -0
- package/dist/esm/models/RightsizingVMReport.js +57 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +8 -3
- package/dist/esm/models/StartInspectionRequest.js +4 -1
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/esm/models/StopForecasterPair202Response.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -3
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMDevice.d.ts +30 -0
- package/dist/esm/models/{VirtualMachineDevice.js → VMDevice.js} +9 -9
- package/dist/esm/models/VMDisk.d.ts +54 -0
- package/dist/esm/models/{VirtualMachineDisk.js → VMDisk.js} +9 -9
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMIssue.d.ts +50 -0
- package/dist/esm/models/{VirtualMachineIssue.js → VMIssue.js} +16 -16
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMNIC.d.ts +46 -0
- package/dist/esm/models/{VirtualMachineNIC.js → VMNIC.js} +13 -9
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -1
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -2
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -4
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +11 -15
- package/dist/esm/models/VirtualMachine.js +6 -10
- package/dist/esm/models/VirtualMachineDetail.d.ts +38 -42
- package/dist/esm/models/VirtualMachineDetail.js +16 -20
- package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/esm/models/VirtualMachineListResponse.js +4 -4
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmInspectionConcern.d.ts +38 -0
- package/dist/esm/models/{VirtualMachineInspectionConcern.js → VmInspectionConcern.js} +9 -9
- package/dist/esm/models/VmInspectionResults.d.ts +31 -0
- package/dist/esm/models/VmInspectionResults.js +42 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +53 -0
- package/dist/esm/models/VmInspectionStatus.js +61 -0
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +23 -20
- package/dist/esm/models/index.js +23 -20
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AgentModeRequest.d.ts +1 -1
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +15 -4
- package/dist/models/AgentStatus.js +14 -6
- package/dist/models/ApplicationListResponse.d.ts +1 -1
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -4
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -3
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -6
- package/dist/models/BenchmarkRun.js +5 -7
- package/dist/models/CapabilityStatus.d.ts +1 -1
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +1 -1
- package/dist/models/ClusterFeatures.js +1 -1
- package/dist/models/ClusterUtilization.d.ts +1 -1
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/CollectorStartRequest.d.ts +46 -0
- package/dist/models/CollectorStartRequest.js +56 -0
- package/dist/models/CollectorStatus.d.ts +1 -2
- package/dist/models/CollectorStatus.js +1 -2
- package/dist/models/CreateGroupRequest.d.ts +4 -4
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -1
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +17 -7
- package/dist/models/DatastoreDetail.js +11 -1
- package/dist/models/DatastorePair.d.ts +42 -0
- package/dist/models/{DatastorePairRequest.js → DatastorePair.js} +14 -14
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimateRange.d.ts +8 -8
- package/dist/models/EstimateRange.js +4 -10
- package/dist/models/ExportInventory400Response.d.ts +30 -0
- package/dist/models/ExportInventory400Response.js +48 -0
- package/dist/models/ExportInventory500Response.d.ts +30 -0
- package/dist/models/ExportInventory500Response.js +48 -0
- package/dist/models/ForecastStats.d.ts +11 -11
- package/dist/models/ForecastStats.js +17 -33
- package/dist/models/ForecasterDatastoresRequest.d.ts +31 -0
- package/dist/models/ForecasterDatastoresRequest.js +49 -0
- package/dist/models/ForecasterPairStatus.d.ts +78 -0
- package/dist/models/{ForecastPairStatus.js → ForecasterPairStatus.js} +28 -28
- package/dist/models/ForecasterStartRequest.d.ts +48 -0
- package/dist/models/ForecasterStartRequest.js +60 -0
- package/dist/models/ForecasterStatus.d.ts +7 -7
- package/dist/models/ForecasterStatus.js +6 -8
- package/dist/models/GetInventory200Response.d.ts +23 -0
- package/dist/models/GetInventory200Response.js +57 -0
- package/dist/models/Group.d.ts +4 -4
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupListResponse.d.ts +4 -4
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -6
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -6
- package/dist/models/GuestNetwork.js +1 -1
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +9 -1
- package/dist/models/Host.js +5 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/InspectorStatus.d.ts +1 -1
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory.d.ts +17 -3
- package/dist/models/Inventory.js +14 -5
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -1
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OperationCapability.d.ts +1 -1
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PairCapability.d.ts +13 -3
- package/dist/models/PairCapability.js +11 -1
- package/dist/models/PairCapabilityRequest.d.ts +8 -3
- package/dist/models/PairCapabilityRequest.js +7 -4
- package/dist/models/Process.d.ts +1 -1
- package/dist/models/Process.js +1 -1
- package/dist/models/PutForecasterCredentials403Response.d.ts +34 -0
- package/dist/models/PutForecasterCredentials403Response.js +50 -0
- package/dist/models/RightsizingClusterListResponse.d.ts +35 -0
- package/dist/models/RightsizingClusterListResponse.js +55 -0
- package/dist/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +15 -13
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/RightsizingCollectRequest.d.ts +56 -0
- package/dist/models/RightsizingCollectRequest.js +63 -0
- package/dist/models/RightsizingMetricStats.d.ts +50 -0
- package/dist/models/RightsizingMetricStats.js +70 -0
- package/dist/models/RightsizingReport.d.ts +63 -0
- package/dist/models/RightsizingReport.js +83 -0
- package/dist/models/RightsizingReportListResponse.d.ts +35 -0
- package/dist/models/RightsizingReportListResponse.js +55 -0
- package/dist/models/RightsizingReportSummary.d.ts +58 -0
- package/dist/models/RightsizingReportSummary.js +78 -0
- package/dist/models/RightsizingVMReport.d.ts +45 -0
- package/dist/models/RightsizingVMReport.js +64 -0
- package/dist/models/StartInspectionRequest.d.ts +8 -3
- package/dist/models/StartInspectionRequest.js +4 -1
- package/dist/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/models/StopForecasterPair202Response.js +1 -1
- package/dist/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -3
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMDevice.d.ts +30 -0
- package/dist/models/VMDevice.js +48 -0
- package/dist/models/VMDisk.d.ts +54 -0
- package/dist/models/{VirtualMachineDisk.js → VMDisk.js} +14 -14
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMIssue.d.ts +50 -0
- package/dist/models/VMIssue.js +70 -0
- package/dist/models/VMLabelsResponse.d.ts +1 -1
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMNIC.d.ts +46 -0
- package/dist/models/{VirtualMachineNIC.js → VMNIC.js} +18 -14
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -1
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -1
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -2
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -4
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +11 -15
- package/dist/models/VirtualMachine.js +6 -10
- package/dist/models/VirtualMachineDetail.d.ts +38 -42
- package/dist/models/VirtualMachineDetail.js +16 -20
- package/dist/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/models/VirtualMachineListResponse.js +4 -4
- package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmInspectionConcern.d.ts +38 -0
- package/dist/models/{VirtualMachineInspectionConcern.js → VmInspectionConcern.js} +14 -14
- package/dist/models/VmInspectionResults.d.ts +31 -0
- package/dist/models/VmInspectionResults.js +49 -0
- package/dist/models/VmInspectionStatus.d.ts +53 -0
- package/dist/models/VmInspectionStatus.js +69 -0
- package/dist/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +23 -20
- package/dist/models/index.js +23 -20
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/docs/AgentStatus.md +4 -2
- package/docs/BenchmarkRun.md +2 -2
- package/docs/{CollectionAggregate.md → CollectorStartRequest.md} +15 -16
- package/docs/{DatastorePairRequest.md → DatastorePair.md} +4 -4
- package/docs/DefaultApi.md +3361 -0
- package/docs/DeleteLabelGloballyResponse.md +2 -2
- package/docs/EstimateRange.md +1 -0
- package/docs/{AgentStatusConsoleConnection.md → ExportInventory400Response.md} +5 -7
- package/docs/{InspectionStatus.md → ExportInventory500Response.md} +4 -6
- package/docs/ForecastStats.md +16 -16
- package/docs/{Collection.md → ForecasterDatastoresRequest.md} +6 -10
- package/docs/{ForecastPairStatus.md → ForecasterPairStatus.md} +8 -8
- package/docs/{StartForecasterRequest.md → ForecasterStartRequest.md} +7 -5
- package/docs/ForecasterStatus.md +1 -1
- package/docs/{Inventory1.md → GetInventory200Response.md} +8 -4
- package/docs/GroupResponse.md +1 -1
- package/docs/Host.md +4 -0
- package/docs/Inventory.md +8 -2
- package/docs/PairCapabilityRequest.md +3 -1
- package/docs/PutForecasterCredentials403Response.md +36 -0
- package/docs/RightsizingClusterListResponse.md +36 -0
- package/docs/RightsizingCollectRequest.md +46 -0
- package/docs/{CollectionListResponse.md → RightsizingMetricStats.md} +16 -6
- package/docs/RightsizingReport.md +50 -0
- package/docs/{ComparisonDiffPage.md → RightsizingReportListResponse.md} +6 -10
- package/docs/RightsizingReportSummary.md +49 -0
- package/docs/RightsizingVMReport.md +40 -0
- package/docs/StartInspectionRequest.md +3 -0
- package/docs/UpdateInventory.md +1 -1
- package/docs/{VirtualMachineDevice.md → VMDevice.md} +4 -4
- package/docs/{VirtualMachineDisk.md → VMDisk.md} +4 -4
- package/docs/{VirtualMachineIssue.md → VMIssue.md} +4 -4
- package/docs/VMLabelsResponse.md +2 -2
- package/docs/{VirtualMachineNIC.md → VMNIC.md} +8 -4
- package/docs/VirtualMachine.md +3 -5
- package/docs/VirtualMachineDetail.md +5 -7
- package/docs/VirtualMachineListResponse.md +2 -2
- package/docs/VirtualMachineUpdateRequest.md +2 -2
- package/docs/{VirtualMachineInspectionConcern.md → VmInspectionConcern.md} +5 -4
- package/docs/{ComparisonDiffEntry.md → VmInspectionResults.md} +7 -10
- package/docs/VmInspectionStatus.md +40 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +3986 -0
- package/src/apis/index.ts +1 -12
- package/src/models/AgentModeRequest.ts +1 -1
- package/src/models/AgentStatus.ts +21 -14
- package/src/models/ApplicationListResponse.ts +1 -1
- package/src/models/ApplicationOverview.ts +4 -4
- package/src/models/ApplicationVM.ts +3 -3
- package/src/models/BatchUpdateExclusionRequest.ts +1 -1
- package/src/models/BenchmarkRun.ts +10 -11
- package/src/models/CapabilityStatus.ts +1 -1
- package/src/models/CapabilityStatusCapabilities.ts +1 -1
- package/src/models/ClusterFeatures.ts +1 -1
- package/src/models/ClusterUtilization.ts +1 -1
- package/src/models/CollectorStartRequest.ts +87 -0
- package/src/models/CollectorStatus.ts +1 -2
- package/src/models/CreateGroupRequest.ts +4 -4
- package/src/models/CredentialStatus.ts +1 -1
- package/src/models/Datastore.ts +1 -1
- package/src/models/DatastoreDetail.ts +20 -7
- package/src/models/{DatastorePairRequest.ts → DatastorePair.ts} +15 -15
- package/src/models/DeleteLabelGloballyResponse.ts +8 -8
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimateRange.ts +11 -14
- package/src/models/ExportInventory400Response.ts +63 -0
- package/src/models/ExportInventory500Response.ts +63 -0
- package/src/models/ForecastStats.ts +27 -35
- package/src/models/ForecasterDatastoresRequest.ts +71 -0
- package/src/models/{ForecastPairStatus.ts → ForecasterPairStatus.ts} +37 -37
- package/src/models/ForecasterStartRequest.ts +103 -0
- package/src/models/ForecasterStatus.ts +14 -15
- package/src/models/GetInventory200Response.ts +76 -0
- package/src/models/Group.ts +4 -4
- package/src/models/GroupListResponse.ts +4 -4
- package/src/models/GroupResponse.ts +13 -13
- package/src/models/GuestNetwork.ts +6 -6
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +13 -1
- package/src/models/Infra.ts +1 -1
- package/src/models/InspectorStatus.ts +1 -1
- package/src/models/Inventory.ts +30 -11
- package/src/models/InventoryData.ts +1 -1
- package/src/models/IssuesBreakdown.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/OperationCapability.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PairCapability.ts +16 -3
- package/src/models/PairCapabilityRequest.ts +23 -10
- package/src/models/Process.ts +1 -1
- package/src/models/PutForecasterCredentials403Response.ts +69 -0
- package/src/models/RightsizingClusterListResponse.ts +79 -0
- package/src/models/RightsizingClusterResponse.ts +2 -2
- package/src/models/RightsizingClusterUtilization.ts +15 -13
- package/src/models/RightsizingCollectRequest.ts +109 -0
- package/src/models/RightsizingMetricStats.ts +99 -0
- package/src/models/RightsizingReport.ts +128 -0
- package/src/models/RightsizingReportListResponse.ts +79 -0
- package/src/models/RightsizingReportSummary.ts +113 -0
- package/src/models/RightsizingVMReport.ts +93 -0
- package/src/models/StartInspectionRequest.ts +17 -3
- package/src/models/StopForecasterPair202Response.ts +1 -1
- package/src/models/StorageIoConfiguration.ts +1 -1
- package/src/models/UpdateGroupRequest.ts +4 -4
- package/src/models/UpdateInventory.ts +10 -10
- package/src/models/UpdateLabelVMsRequest.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMDevice.ts +63 -0
- package/src/models/{VirtualMachineDisk.ts → VMDisk.ts} +17 -17
- package/src/models/VMFilterOptionsResponse.ts +1 -1
- package/src/models/VMIssue.ts +93 -0
- package/src/models/VMLabelsResponse.ts +1 -1
- package/src/models/VMNIC.ts +87 -0
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VcenterCredentials.ts +1 -1
- package/src/models/VddkProperties.ts +2 -2
- package/src/models/VersionInfo.ts +4 -4
- package/src/models/VirtualMachine.ts +20 -27
- package/src/models/VirtualMachineDetail.ts +73 -80
- package/src/models/VirtualMachineListResponse.ts +6 -6
- package/src/models/VirtualMachineUpdateRequest.ts +1 -1
- package/src/models/{VirtualMachineInspectionConcern.ts → VmInspectionConcern.ts} +12 -12
- package/src/models/VmInspectionResults.ts +71 -0
- package/src/models/VmInspectionStatus.ts +97 -0
- package/src/models/VmUtilizationDetails.ts +8 -8
- package/src/models/index.ts +23 -20
- package/src/runtime.ts +2 -2
- package/dist/apis/AgentApi.d.ts +0 -95
- package/dist/apis/AgentApi.js +0 -109
- package/dist/apis/ApplicationsApi.d.ts +0 -64
- package/dist/apis/ApplicationsApi.js +0 -72
- package/dist/apis/CollectionsApi.d.ts +0 -217
- package/dist/apis/CollectionsApi.js +0 -216
- package/dist/apis/CollectorApi.d.ts +0 -116
- package/dist/apis/CollectorApi.js +0 -137
- package/dist/apis/CredentialsApi.d.ts +0 -168
- package/dist/apis/CredentialsApi.js +0 -187
- package/dist/apis/ForecasterApi.d.ts +0 -375
- package/dist/apis/ForecasterApi.js +0 -397
- package/dist/apis/GroupsApi.d.ts +0 -374
- package/dist/apis/GroupsApi.js +0 -351
- package/dist/apis/InspectorApi.d.ts +0 -202
- package/dist/apis/InspectorApi.js +0 -240
- package/dist/apis/InventoriesApi.d.ts +0 -94
- package/dist/apis/InventoriesApi.js +0 -107
- package/dist/apis/RightsizingApi.d.ts +0 -109
- package/dist/apis/RightsizingApi.js +0 -116
- package/dist/apis/VersionApi.d.ts +0 -56
- package/dist/apis/VersionApi.js +0 -68
- package/dist/apis/VirtualMachinesApi.d.ts +0 -578
- package/dist/apis/VirtualMachinesApi.js +0 -576
- package/dist/esm/apis/AgentApi.d.ts +0 -95
- package/dist/esm/apis/AgentApi.js +0 -105
- package/dist/esm/apis/ApplicationsApi.d.ts +0 -64
- package/dist/esm/apis/ApplicationsApi.js +0 -68
- package/dist/esm/apis/CollectionsApi.d.ts +0 -217
- package/dist/esm/apis/CollectionsApi.js +0 -212
- package/dist/esm/apis/CollectorApi.d.ts +0 -116
- package/dist/esm/apis/CollectorApi.js +0 -133
- package/dist/esm/apis/CredentialsApi.d.ts +0 -168
- package/dist/esm/apis/CredentialsApi.js +0 -183
- package/dist/esm/apis/ForecasterApi.d.ts +0 -375
- package/dist/esm/apis/ForecasterApi.js +0 -393
- package/dist/esm/apis/GroupsApi.d.ts +0 -374
- package/dist/esm/apis/GroupsApi.js +0 -347
- package/dist/esm/apis/InspectorApi.d.ts +0 -202
- package/dist/esm/apis/InspectorApi.js +0 -236
- package/dist/esm/apis/InventoriesApi.d.ts +0 -94
- package/dist/esm/apis/InventoriesApi.js +0 -103
- package/dist/esm/apis/RightsizingApi.d.ts +0 -109
- package/dist/esm/apis/RightsizingApi.js +0 -112
- package/dist/esm/apis/VersionApi.d.ts +0 -56
- package/dist/esm/apis/VersionApi.js +0 -64
- package/dist/esm/apis/VirtualMachinesApi.d.ts +0 -578
- package/dist/esm/apis/VirtualMachinesApi.js +0 -572
- package/dist/esm/models/AgentStatusConsoleConnection.d.ts +0 -42
- package/dist/esm/models/AgentStatusConsoleConnection.js +0 -52
- package/dist/esm/models/Collection.d.ts +0 -38
- package/dist/esm/models/Collection.js +0 -51
- package/dist/esm/models/CollectionAggregate.d.ts +0 -50
- package/dist/esm/models/CollectionAggregate.js +0 -63
- package/dist/esm/models/CollectionComparisonDiff.d.ts +0 -48
- package/dist/esm/models/CollectionComparisonDiff.js +0 -60
- package/dist/esm/models/CollectionComparisonSummary.d.ts +0 -36
- package/dist/esm/models/CollectionComparisonSummary.js +0 -49
- package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +0 -43
- package/dist/esm/models/CollectionComparisonSummaryDiff.js +0 -56
- package/dist/esm/models/CollectionListResponse.d.ts +0 -31
- package/dist/esm/models/CollectionListResponse.js +0 -44
- package/dist/esm/models/ComparisonDiffEntry.d.ts +0 -38
- package/dist/esm/models/ComparisonDiffEntry.js +0 -47
- package/dist/esm/models/ComparisonDiffPage.d.ts +0 -42
- package/dist/esm/models/ComparisonDiffPage.js +0 -55
- package/dist/esm/models/DatastorePairRequest.d.ts +0 -42
- package/dist/esm/models/ForecastPairStatus.d.ts +0 -78
- package/dist/esm/models/InspectionStatus.d.ts +0 -45
- package/dist/esm/models/InspectionStatus.js +0 -55
- package/dist/esm/models/Inventory1.d.ts +0 -45
- package/dist/esm/models/Inventory1.js +0 -53
- package/dist/esm/models/StartForecasterRequest.d.ts +0 -43
- package/dist/esm/models/VirtualMachineDevice.d.ts +0 -30
- package/dist/esm/models/VirtualMachineDisk.d.ts +0 -54
- package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +0 -38
- package/dist/esm/models/VirtualMachineInspectionResults.d.ts +0 -31
- package/dist/esm/models/VirtualMachineInspectionResults.js +0 -42
- package/dist/esm/models/VirtualMachineIssue.d.ts +0 -50
- package/dist/esm/models/VirtualMachineNIC.d.ts +0 -38
- package/dist/models/AgentStatusConsoleConnection.d.ts +0 -42
- package/dist/models/AgentStatusConsoleConnection.js +0 -60
- package/dist/models/Collection.d.ts +0 -38
- package/dist/models/Collection.js +0 -58
- package/dist/models/CollectionAggregate.d.ts +0 -50
- package/dist/models/CollectionAggregate.js +0 -70
- package/dist/models/CollectionComparisonDiff.d.ts +0 -48
- package/dist/models/CollectionComparisonDiff.js +0 -68
- package/dist/models/CollectionComparisonSummary.d.ts +0 -36
- package/dist/models/CollectionComparisonSummary.js +0 -56
- package/dist/models/CollectionComparisonSummaryDiff.d.ts +0 -43
- package/dist/models/CollectionComparisonSummaryDiff.js +0 -63
- package/dist/models/CollectionListResponse.d.ts +0 -31
- package/dist/models/CollectionListResponse.js +0 -51
- package/dist/models/ComparisonDiffEntry.d.ts +0 -38
- package/dist/models/ComparisonDiffEntry.js +0 -54
- package/dist/models/ComparisonDiffPage.d.ts +0 -42
- package/dist/models/ComparisonDiffPage.js +0 -62
- package/dist/models/DatastorePairRequest.d.ts +0 -42
- package/dist/models/ForecastPairStatus.d.ts +0 -78
- package/dist/models/InspectionStatus.d.ts +0 -45
- package/dist/models/InspectionStatus.js +0 -63
- package/dist/models/Inventory1.d.ts +0 -45
- package/dist/models/Inventory1.js +0 -60
- package/dist/models/StartForecasterRequest.d.ts +0 -43
- package/dist/models/StartForecasterRequest.js +0 -57
- package/dist/models/VirtualMachineDevice.d.ts +0 -30
- package/dist/models/VirtualMachineDevice.js +0 -48
- package/dist/models/VirtualMachineDisk.d.ts +0 -54
- package/dist/models/VirtualMachineInspectionConcern.d.ts +0 -38
- package/dist/models/VirtualMachineInspectionResults.d.ts +0 -31
- package/dist/models/VirtualMachineInspectionResults.js +0 -49
- package/dist/models/VirtualMachineIssue.d.ts +0 -50
- package/dist/models/VirtualMachineIssue.js +0 -70
- package/dist/models/VirtualMachineNIC.d.ts +0 -38
- package/docs/AgentApi.md +0 -136
- package/docs/ApplicationsApi.md +0 -76
- package/docs/CollectionComparisonDiff.md +0 -38
- package/docs/CollectionComparisonSummary.md +0 -36
- package/docs/CollectionComparisonSummaryDiff.md +0 -41
- package/docs/CollectionsApi.md +0 -291
- package/docs/CollectorApi.md +0 -187
- package/docs/CredentialsApi.md +0 -264
- package/docs/ForecasterApi.md +0 -612
- package/docs/GroupsApi.md +0 -527
- package/docs/InspectorApi.md +0 -334
- package/docs/InventoriesApi.md +0 -136
- package/docs/RightsizingApi.md +0 -148
- package/docs/VersionApi.md +0 -66
- package/docs/VirtualMachineInspectionResults.md +0 -35
- package/docs/VirtualMachinesApi.md +0 -914
- package/src/apis/AgentApi.ts +0 -176
- package/src/apis/ApplicationsApi.ts +0 -111
- package/src/apis/CollectionsApi.ts +0 -411
- package/src/apis/CollectorApi.ts +0 -209
- package/src/apis/CredentialsApi.ts +0 -308
- package/src/apis/ForecasterApi.ts +0 -721
- package/src/apis/GroupsApi.ts +0 -718
- package/src/apis/InspectorApi.ts +0 -405
- package/src/apis/InventoriesApi.ts +0 -169
- package/src/apis/RightsizingApi.ts +0 -205
- package/src/apis/VersionApi.ts +0 -94
- package/src/apis/VirtualMachinesApi.ts +0 -1142
- package/src/models/AgentStatusConsoleConnection.ts +0 -81
- package/src/models/Collection.ts +0 -78
- package/src/models/CollectionAggregate.ts +0 -99
- package/src/models/CollectionComparisonDiff.ts +0 -98
- package/src/models/CollectionComparisonSummary.ts +0 -86
- package/src/models/CollectionComparisonSummaryDiff.ts +0 -93
- package/src/models/CollectionListResponse.ts +0 -72
- package/src/models/ComparisonDiffEntry.ts +0 -76
- package/src/models/ComparisonDiffPage.ts +0 -85
- package/src/models/InspectionStatus.ts +0 -84
- package/src/models/Inventory1.ts +0 -91
- package/src/models/StartForecasterRequest.ts +0 -90
- package/src/models/VirtualMachineDevice.ts +0 -63
- package/src/models/VirtualMachineInspectionResults.ts +0 -71
- package/src/models/VirtualMachineIssue.ts +0 -93
- package/src/models/VirtualMachineNIC.ts +0 -75
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Represents the structure of vm-migration-detective library inspection concerns
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface VmInspectionConcern
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface VmInspectionConcern {
|
|
22
22
|
/**
|
|
23
23
|
* Short label identifying the concern
|
|
24
24
|
*/
|
|
@@ -34,20 +34,20 @@ export interface VirtualMachineInspectionConcern {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Check if a given object implements the
|
|
37
|
+
* Check if a given object implements the VmInspectionConcern interface.
|
|
38
38
|
*/
|
|
39
|
-
export function
|
|
39
|
+
export function instanceOfVmInspectionConcern(value: object): value is VmInspectionConcern {
|
|
40
40
|
if (!('label' in value) || value['label'] === undefined) return false;
|
|
41
41
|
if (!('message' in value) || value['message'] === undefined) return false;
|
|
42
42
|
if (!('category' in value) || value['category'] === undefined) return false;
|
|
43
43
|
return true;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export function
|
|
47
|
-
return
|
|
46
|
+
export function VmInspectionConcernFromJSON(json: any): VmInspectionConcern {
|
|
47
|
+
return VmInspectionConcernFromJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export function
|
|
50
|
+
export function VmInspectionConcernFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionConcern {
|
|
51
51
|
if (json == null) {
|
|
52
52
|
return json;
|
|
53
53
|
}
|
|
@@ -59,11 +59,11 @@ export function VirtualMachineInspectionConcernFromJSONTyped(json: any, ignoreDi
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export function
|
|
63
|
-
return
|
|
62
|
+
export function VmInspectionConcernToJSON(json: any): VmInspectionConcern {
|
|
63
|
+
return VmInspectionConcernToJSONTyped(json, false);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
export function
|
|
66
|
+
export function VmInspectionConcernToJSONTyped(value?: VmInspectionConcern | null, ignoreDiscriminator: boolean = false): any {
|
|
67
67
|
if (value == null) {
|
|
68
68
|
return value;
|
|
69
69
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { VmInspectionConcern } from './VmInspectionConcern.js';
|
|
17
|
+
import {
|
|
18
|
+
VmInspectionConcernFromJSON,
|
|
19
|
+
VmInspectionConcernFromJSONTyped,
|
|
20
|
+
VmInspectionConcernToJSON,
|
|
21
|
+
VmInspectionConcernToJSONTyped,
|
|
22
|
+
} from './VmInspectionConcern.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* VirtualMachine Inspection results
|
|
26
|
+
* @export
|
|
27
|
+
* @interface VmInspectionResults
|
|
28
|
+
*/
|
|
29
|
+
export interface VmInspectionResults {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
concerns?: Array<VmInspectionConcern>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the VmInspectionResults interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfVmInspectionResults(value: object): value is VmInspectionResults {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function VmInspectionResultsFromJSON(json: any): VmInspectionResults {
|
|
44
|
+
return VmInspectionResultsFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function VmInspectionResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionResults {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'concerns': json['concerns'] == null ? undefined : ((json['concerns'] as Array<any>).map(VmInspectionConcernFromJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function VmInspectionResultsToJSON(json: any): VmInspectionResults {
|
|
58
|
+
return VmInspectionResultsToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function VmInspectionResultsToJSONTyped(value?: VmInspectionResults | null, ignoreDiscriminator: boolean = false): any {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'concerns': value['concerns'] == null ? undefined : ((value['concerns'] as Array<any>).map(VmInspectionConcernToJSON)),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VmInspectionStatus
|
|
20
|
+
*/
|
|
21
|
+
export interface VmInspectionStatus {
|
|
22
|
+
/**
|
|
23
|
+
* Current inspection state
|
|
24
|
+
*/
|
|
25
|
+
state: VmInspectionStatusStateEnum;
|
|
26
|
+
/**
|
|
27
|
+
* State details
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
* Error message when state is error
|
|
32
|
+
*/
|
|
33
|
+
error?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Inspection results
|
|
36
|
+
*/
|
|
37
|
+
results?: object;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export const VmInspectionStatusStateEnum = {
|
|
45
|
+
VmInspectionStatusStatePending: 'pending',
|
|
46
|
+
VmInspectionStatusStateRunning: 'running',
|
|
47
|
+
VmInspectionStatusStateCompleted: 'completed',
|
|
48
|
+
VmInspectionStatusStateCanceled: 'canceled',
|
|
49
|
+
VmInspectionStatusStateError: 'error'
|
|
50
|
+
} as const;
|
|
51
|
+
export type VmInspectionStatusStateEnum = typeof VmInspectionStatusStateEnum[keyof typeof VmInspectionStatusStateEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the VmInspectionStatus interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfVmInspectionStatus(value: object): value is VmInspectionStatus {
|
|
58
|
+
if (!('state' in value) || value['state'] === undefined) return false;
|
|
59
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function VmInspectionStatusFromJSON(json: any): VmInspectionStatus {
|
|
64
|
+
return VmInspectionStatusFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function VmInspectionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionStatus {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'state': json['state'],
|
|
74
|
+
'message': json['message'],
|
|
75
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
76
|
+
'results': json['results'] == null ? undefined : json['results'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function VmInspectionStatusToJSON(json: any): VmInspectionStatus {
|
|
81
|
+
return VmInspectionStatusToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function VmInspectionStatusToJSONTyped(value?: VmInspectionStatus | null, ignoreDiscriminator: boolean = false): any {
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'state': value['state'],
|
|
92
|
+
'message': value['message'],
|
|
93
|
+
'error': value['error'],
|
|
94
|
+
'results': value['results'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,19 +28,19 @@ export interface VmUtilizationDetails {
|
|
|
28
28
|
*/
|
|
29
29
|
vm_name: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Number of vCPUs provisioned for this VM
|
|
32
32
|
*/
|
|
33
33
|
provisioned_cpus: number;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Provisioned RAM (MB)
|
|
36
36
|
*/
|
|
37
37
|
provisioned_memory_mb: number;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Provisioned disk (KB)
|
|
40
40
|
*/
|
|
41
41
|
provisioned_disk_kb: number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* CPU utilization average (%)
|
|
44
44
|
*/
|
|
45
45
|
cpu_avg: number;
|
|
46
46
|
/**
|
|
@@ -56,7 +56,7 @@ export interface VmUtilizationDetails {
|
|
|
56
56
|
*/
|
|
57
57
|
cpu_latest: number;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Memory utilization average (%)
|
|
60
60
|
*/
|
|
61
61
|
mem_avg: number;
|
|
62
62
|
/**
|
|
@@ -72,11 +72,11 @@ export interface VmUtilizationDetails {
|
|
|
72
72
|
*/
|
|
73
73
|
mem_latest: number;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Disk utilization (%)
|
|
76
76
|
*/
|
|
77
77
|
disk: number;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Data confidence — sample_count / expected_sample_count × 100
|
|
80
80
|
*/
|
|
81
81
|
confidence: number;
|
|
82
82
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AgentModeRequest.js';
|
|
4
4
|
export * from './AgentStatus.js';
|
|
5
|
-
export * from './AgentStatusConsoleConnection.js';
|
|
6
5
|
export * from './ApplicationListResponse.js';
|
|
7
6
|
export * from './ApplicationOverview.js';
|
|
8
7
|
export * from './ApplicationVM.js';
|
|
@@ -12,27 +11,25 @@ export * from './CapabilityStatus.js';
|
|
|
12
11
|
export * from './CapabilityStatusCapabilities.js';
|
|
13
12
|
export * from './ClusterFeatures.js';
|
|
14
13
|
export * from './ClusterUtilization.js';
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './CollectionAggregate.js';
|
|
17
|
-
export * from './CollectionComparisonDiff.js';
|
|
18
|
-
export * from './CollectionComparisonSummary.js';
|
|
19
|
-
export * from './CollectionComparisonSummaryDiff.js';
|
|
20
|
-
export * from './CollectionListResponse.js';
|
|
14
|
+
export * from './CollectorStartRequest.js';
|
|
21
15
|
export * from './CollectorStatus.js';
|
|
22
|
-
export * from './ComparisonDiffEntry.js';
|
|
23
|
-
export * from './ComparisonDiffPage.js';
|
|
24
16
|
export * from './CreateGroupRequest.js';
|
|
25
17
|
export * from './CredentialStatus.js';
|
|
26
18
|
export * from './Datastore.js';
|
|
27
19
|
export * from './DatastoreDetail.js';
|
|
28
|
-
export * from './
|
|
20
|
+
export * from './DatastorePair.js';
|
|
29
21
|
export * from './DeleteLabelGloballyResponse.js';
|
|
30
22
|
export * from './DiskSizeTierSummary.js';
|
|
31
23
|
export * from './DiskTypeSummary.js';
|
|
32
24
|
export * from './EstimateRange.js';
|
|
33
|
-
export * from './
|
|
25
|
+
export * from './ExportInventory400Response.js';
|
|
26
|
+
export * from './ExportInventory500Response.js';
|
|
34
27
|
export * from './ForecastStats.js';
|
|
28
|
+
export * from './ForecasterDatastoresRequest.js';
|
|
29
|
+
export * from './ForecasterPairStatus.js';
|
|
30
|
+
export * from './ForecasterStartRequest.js';
|
|
35
31
|
export * from './ForecasterStatus.js';
|
|
32
|
+
export * from './GetInventory200Response.js';
|
|
36
33
|
export * from './Group.js';
|
|
37
34
|
export * from './GroupListResponse.js';
|
|
38
35
|
export * from './GroupResponse.js';
|
|
@@ -40,10 +37,8 @@ export * from './GuestNetwork.js';
|
|
|
40
37
|
export * from './Histogram.js';
|
|
41
38
|
export * from './Host.js';
|
|
42
39
|
export * from './Infra.js';
|
|
43
|
-
export * from './InspectionStatus.js';
|
|
44
40
|
export * from './InspectorStatus.js';
|
|
45
41
|
export * from './Inventory.js';
|
|
46
|
-
export * from './Inventory1.js';
|
|
47
42
|
export * from './InventoryData.js';
|
|
48
43
|
export * from './IssuesBreakdown.js';
|
|
49
44
|
export * from './MigrationIssue.js';
|
|
@@ -53,9 +48,16 @@ export * from './OsInfo.js';
|
|
|
53
48
|
export * from './PairCapability.js';
|
|
54
49
|
export * from './PairCapabilityRequest.js';
|
|
55
50
|
export * from './Process.js';
|
|
51
|
+
export * from './PutForecasterCredentials403Response.js';
|
|
52
|
+
export * from './RightsizingClusterListResponse.js';
|
|
56
53
|
export * from './RightsizingClusterResponse.js';
|
|
57
54
|
export * from './RightsizingClusterUtilization.js';
|
|
58
|
-
export * from './
|
|
55
|
+
export * from './RightsizingCollectRequest.js';
|
|
56
|
+
export * from './RightsizingMetricStats.js';
|
|
57
|
+
export * from './RightsizingReport.js';
|
|
58
|
+
export * from './RightsizingReportListResponse.js';
|
|
59
|
+
export * from './RightsizingReportSummary.js';
|
|
60
|
+
export * from './RightsizingVMReport.js';
|
|
59
61
|
export * from './StartInspectionRequest.js';
|
|
60
62
|
export * from './StopForecasterPair202Response.js';
|
|
61
63
|
export * from './StorageIoConfiguration.js';
|
|
@@ -63,8 +65,12 @@ export * from './UpdateGroupRequest.js';
|
|
|
63
65
|
export * from './UpdateInventory.js';
|
|
64
66
|
export * from './UpdateLabelVMsRequest.js';
|
|
65
67
|
export * from './VCenter.js';
|
|
68
|
+
export * from './VMDevice.js';
|
|
69
|
+
export * from './VMDisk.js';
|
|
66
70
|
export * from './VMFilterOptionsResponse.js';
|
|
71
|
+
export * from './VMIssue.js';
|
|
67
72
|
export * from './VMLabelsResponse.js';
|
|
73
|
+
export * from './VMNIC.js';
|
|
68
74
|
export * from './VMResourceBreakdown.js';
|
|
69
75
|
export * from './VMs.js';
|
|
70
76
|
export * from './VcenterCredentials.js';
|
|
@@ -72,12 +78,9 @@ export * from './VddkProperties.js';
|
|
|
72
78
|
export * from './VersionInfo.js';
|
|
73
79
|
export * from './VirtualMachine.js';
|
|
74
80
|
export * from './VirtualMachineDetail.js';
|
|
75
|
-
export * from './VirtualMachineDevice.js';
|
|
76
|
-
export * from './VirtualMachineDisk.js';
|
|
77
|
-
export * from './VirtualMachineInspectionConcern.js';
|
|
78
|
-
export * from './VirtualMachineInspectionResults.js';
|
|
79
|
-
export * from './VirtualMachineIssue.js';
|
|
80
81
|
export * from './VirtualMachineListResponse.js';
|
|
81
|
-
export * from './VirtualMachineNIC.js';
|
|
82
82
|
export * from './VirtualMachineUpdateRequest.js';
|
|
83
|
+
export * from './VmInspectionConcern.js';
|
|
84
|
+
export * from './VmInspectionResults.js';
|
|
85
|
+
export * from './VmInspectionStatus.js';
|
|
83
86
|
export * from './VmUtilizationDetails.js';
|
package/src/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
export const BASE_PATH = "https://raw.githubusercontent.com/api/
|
|
15
|
+
export const BASE_PATH = "https://raw.githubusercontent.com/api/v1".replace(/\/+$/, "");
|
|
16
16
|
|
|
17
17
|
export interface ConfigurationParameters {
|
|
18
18
|
basePath?: string; // override base path
|
package/dist/apis/AgentApi.d.ts
DELETED
|
@@ -1,95 +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: 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
|
-
import * as runtime from '../runtime.js';
|
|
13
|
-
import { type AgentModeRequest } from '../models/AgentModeRequest.js';
|
|
14
|
-
import { type AgentStatus } from '../models/AgentStatus.js';
|
|
15
|
-
export interface SetAgentModeRequest {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
agentModeRequest: AgentModeRequest;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* AgentApi - interface
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
* @interface AgentApiInterface
|
|
26
|
-
*/
|
|
27
|
-
export interface AgentApiInterface {
|
|
28
|
-
/**
|
|
29
|
-
* Creates request options for getAgentStatus without sending the request
|
|
30
|
-
* @throws {RequiredError}
|
|
31
|
-
* @memberof AgentApiInterface
|
|
32
|
-
*/
|
|
33
|
-
getAgentStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary Get agent status
|
|
37
|
-
* @param {*} [options] Override http request option.
|
|
38
|
-
* @throws {RequiredError}
|
|
39
|
-
* @memberof AgentApiInterface
|
|
40
|
-
*/
|
|
41
|
-
getAgentStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>>;
|
|
42
|
-
/**
|
|
43
|
-
* Get agent status
|
|
44
|
-
*/
|
|
45
|
-
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
46
|
-
/**
|
|
47
|
-
* Creates request options for setAgentMode without sending the request
|
|
48
|
-
* @param {AgentModeRequest} agentModeRequest
|
|
49
|
-
* @throws {RequiredError}
|
|
50
|
-
* @memberof AgentApiInterface
|
|
51
|
-
*/
|
|
52
|
-
setAgentModeRequestOpts(requestParameters: SetAgentModeRequest): Promise<runtime.RequestOpts>;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @summary Change agent mode
|
|
56
|
-
* @param {AgentModeRequest} agentModeRequest
|
|
57
|
-
* @param {*} [options] Override http request option.
|
|
58
|
-
* @throws {RequiredError}
|
|
59
|
-
* @memberof AgentApiInterface
|
|
60
|
-
*/
|
|
61
|
-
setAgentModeRaw(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>>;
|
|
62
|
-
/**
|
|
63
|
-
* Change agent mode
|
|
64
|
-
*/
|
|
65
|
-
setAgentMode(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export declare class AgentApi extends runtime.BaseAPI implements AgentApiInterface {
|
|
71
|
-
/**
|
|
72
|
-
* Creates request options for getAgentStatus without sending the request
|
|
73
|
-
*/
|
|
74
|
-
getAgentStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
75
|
-
/**
|
|
76
|
-
* Get agent status
|
|
77
|
-
*/
|
|
78
|
-
getAgentStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>>;
|
|
79
|
-
/**
|
|
80
|
-
* Get agent status
|
|
81
|
-
*/
|
|
82
|
-
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
83
|
-
/**
|
|
84
|
-
* Creates request options for setAgentMode without sending the request
|
|
85
|
-
*/
|
|
86
|
-
setAgentModeRequestOpts(requestParameters: SetAgentModeRequest): Promise<runtime.RequestOpts>;
|
|
87
|
-
/**
|
|
88
|
-
* Change agent mode
|
|
89
|
-
*/
|
|
90
|
-
setAgentModeRaw(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>>;
|
|
91
|
-
/**
|
|
92
|
-
* Change agent mode
|
|
93
|
-
*/
|
|
94
|
-
setAgentMode(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
95
|
-
}
|
package/dist/apis/AgentApi.js
DELETED
|
@@ -1,109 +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: v2
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.AgentApi = void 0;
|
|
26
|
-
const runtime = require("../runtime.js");
|
|
27
|
-
const AgentModeRequest_js_1 = require("../models/AgentModeRequest.js");
|
|
28
|
-
const AgentStatus_js_1 = require("../models/AgentStatus.js");
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
class AgentApi extends runtime.BaseAPI {
|
|
33
|
-
/**
|
|
34
|
-
* Creates request options for getAgentStatus without sending the request
|
|
35
|
-
*/
|
|
36
|
-
getAgentStatusRequestOpts() {
|
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
const queryParameters = {};
|
|
39
|
-
const headerParameters = {};
|
|
40
|
-
let urlPath = `/agent`;
|
|
41
|
-
return {
|
|
42
|
-
path: urlPath,
|
|
43
|
-
method: 'GET',
|
|
44
|
-
headers: headerParameters,
|
|
45
|
-
query: queryParameters,
|
|
46
|
-
};
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Get agent status
|
|
51
|
-
*/
|
|
52
|
-
getAgentStatusRaw(initOverrides) {
|
|
53
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
const requestOptions = yield this.getAgentStatusRequestOpts();
|
|
55
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
56
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, AgentStatus_js_1.AgentStatusFromJSON)(jsonValue));
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Get agent status
|
|
61
|
-
*/
|
|
62
|
-
getAgentStatus(initOverrides) {
|
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
const response = yield this.getAgentStatusRaw(initOverrides);
|
|
65
|
-
return yield response.value();
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Creates request options for setAgentMode without sending the request
|
|
70
|
-
*/
|
|
71
|
-
setAgentModeRequestOpts(requestParameters) {
|
|
72
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
if (requestParameters['agentModeRequest'] == null) {
|
|
74
|
-
throw new runtime.RequiredError('agentModeRequest', 'Required parameter "agentModeRequest" was null or undefined when calling setAgentMode().');
|
|
75
|
-
}
|
|
76
|
-
const queryParameters = {};
|
|
77
|
-
const headerParameters = {};
|
|
78
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
79
|
-
let urlPath = `/agent`;
|
|
80
|
-
return {
|
|
81
|
-
path: urlPath,
|
|
82
|
-
method: 'POST',
|
|
83
|
-
headers: headerParameters,
|
|
84
|
-
query: queryParameters,
|
|
85
|
-
body: (0, AgentModeRequest_js_1.AgentModeRequestToJSON)(requestParameters['agentModeRequest']),
|
|
86
|
-
};
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Change agent mode
|
|
91
|
-
*/
|
|
92
|
-
setAgentModeRaw(requestParameters, initOverrides) {
|
|
93
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
-
const requestOptions = yield this.setAgentModeRequestOpts(requestParameters);
|
|
95
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
96
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, AgentStatus_js_1.AgentStatusFromJSON)(jsonValue));
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Change agent mode
|
|
101
|
-
*/
|
|
102
|
-
setAgentMode(requestParameters, initOverrides) {
|
|
103
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
-
const response = yield this.setAgentModeRaw(requestParameters, initOverrides);
|
|
105
|
-
return yield response.value();
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
exports.AgentApi = AgentApi;
|
|
@@ -1,64 +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: 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
|
-
import * as runtime from '../runtime.js';
|
|
13
|
-
import { type ApplicationListResponse } from '../models/ApplicationListResponse.js';
|
|
14
|
-
export interface ListApplicationsRequest {
|
|
15
|
-
/**
|
|
16
|
-
* Collection ID
|
|
17
|
-
*/
|
|
18
|
-
id: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* ApplicationsApi - interface
|
|
22
|
-
*
|
|
23
|
-
* @export
|
|
24
|
-
* @interface ApplicationsApiInterface
|
|
25
|
-
*/
|
|
26
|
-
export interface ApplicationsApiInterface {
|
|
27
|
-
/**
|
|
28
|
-
* Creates request options for listApplications without sending the request
|
|
29
|
-
* @param {string} id Collection ID
|
|
30
|
-
* @throws {RequiredError}
|
|
31
|
-
* @memberof ApplicationsApiInterface
|
|
32
|
-
*/
|
|
33
|
-
listApplicationsRequestOpts(requestParameters: ListApplicationsRequest): Promise<runtime.RequestOpts>;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary List detected applications in a collection
|
|
37
|
-
* @param {string} id Collection ID
|
|
38
|
-
* @param {*} [options] Override http request option.
|
|
39
|
-
* @throws {RequiredError}
|
|
40
|
-
* @memberof ApplicationsApiInterface
|
|
41
|
-
*/
|
|
42
|
-
listApplicationsRaw(requestParameters: ListApplicationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
43
|
-
/**
|
|
44
|
-
* List detected applications in a collection
|
|
45
|
-
*/
|
|
46
|
-
listApplications(requestParameters: ListApplicationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export declare class ApplicationsApi extends runtime.BaseAPI implements ApplicationsApiInterface {
|
|
52
|
-
/**
|
|
53
|
-
* Creates request options for listApplications without sending the request
|
|
54
|
-
*/
|
|
55
|
-
listApplicationsRequestOpts(requestParameters: ListApplicationsRequest): Promise<runtime.RequestOpts>;
|
|
56
|
-
/**
|
|
57
|
-
* List detected applications in a collection
|
|
58
|
-
*/
|
|
59
|
-
listApplicationsRaw(requestParameters: ListApplicationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
60
|
-
/**
|
|
61
|
-
* List detected applications in a collection
|
|
62
|
-
*/
|
|
63
|
-
listApplications(requestParameters: ListApplicationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
64
|
-
}
|