@openshift-migration-advisor/agent-sdk 0.19.0 → 0.20.1-1349fa2b4ad9
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 +217 -0
- package/dist/apis/CollectionsApi.js +216 -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 +217 -0
- package/dist/esm/apis/CollectionsApi.js +212 -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 +1 -1
- package/dist/esm/models/AgentStatus.d.ts +6 -19
- package/dist/esm/models/AgentStatus.js +7 -13
- package/dist/esm/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/esm/models/AgentStatusConsoleConnection.js +52 -0
- package/dist/esm/models/ApplicationListResponse.d.ts +1 -3
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -12
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -7
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -32
- package/dist/esm/models/BenchmarkRun.js +7 -5
- package/dist/esm/models/CapabilityStatus.d.ts +1 -3
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +1 -7
- package/dist/esm/models/ClusterFeatures.js +1 -1
- package/dist/esm/models/ClusterUtilization.d.ts +1 -15
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/Collection.d.ts +38 -0
- package/dist/esm/models/Collection.js +51 -0
- package/dist/esm/models/CollectionAggregate.d.ts +50 -0
- package/dist/esm/models/CollectionAggregate.js +63 -0
- package/dist/esm/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/esm/models/CollectionComparisonDiff.js +60 -0
- package/dist/esm/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/esm/models/CollectionComparisonSummary.js +49 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.js +56 -0
- package/dist/esm/models/CollectionListResponse.d.ts +31 -0
- package/dist/esm/models/CollectionListResponse.js +44 -0
- package/dist/esm/models/CollectorStatus.d.ts +2 -5
- package/dist/esm/models/CollectorStatus.js +2 -1
- package/dist/esm/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/esm/models/ComparisonDiffEntry.js +47 -0
- package/dist/esm/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/esm/models/ComparisonDiffPage.js +55 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +4 -10
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -7
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -21
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +7 -35
- package/dist/esm/models/DatastoreDetail.js +1 -10
- package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
- package/dist/esm/models/{DatastorePair.js → DatastorePairRequest.js} +9 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -5
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimateRange.d.ts +8 -14
- package/dist/esm/models/EstimateRange.js +10 -4
- package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
- package/dist/esm/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +22 -22
- package/dist/esm/models/ForecastStats.d.ts +11 -31
- package/dist/esm/models/ForecastStats.js +33 -17
- package/dist/esm/models/ForecasterStatus.d.ts +7 -11
- package/dist/esm/models/ForecasterStatus.js +8 -6
- package/dist/esm/models/Group.d.ts +4 -16
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupListResponse.d.ts +4 -12
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -18
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -16
- package/dist/esm/models/GuestNetwork.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -7
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +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 +45 -0
- package/dist/esm/models/InspectionStatus.js +55 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -5
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory.d.ts +3 -25
- package/dist/esm/models/Inventory.js +5 -14
- package/dist/esm/models/Inventory1.d.ts +45 -0
- package/dist/esm/models/Inventory1.js +53 -0
- package/dist/esm/models/InventoryData.d.ts +1 -11
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -11
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -9
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -11
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OperationCapability.d.ts +1 -5
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -9
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PairCapability.d.ts +3 -21
- package/dist/esm/models/PairCapability.js +1 -10
- package/dist/esm/models/PairCapabilityRequest.d.ts +3 -12
- package/dist/esm/models/PairCapabilityRequest.js +4 -7
- package/dist/esm/models/Process.d.ts +1 -5
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -43
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
- package/dist/esm/models/{ForecasterStartRequest.js → StartForecasterRequest.js} +12 -15
- package/dist/esm/models/StartInspectionRequest.d.ts +3 -12
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -5
- package/dist/esm/models/StopForecasterPair202Response.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -7
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -3
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -5
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -47
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -11
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -8
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -10
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +15 -53
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +42 -108
- package/dist/esm/models/VirtualMachineDetail.js +20 -16
- package/dist/esm/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/esm/models/{VMDevice.js → VirtualMachineDevice.js} +9 -9
- package/dist/esm/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/esm/models/{VMDisk.js → VirtualMachineDisk.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/esm/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/esm/models/VirtualMachineInspectionResults.js +42 -0
- package/dist/esm/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/esm/models/{VMIssue.js → VirtualMachineIssue.js} +16 -16
- package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -11
- package/dist/esm/models/VirtualMachineListResponse.js +4 -4
- package/dist/esm/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/esm/models/{VMNIC.js → VirtualMachineNIC.js} +9 -13
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -5
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -38
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +20 -23
- package/dist/esm/models/index.js +20 -23
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AgentModeRequest.d.ts +1 -3
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +6 -19
- package/dist/models/AgentStatus.js +8 -14
- package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/models/AgentStatusConsoleConnection.js +60 -0
- package/dist/models/ApplicationListResponse.d.ts +1 -3
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -12
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -7
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -32
- package/dist/models/BenchmarkRun.js +7 -5
- package/dist/models/CapabilityStatus.d.ts +1 -3
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +1 -7
- package/dist/models/ClusterFeatures.js +1 -1
- package/dist/models/ClusterUtilization.d.ts +1 -15
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/Collection.d.ts +38 -0
- package/dist/models/Collection.js +58 -0
- package/dist/models/CollectionAggregate.d.ts +50 -0
- package/dist/models/CollectionAggregate.js +70 -0
- package/dist/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/models/CollectionComparisonDiff.js +68 -0
- package/dist/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/models/CollectionComparisonSummary.js +56 -0
- package/dist/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/models/CollectionComparisonSummaryDiff.js +63 -0
- package/dist/models/CollectionListResponse.d.ts +31 -0
- package/dist/models/CollectionListResponse.js +51 -0
- package/dist/models/CollectorStatus.d.ts +2 -5
- package/dist/models/CollectorStatus.js +2 -1
- package/dist/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/models/ComparisonDiffEntry.js +54 -0
- package/dist/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/models/ComparisonDiffPage.js +62 -0
- package/dist/models/CreateGroupRequest.d.ts +4 -10
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -7
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -21
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +7 -35
- package/dist/models/DatastoreDetail.js +1 -11
- package/dist/models/DatastorePairRequest.d.ts +42 -0
- package/dist/models/{DatastorePair.js → DatastorePairRequest.js} +14 -14
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -9
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -5
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimateRange.d.ts +8 -14
- package/dist/models/EstimateRange.js +10 -4
- package/dist/models/ForecastPairStatus.d.ts +78 -0
- package/dist/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +28 -28
- package/dist/models/ForecastStats.d.ts +11 -31
- package/dist/models/ForecastStats.js +33 -17
- package/dist/models/ForecasterStatus.d.ts +7 -11
- package/dist/models/ForecasterStatus.js +8 -6
- package/dist/models/Group.d.ts +4 -16
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupListResponse.d.ts +4 -12
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -18
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -16
- package/dist/models/GuestNetwork.js +1 -1
- package/dist/models/Histogram.d.ts +1 -7
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +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 +45 -0
- package/dist/models/InspectionStatus.js +63 -0
- package/dist/models/InspectorStatus.d.ts +1 -5
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory.d.ts +3 -25
- package/dist/models/Inventory.js +5 -14
- package/dist/models/Inventory1.d.ts +45 -0
- package/dist/models/Inventory1.js +60 -0
- package/dist/models/InventoryData.d.ts +1 -11
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -11
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -9
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -11
- package/dist/models/Network.js +1 -1
- package/dist/models/OperationCapability.d.ts +1 -5
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -9
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PairCapability.d.ts +3 -21
- package/dist/models/PairCapability.js +1 -11
- package/dist/models/PairCapabilityRequest.d.ts +3 -12
- package/dist/models/PairCapabilityRequest.js +4 -7
- package/dist/models/Process.d.ts +1 -5
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -43
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/StartForecasterRequest.d.ts +43 -0
- package/dist/models/StartForecasterRequest.js +57 -0
- package/dist/models/StartInspectionRequest.d.ts +3 -12
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StopForecasterPair202Response.d.ts +1 -5
- package/dist/models/StopForecasterPair202Response.js +1 -1
- package/dist/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -7
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -3
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -5
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -47
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -11
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -8
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -10
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +15 -53
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +42 -108
- package/dist/models/VirtualMachineDetail.js +20 -16
- package/dist/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/models/VirtualMachineDevice.js +48 -0
- package/dist/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/models/{VMDisk.js → VirtualMachineDisk.js} +14 -14
- package/dist/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +14 -14
- package/dist/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/models/VirtualMachineInspectionResults.js +49 -0
- package/dist/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/models/VirtualMachineIssue.js +70 -0
- package/dist/models/VirtualMachineListResponse.d.ts +3 -11
- package/dist/models/VirtualMachineListResponse.js +4 -4
- package/dist/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/models/{VMNIC.js → VirtualMachineNIC.js} +14 -18
- package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -5
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -38
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +20 -23
- package/dist/models/index.js +20 -23
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/docs/AgentApi.md +136 -0
- package/docs/AgentStatus.md +4 -4
- package/docs/{ExportInventory400Response.md → AgentStatusConsoleConnection.md} +7 -5
- package/docs/ApplicationsApi.md +76 -0
- package/docs/BenchmarkRun.md +2 -2
- package/docs/Collection.md +38 -0
- package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
- package/docs/CollectionComparisonDiff.md +38 -0
- package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
- package/docs/CollectionComparisonSummaryDiff.md +41 -0
- package/docs/CollectionListResponse.md +34 -0
- package/docs/CollectionsApi.md +291 -0
- package/docs/CollectorApi.md +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/{ExportInventory500Response.md → InspectionStatus.md} +6 -4
- package/docs/InspectorApi.md +334 -0
- package/docs/InventoriesApi.md +136 -0
- package/docs/Inventory.md +2 -8
- package/docs/{GetInventory200Response.md → Inventory1.md} +4 -8
- package/docs/PairCapabilityRequest.md +1 -3
- package/docs/RightsizingApi.md +148 -0
- package/docs/{ForecasterStartRequest.md → StartForecasterRequest.md} +5 -7
- package/docs/StartInspectionRequest.md +0 -3
- package/docs/UpdateInventory.md +1 -1
- package/docs/VMLabelsResponse.md +2 -2
- package/docs/VersionApi.md +66 -0
- package/docs/VirtualMachine.md +5 -3
- package/docs/VirtualMachineDetail.md +7 -5
- package/docs/{VMDevice.md → VirtualMachineDevice.md} +4 -4
- package/docs/{VMDisk.md → VirtualMachineDisk.md} +4 -4
- package/docs/{VmInspectionConcern.md → VirtualMachineInspectionConcern.md} +4 -5
- package/docs/VirtualMachineInspectionResults.md +35 -0
- package/docs/{VMIssue.md → VirtualMachineIssue.md} +4 -4
- package/docs/VirtualMachineListResponse.md +2 -2
- package/docs/{VMNIC.md → VirtualMachineNIC.md} +4 -8
- package/docs/VirtualMachineUpdateRequest.md +2 -2
- package/docs/VirtualMachinesApi.md +914 -0
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +176 -0
- package/src/apis/ApplicationsApi.ts +111 -0
- package/src/apis/CollectionsApi.ts +411 -0
- package/src/apis/CollectorApi.ts +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 +1 -3
- package/src/models/AgentStatus.ts +18 -25
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- package/src/models/ApplicationListResponse.ts +1 -3
- package/src/models/ApplicationOverview.ts +4 -12
- package/src/models/ApplicationVM.ts +3 -7
- package/src/models/BatchUpdateExclusionRequest.ts +1 -5
- package/src/models/BenchmarkRun.ts +11 -36
- package/src/models/CapabilityStatus.ts +1 -3
- package/src/models/CapabilityStatusCapabilities.ts +1 -7
- package/src/models/ClusterFeatures.ts +1 -7
- package/src/models/ClusterUtilization.ts +1 -15
- package/src/models/Collection.ts +78 -0
- package/src/models/CollectionAggregate.ts +99 -0
- package/src/models/CollectionComparisonDiff.ts +98 -0
- package/src/models/CollectionComparisonSummary.ts +86 -0
- package/src/models/CollectionComparisonSummaryDiff.ts +93 -0
- package/src/models/CollectionListResponse.ts +72 -0
- package/src/models/CollectorStatus.ts +2 -5
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- package/src/models/CreateGroupRequest.ts +4 -10
- package/src/models/CredentialStatus.ts +1 -7
- package/src/models/Datastore.ts +1 -21
- package/src/models/DatastoreDetail.ts +7 -38
- package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -23
- package/src/models/DeleteLabelGloballyResponse.ts +8 -12
- package/src/models/DiskSizeTierSummary.ts +1 -5
- package/src/models/DiskTypeSummary.ts +1 -5
- package/src/models/EstimateRange.ts +14 -17
- package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -57
- package/src/models/ForecastStats.ts +35 -47
- package/src/models/ForecasterStatus.ts +15 -18
- package/src/models/Group.ts +4 -16
- package/src/models/GroupListResponse.ts +4 -12
- package/src/models/GroupResponse.ts +13 -25
- package/src/models/GuestNetwork.ts +6 -16
- package/src/models/Histogram.ts +1 -7
- package/src/models/Host.ts +13 -13
- package/src/models/Infra.ts +1 -25
- package/src/models/InspectionStatus.ts +84 -0
- package/src/models/InspectorStatus.ts +1 -5
- package/src/models/Inventory.ts +11 -38
- package/src/models/Inventory1.ts +91 -0
- package/src/models/InventoryData.ts +1 -11
- package/src/models/IssuesBreakdown.ts +1 -11
- package/src/models/MigrationIssue.ts +1 -9
- package/src/models/Network.ts +1 -11
- package/src/models/OperationCapability.ts +1 -5
- package/src/models/OsInfo.ts +1 -9
- package/src/models/PairCapability.ts +3 -24
- package/src/models/PairCapabilityRequest.ts +10 -27
- package/src/models/Process.ts +1 -5
- package/src/models/RightsizingClusterResponse.ts +2 -6
- package/src/models/RightsizingClusterUtilization.ts +13 -43
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StartInspectionRequest.ts +3 -21
- package/src/models/StopForecasterPair202Response.ts +1 -5
- package/src/models/StorageIoConfiguration.ts +1 -9
- package/src/models/UpdateGroupRequest.ts +4 -10
- package/src/models/UpdateInventory.ts +10 -14
- package/src/models/UpdateLabelVMsRequest.ts +1 -5
- package/src/models/VCenter.ts +1 -3
- package/src/models/VMFilterOptionsResponse.ts +1 -11
- package/src/models/VMLabelsResponse.ts +1 -5
- package/src/models/VMResourceBreakdown.ts +1 -11
- package/src/models/VMs.ts +1 -47
- package/src/models/VcenterCredentials.ts +1 -11
- package/src/models/VddkProperties.ts +2 -8
- package/src/models/VersionInfo.ts +4 -10
- package/src/models/VirtualMachine.ts +27 -62
- package/src/models/VirtualMachineDetail.ts +80 -143
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -31
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -18
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -14
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -5
- package/src/models/VmUtilizationDetails.ts +8 -38
- package/src/models/index.ts +20 -23
- package/src/runtime.ts +2 -2
- package/dist/apis/DefaultApi.d.ts +0 -1827
- package/dist/apis/DefaultApi.js +0 -2056
- package/dist/esm/apis/DefaultApi.d.ts +0 -1827
- package/dist/esm/apis/DefaultApi.js +0 -2052
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -56
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastorePair.d.ts +0 -50
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -58
- package/dist/esm/models/GetInventory200Response.d.ts +0 -23
- package/dist/esm/models/GetInventory200Response.js +0 -51
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -38
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -81
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -53
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/VMDevice.d.ts +0 -32
- package/dist/esm/models/VMDisk.d.ts +0 -68
- package/dist/esm/models/VMIssue.d.ts +0 -56
- package/dist/esm/models/VMNIC.d.ts +0 -56
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -44
- package/dist/esm/models/VmInspectionResults.d.ts +0 -33
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -61
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/CollectorStartRequest.d.ts +0 -56
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastorePair.d.ts +0 -50
- package/dist/models/ExportInventory400Response.d.ts +0 -32
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -32
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/models/ForecasterStartRequest.d.ts +0 -58
- package/dist/models/ForecasterStartRequest.js +0 -60
- package/dist/models/GetInventory200Response.d.ts +0 -23
- package/dist/models/GetInventory200Response.js +0 -57
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -38
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -81
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -53
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/VMDevice.d.ts +0 -32
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -68
- package/dist/models/VMIssue.d.ts +0 -56
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -56
- package/dist/models/VmInspectionConcern.d.ts +0 -44
- package/dist/models/VmInspectionResults.d.ts +0 -33
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -61
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DefaultApi.md +0 -3358
- package/docs/PutForecasterCredentials403Response.md +0 -36
- package/docs/RightsizingCollectRequest.md +0 -46
- package/docs/RightsizingMetricStats.md +0 -44
- package/docs/RightsizingReport.md +0 -50
- package/docs/RightsizingReportSummary.md +0 -49
- package/docs/RightsizingVMReport.md +0 -40
- package/docs/VmInspectionStatus.md +0 -40
- package/src/apis/DefaultApi.ts +0 -3820
- package/src/models/CollectorStartRequest.ts +0 -97
- package/src/models/ExportInventory400Response.ts +0 -65
- package/src/models/ExportInventory500Response.ts +0 -65
- package/src/models/ForecasterDatastoresRequest.ts +0 -73
- package/src/models/ForecasterStartRequest.ts +0 -113
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PutForecasterCredentials403Response.ts +0 -73
- package/src/models/RightsizingClusterListResponse.ts +0 -83
- package/src/models/RightsizingCollectRequest.ts +0 -123
- package/src/models/RightsizingMetricStats.ts +0 -111
- package/src/models/RightsizingReport.ts +0 -146
- package/src/models/RightsizingReportListResponse.ts +0 -83
- package/src/models/RightsizingReportSummary.ts +0 -129
- package/src/models/RightsizingVMReport.ts +0 -101
- package/src/models/VMDevice.ts +0 -65
- package/src/models/VMIssue.ts +0 -99
- package/src/models/VMNIC.ts +0 -97
- package/src/models/VmInspectionResults.ts +0 -73
- package/src/models/VmInspectionStatus.ts +0 -105
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,92 +17,62 @@
|
|
|
17
17
|
export interface VmUtilizationDetails {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VmUtilizationDetails
|
|
22
20
|
*/
|
|
23
21
|
moid: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VmUtilizationDetails
|
|
28
24
|
*/
|
|
29
25
|
vm_name: string;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VmUtilizationDetails
|
|
27
|
+
*
|
|
34
28
|
*/
|
|
35
29
|
provisioned_cpus: number;
|
|
36
30
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof VmUtilizationDetails
|
|
31
|
+
*
|
|
40
32
|
*/
|
|
41
33
|
provisioned_memory_mb: number;
|
|
42
34
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof VmUtilizationDetails
|
|
35
|
+
*
|
|
46
36
|
*/
|
|
47
37
|
provisioned_disk_kb: number;
|
|
48
38
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof VmUtilizationDetails
|
|
39
|
+
*
|
|
52
40
|
*/
|
|
53
41
|
cpu_avg: number;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof VmUtilizationDetails
|
|
58
44
|
*/
|
|
59
45
|
cpu_p95: number;
|
|
60
46
|
/**
|
|
61
47
|
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof VmUtilizationDetails
|
|
64
48
|
*/
|
|
65
49
|
cpu_max: number;
|
|
66
50
|
/**
|
|
67
51
|
*
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof VmUtilizationDetails
|
|
70
52
|
*/
|
|
71
53
|
cpu_latest: number;
|
|
72
54
|
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof VmUtilizationDetails
|
|
55
|
+
*
|
|
76
56
|
*/
|
|
77
57
|
mem_avg: number;
|
|
78
58
|
/**
|
|
79
59
|
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof VmUtilizationDetails
|
|
82
60
|
*/
|
|
83
61
|
mem_p95: number;
|
|
84
62
|
/**
|
|
85
63
|
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof VmUtilizationDetails
|
|
88
64
|
*/
|
|
89
65
|
mem_max: number;
|
|
90
66
|
/**
|
|
91
67
|
*
|
|
92
|
-
* @type {number}
|
|
93
|
-
* @memberof VmUtilizationDetails
|
|
94
68
|
*/
|
|
95
69
|
mem_latest: number;
|
|
96
70
|
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @memberof VmUtilizationDetails
|
|
71
|
+
*
|
|
100
72
|
*/
|
|
101
73
|
disk: number;
|
|
102
74
|
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {number}
|
|
105
|
-
* @memberof VmUtilizationDetails
|
|
75
|
+
*
|
|
106
76
|
*/
|
|
107
77
|
confidence: number;
|
|
108
78
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './AgentModeRequest.js';
|
|
2
2
|
export * from './AgentStatus.js';
|
|
3
|
+
export * from './AgentStatusConsoleConnection.js';
|
|
3
4
|
export * from './ApplicationListResponse.js';
|
|
4
5
|
export * from './ApplicationOverview.js';
|
|
5
6
|
export * from './ApplicationVM.js';
|
|
@@ -9,25 +10,27 @@ export * from './CapabilityStatus.js';
|
|
|
9
10
|
export * from './CapabilityStatusCapabilities.js';
|
|
10
11
|
export * from './ClusterFeatures.js';
|
|
11
12
|
export * from './ClusterUtilization.js';
|
|
12
|
-
export * from './
|
|
13
|
+
export * from './Collection.js';
|
|
14
|
+
export * from './CollectionAggregate.js';
|
|
15
|
+
export * from './CollectionComparisonDiff.js';
|
|
16
|
+
export * from './CollectionComparisonSummary.js';
|
|
17
|
+
export * from './CollectionComparisonSummaryDiff.js';
|
|
18
|
+
export * from './CollectionListResponse.js';
|
|
13
19
|
export * from './CollectorStatus.js';
|
|
20
|
+
export * from './ComparisonDiffEntry.js';
|
|
21
|
+
export * from './ComparisonDiffPage.js';
|
|
14
22
|
export * from './CreateGroupRequest.js';
|
|
15
23
|
export * from './CredentialStatus.js';
|
|
16
24
|
export * from './Datastore.js';
|
|
17
25
|
export * from './DatastoreDetail.js';
|
|
18
|
-
export * from './
|
|
26
|
+
export * from './DatastorePairRequest.js';
|
|
19
27
|
export * from './DeleteLabelGloballyResponse.js';
|
|
20
28
|
export * from './DiskSizeTierSummary.js';
|
|
21
29
|
export * from './DiskTypeSummary.js';
|
|
22
30
|
export * from './EstimateRange.js';
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './ExportInventory500Response.js';
|
|
31
|
+
export * from './ForecastPairStatus.js';
|
|
25
32
|
export * from './ForecastStats.js';
|
|
26
|
-
export * from './ForecasterDatastoresRequest.js';
|
|
27
|
-
export * from './ForecasterPairStatus.js';
|
|
28
|
-
export * from './ForecasterStartRequest.js';
|
|
29
33
|
export * from './ForecasterStatus.js';
|
|
30
|
-
export * from './GetInventory200Response.js';
|
|
31
34
|
export * from './Group.js';
|
|
32
35
|
export * from './GroupListResponse.js';
|
|
33
36
|
export * from './GroupResponse.js';
|
|
@@ -35,8 +38,10 @@ export * from './GuestNetwork.js';
|
|
|
35
38
|
export * from './Histogram.js';
|
|
36
39
|
export * from './Host.js';
|
|
37
40
|
export * from './Infra.js';
|
|
41
|
+
export * from './InspectionStatus.js';
|
|
38
42
|
export * from './InspectorStatus.js';
|
|
39
43
|
export * from './Inventory.js';
|
|
44
|
+
export * from './Inventory1.js';
|
|
40
45
|
export * from './InventoryData.js';
|
|
41
46
|
export * from './IssuesBreakdown.js';
|
|
42
47
|
export * from './MigrationIssue.js';
|
|
@@ -46,16 +51,9 @@ export * from './OsInfo.js';
|
|
|
46
51
|
export * from './PairCapability.js';
|
|
47
52
|
export * from './PairCapabilityRequest.js';
|
|
48
53
|
export * from './Process.js';
|
|
49
|
-
export * from './PutForecasterCredentials403Response.js';
|
|
50
|
-
export * from './RightsizingClusterListResponse.js';
|
|
51
54
|
export * from './RightsizingClusterResponse.js';
|
|
52
55
|
export * from './RightsizingClusterUtilization.js';
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './RightsizingMetricStats.js';
|
|
55
|
-
export * from './RightsizingReport.js';
|
|
56
|
-
export * from './RightsizingReportListResponse.js';
|
|
57
|
-
export * from './RightsizingReportSummary.js';
|
|
58
|
-
export * from './RightsizingVMReport.js';
|
|
56
|
+
export * from './StartForecasterRequest.js';
|
|
59
57
|
export * from './StartInspectionRequest.js';
|
|
60
58
|
export * from './StopForecasterPair202Response.js';
|
|
61
59
|
export * from './StorageIoConfiguration.js';
|
|
@@ -63,12 +61,8 @@ export * from './UpdateGroupRequest.js';
|
|
|
63
61
|
export * from './UpdateInventory.js';
|
|
64
62
|
export * from './UpdateLabelVMsRequest.js';
|
|
65
63
|
export * from './VCenter.js';
|
|
66
|
-
export * from './VMDevice.js';
|
|
67
|
-
export * from './VMDisk.js';
|
|
68
64
|
export * from './VMFilterOptionsResponse.js';
|
|
69
|
-
export * from './VMIssue.js';
|
|
70
65
|
export * from './VMLabelsResponse.js';
|
|
71
|
-
export * from './VMNIC.js';
|
|
72
66
|
export * from './VMResourceBreakdown.js';
|
|
73
67
|
export * from './VMs.js';
|
|
74
68
|
export * from './VcenterCredentials.js';
|
|
@@ -76,9 +70,12 @@ export * from './VddkProperties.js';
|
|
|
76
70
|
export * from './VersionInfo.js';
|
|
77
71
|
export * from './VirtualMachine.js';
|
|
78
72
|
export * from './VirtualMachineDetail.js';
|
|
73
|
+
export * from './VirtualMachineDevice.js';
|
|
74
|
+
export * from './VirtualMachineDisk.js';
|
|
75
|
+
export * from './VirtualMachineInspectionConcern.js';
|
|
76
|
+
export * from './VirtualMachineInspectionResults.js';
|
|
77
|
+
export * from './VirtualMachineIssue.js';
|
|
79
78
|
export * from './VirtualMachineListResponse.js';
|
|
79
|
+
export * from './VirtualMachineNIC.js';
|
|
80
80
|
export * from './VirtualMachineUpdateRequest.js';
|
|
81
|
-
export * from './VmInspectionConcern.js';
|
|
82
|
-
export * from './VmInspectionResults.js';
|
|
83
|
-
export * from './VmInspectionStatus.js';
|
|
84
81
|
export * from './VmUtilizationDetails.js';
|
package/dist/models/index.js
CHANGED
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AgentModeRequest.js"), exports);
|
|
20
20
|
__exportStar(require("./AgentStatus.js"), exports);
|
|
21
|
+
__exportStar(require("./AgentStatusConsoleConnection.js"), exports);
|
|
21
22
|
__exportStar(require("./ApplicationListResponse.js"), exports);
|
|
22
23
|
__exportStar(require("./ApplicationOverview.js"), exports);
|
|
23
24
|
__exportStar(require("./ApplicationVM.js"), exports);
|
|
@@ -27,25 +28,27 @@ __exportStar(require("./CapabilityStatus.js"), exports);
|
|
|
27
28
|
__exportStar(require("./CapabilityStatusCapabilities.js"), exports);
|
|
28
29
|
__exportStar(require("./ClusterFeatures.js"), exports);
|
|
29
30
|
__exportStar(require("./ClusterUtilization.js"), exports);
|
|
30
|
-
__exportStar(require("./
|
|
31
|
+
__exportStar(require("./Collection.js"), exports);
|
|
32
|
+
__exportStar(require("./CollectionAggregate.js"), exports);
|
|
33
|
+
__exportStar(require("./CollectionComparisonDiff.js"), exports);
|
|
34
|
+
__exportStar(require("./CollectionComparisonSummary.js"), exports);
|
|
35
|
+
__exportStar(require("./CollectionComparisonSummaryDiff.js"), exports);
|
|
36
|
+
__exportStar(require("./CollectionListResponse.js"), exports);
|
|
31
37
|
__exportStar(require("./CollectorStatus.js"), exports);
|
|
38
|
+
__exportStar(require("./ComparisonDiffEntry.js"), exports);
|
|
39
|
+
__exportStar(require("./ComparisonDiffPage.js"), exports);
|
|
32
40
|
__exportStar(require("./CreateGroupRequest.js"), exports);
|
|
33
41
|
__exportStar(require("./CredentialStatus.js"), exports);
|
|
34
42
|
__exportStar(require("./Datastore.js"), exports);
|
|
35
43
|
__exportStar(require("./DatastoreDetail.js"), exports);
|
|
36
|
-
__exportStar(require("./
|
|
44
|
+
__exportStar(require("./DatastorePairRequest.js"), exports);
|
|
37
45
|
__exportStar(require("./DeleteLabelGloballyResponse.js"), exports);
|
|
38
46
|
__exportStar(require("./DiskSizeTierSummary.js"), exports);
|
|
39
47
|
__exportStar(require("./DiskTypeSummary.js"), exports);
|
|
40
48
|
__exportStar(require("./EstimateRange.js"), exports);
|
|
41
|
-
__exportStar(require("./
|
|
42
|
-
__exportStar(require("./ExportInventory500Response.js"), exports);
|
|
49
|
+
__exportStar(require("./ForecastPairStatus.js"), exports);
|
|
43
50
|
__exportStar(require("./ForecastStats.js"), exports);
|
|
44
|
-
__exportStar(require("./ForecasterDatastoresRequest.js"), exports);
|
|
45
|
-
__exportStar(require("./ForecasterPairStatus.js"), exports);
|
|
46
|
-
__exportStar(require("./ForecasterStartRequest.js"), exports);
|
|
47
51
|
__exportStar(require("./ForecasterStatus.js"), exports);
|
|
48
|
-
__exportStar(require("./GetInventory200Response.js"), exports);
|
|
49
52
|
__exportStar(require("./Group.js"), exports);
|
|
50
53
|
__exportStar(require("./GroupListResponse.js"), exports);
|
|
51
54
|
__exportStar(require("./GroupResponse.js"), exports);
|
|
@@ -53,8 +56,10 @@ __exportStar(require("./GuestNetwork.js"), exports);
|
|
|
53
56
|
__exportStar(require("./Histogram.js"), exports);
|
|
54
57
|
__exportStar(require("./Host.js"), exports);
|
|
55
58
|
__exportStar(require("./Infra.js"), exports);
|
|
59
|
+
__exportStar(require("./InspectionStatus.js"), exports);
|
|
56
60
|
__exportStar(require("./InspectorStatus.js"), exports);
|
|
57
61
|
__exportStar(require("./Inventory.js"), exports);
|
|
62
|
+
__exportStar(require("./Inventory1.js"), exports);
|
|
58
63
|
__exportStar(require("./InventoryData.js"), exports);
|
|
59
64
|
__exportStar(require("./IssuesBreakdown.js"), exports);
|
|
60
65
|
__exportStar(require("./MigrationIssue.js"), exports);
|
|
@@ -64,16 +69,9 @@ __exportStar(require("./OsInfo.js"), exports);
|
|
|
64
69
|
__exportStar(require("./PairCapability.js"), exports);
|
|
65
70
|
__exportStar(require("./PairCapabilityRequest.js"), exports);
|
|
66
71
|
__exportStar(require("./Process.js"), exports);
|
|
67
|
-
__exportStar(require("./PutForecasterCredentials403Response.js"), exports);
|
|
68
|
-
__exportStar(require("./RightsizingClusterListResponse.js"), exports);
|
|
69
72
|
__exportStar(require("./RightsizingClusterResponse.js"), exports);
|
|
70
73
|
__exportStar(require("./RightsizingClusterUtilization.js"), exports);
|
|
71
|
-
__exportStar(require("./
|
|
72
|
-
__exportStar(require("./RightsizingMetricStats.js"), exports);
|
|
73
|
-
__exportStar(require("./RightsizingReport.js"), exports);
|
|
74
|
-
__exportStar(require("./RightsizingReportListResponse.js"), exports);
|
|
75
|
-
__exportStar(require("./RightsizingReportSummary.js"), exports);
|
|
76
|
-
__exportStar(require("./RightsizingVMReport.js"), exports);
|
|
74
|
+
__exportStar(require("./StartForecasterRequest.js"), exports);
|
|
77
75
|
__exportStar(require("./StartInspectionRequest.js"), exports);
|
|
78
76
|
__exportStar(require("./StopForecasterPair202Response.js"), exports);
|
|
79
77
|
__exportStar(require("./StorageIoConfiguration.js"), exports);
|
|
@@ -81,12 +79,8 @@ __exportStar(require("./UpdateGroupRequest.js"), exports);
|
|
|
81
79
|
__exportStar(require("./UpdateInventory.js"), exports);
|
|
82
80
|
__exportStar(require("./UpdateLabelVMsRequest.js"), exports);
|
|
83
81
|
__exportStar(require("./VCenter.js"), exports);
|
|
84
|
-
__exportStar(require("./VMDevice.js"), exports);
|
|
85
|
-
__exportStar(require("./VMDisk.js"), exports);
|
|
86
82
|
__exportStar(require("./VMFilterOptionsResponse.js"), exports);
|
|
87
|
-
__exportStar(require("./VMIssue.js"), exports);
|
|
88
83
|
__exportStar(require("./VMLabelsResponse.js"), exports);
|
|
89
|
-
__exportStar(require("./VMNIC.js"), exports);
|
|
90
84
|
__exportStar(require("./VMResourceBreakdown.js"), exports);
|
|
91
85
|
__exportStar(require("./VMs.js"), exports);
|
|
92
86
|
__exportStar(require("./VcenterCredentials.js"), exports);
|
|
@@ -94,9 +88,12 @@ __exportStar(require("./VddkProperties.js"), exports);
|
|
|
94
88
|
__exportStar(require("./VersionInfo.js"), exports);
|
|
95
89
|
__exportStar(require("./VirtualMachine.js"), exports);
|
|
96
90
|
__exportStar(require("./VirtualMachineDetail.js"), exports);
|
|
91
|
+
__exportStar(require("./VirtualMachineDevice.js"), exports);
|
|
92
|
+
__exportStar(require("./VirtualMachineDisk.js"), exports);
|
|
93
|
+
__exportStar(require("./VirtualMachineInspectionConcern.js"), exports);
|
|
94
|
+
__exportStar(require("./VirtualMachineInspectionResults.js"), exports);
|
|
95
|
+
__exportStar(require("./VirtualMachineIssue.js"), exports);
|
|
97
96
|
__exportStar(require("./VirtualMachineListResponse.js"), exports);
|
|
97
|
+
__exportStar(require("./VirtualMachineNIC.js"), exports);
|
|
98
98
|
__exportStar(require("./VirtualMachineUpdateRequest.js"), exports);
|
|
99
|
-
__exportStar(require("./VmInspectionConcern.js"), exports);
|
|
100
|
-
__exportStar(require("./VmInspectionResults.js"), exports);
|
|
101
|
-
__exportStar(require("./VmInspectionStatus.js"), exports);
|
|
102
99
|
__exportStar(require("./VmUtilizationDetails.js"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -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).
|
package/dist/runtime.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ exports.exists = exists;
|
|
|
28
28
|
exports.mapValues = mapValues;
|
|
29
29
|
exports.anyToJSON = anyToJSON;
|
|
30
30
|
exports.canConsumeForm = canConsumeForm;
|
|
31
|
-
exports.BASE_PATH = "https://raw.githubusercontent.com/api/
|
|
31
|
+
exports.BASE_PATH = "https://raw.githubusercontent.com/api/v2".replace(/\/+$/, "");
|
|
32
32
|
class Configuration {
|
|
33
33
|
constructor(configuration = {}) {
|
|
34
34
|
this.configuration = configuration;
|
package/docs/AgentApi.md
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# AgentApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**getAgentStatus**](AgentApi.md#getagentstatus) | **GET** /agent | Get agent status |
|
|
8
|
+
| [**setAgentMode**](AgentApi.md#setagentmode) | **POST** /agent | Change agent mode |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## getAgentStatus
|
|
13
|
+
|
|
14
|
+
> AgentStatus getAgentStatus()
|
|
15
|
+
|
|
16
|
+
Get agent status
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
Configuration,
|
|
23
|
+
AgentApi,
|
|
24
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
25
|
+
import type { GetAgentStatusRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
26
|
+
|
|
27
|
+
async function example() {
|
|
28
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
29
|
+
const api = new AgentApi();
|
|
30
|
+
|
|
31
|
+
try {
|
|
32
|
+
const data = await api.getAgentStatus();
|
|
33
|
+
console.log(data);
|
|
34
|
+
} catch (error) {
|
|
35
|
+
console.error(error);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Run the test
|
|
40
|
+
example().catch(console.error);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Parameters
|
|
44
|
+
|
|
45
|
+
This endpoint does not need any parameter.
|
|
46
|
+
|
|
47
|
+
### Return type
|
|
48
|
+
|
|
49
|
+
[**AgentStatus**](AgentStatus.md)
|
|
50
|
+
|
|
51
|
+
### Authorization
|
|
52
|
+
|
|
53
|
+
No authorization required
|
|
54
|
+
|
|
55
|
+
### HTTP request headers
|
|
56
|
+
|
|
57
|
+
- **Content-Type**: Not defined
|
|
58
|
+
- **Accept**: `application/json`
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### HTTP response details
|
|
62
|
+
| Status code | Description | Response headers |
|
|
63
|
+
|-------------|-------------|------------------|
|
|
64
|
+
| **200** | Agent status | - |
|
|
65
|
+
| **500** | Internal server error | - |
|
|
66
|
+
|
|
67
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## setAgentMode
|
|
71
|
+
|
|
72
|
+
> AgentStatus setAgentMode(agentModeRequest)
|
|
73
|
+
|
|
74
|
+
Change agent mode
|
|
75
|
+
|
|
76
|
+
### Example
|
|
77
|
+
|
|
78
|
+
```ts
|
|
79
|
+
import {
|
|
80
|
+
Configuration,
|
|
81
|
+
AgentApi,
|
|
82
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
83
|
+
import type { SetAgentModeRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
84
|
+
|
|
85
|
+
async function example() {
|
|
86
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
87
|
+
const api = new AgentApi();
|
|
88
|
+
|
|
89
|
+
const body = {
|
|
90
|
+
// AgentModeRequest
|
|
91
|
+
agentModeRequest: ...,
|
|
92
|
+
} satisfies SetAgentModeRequest;
|
|
93
|
+
|
|
94
|
+
try {
|
|
95
|
+
const data = await api.setAgentMode(body);
|
|
96
|
+
console.log(data);
|
|
97
|
+
} catch (error) {
|
|
98
|
+
console.error(error);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Run the test
|
|
103
|
+
example().catch(console.error);
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Parameters
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
| Name | Type | Description | Notes |
|
|
110
|
+
|------------- | ------------- | ------------- | -------------|
|
|
111
|
+
| **agentModeRequest** | [AgentModeRequest](AgentModeRequest.md) | | |
|
|
112
|
+
|
|
113
|
+
### Return type
|
|
114
|
+
|
|
115
|
+
[**AgentStatus**](AgentStatus.md)
|
|
116
|
+
|
|
117
|
+
### Authorization
|
|
118
|
+
|
|
119
|
+
No authorization required
|
|
120
|
+
|
|
121
|
+
### HTTP request headers
|
|
122
|
+
|
|
123
|
+
- **Content-Type**: `application/json`
|
|
124
|
+
- **Accept**: `application/json`
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### HTTP response details
|
|
128
|
+
| Status code | Description | Response headers |
|
|
129
|
+
|-------------|-------------|------------------|
|
|
130
|
+
| **200** | Mode changed | - |
|
|
131
|
+
| **400** | Invalid request | - |
|
|
132
|
+
| **409** | Conflict | - |
|
|
133
|
+
| **500** | Internal server error | - |
|
|
134
|
+
|
|
135
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
136
|
+
|
package/docs/AgentStatus.md
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`mode` | string
|
|
10
|
-
`
|
|
11
|
-
`
|
|
10
|
+
`consoleConnection` | [AgentStatusConsoleConnection](AgentStatusConsoleConnection.md)
|
|
11
|
+
`rvtoolsModeEnabled` | boolean
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -18,8 +18,8 @@ import type { AgentStatus } from '@openshift-migration-advisor/agent-sdk'
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
20
|
"mode": null,
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"consoleConnection": null,
|
|
22
|
+
"rvtoolsModeEnabled": null,
|
|
23
23
|
} satisfies AgentStatus
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# AgentStatusConsoleConnection
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`status` | string
|
|
9
10
|
`error` | string
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
13
14
|
```typescript
|
|
14
|
-
import type {
|
|
15
|
+
import type { AgentStatusConsoleConnection } from '@openshift-migration-advisor/agent-sdk'
|
|
15
16
|
|
|
16
17
|
// TODO: Update the object below with actual values
|
|
17
18
|
const example = {
|
|
18
|
-
"
|
|
19
|
-
|
|
19
|
+
"status": null,
|
|
20
|
+
"error": null,
|
|
21
|
+
} satisfies AgentStatusConsoleConnection
|
|
20
22
|
|
|
21
23
|
console.log(example)
|
|
22
24
|
|
|
@@ -25,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
27
|
console.log(exampleJSON)
|
|
26
28
|
|
|
27
29
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as AgentStatusConsoleConnection
|
|
29
31
|
console.log(exampleParsed)
|
|
30
32
|
```
|
|
31
33
|
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# ApplicationsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**listApplications**](ApplicationsApi.md#listapplications) | **GET** /collections/{id}/applications | List detected applications in a collection |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## listApplications
|
|
12
|
+
|
|
13
|
+
> ApplicationListResponse listApplications(id)
|
|
14
|
+
|
|
15
|
+
List detected applications in a collection
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import {
|
|
21
|
+
Configuration,
|
|
22
|
+
ApplicationsApi,
|
|
23
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
24
|
+
import type { ListApplicationsRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
25
|
+
|
|
26
|
+
async function example() {
|
|
27
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
28
|
+
const api = new ApplicationsApi();
|
|
29
|
+
|
|
30
|
+
const body = {
|
|
31
|
+
// string | Collection ID
|
|
32
|
+
id: id_example,
|
|
33
|
+
} satisfies ListApplicationsRequest;
|
|
34
|
+
|
|
35
|
+
try {
|
|
36
|
+
const data = await api.listApplications(body);
|
|
37
|
+
console.log(data);
|
|
38
|
+
} catch (error) {
|
|
39
|
+
console.error(error);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Run the test
|
|
44
|
+
example().catch(console.error);
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Parameters
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
| Name | Type | Description | Notes |
|
|
51
|
+
|------------- | ------------- | ------------- | -------------|
|
|
52
|
+
| **id** | `string` | Collection ID | [Defaults to `undefined`] |
|
|
53
|
+
|
|
54
|
+
### Return type
|
|
55
|
+
|
|
56
|
+
[**ApplicationListResponse**](ApplicationListResponse.md)
|
|
57
|
+
|
|
58
|
+
### Authorization
|
|
59
|
+
|
|
60
|
+
No authorization required
|
|
61
|
+
|
|
62
|
+
### HTTP request headers
|
|
63
|
+
|
|
64
|
+
- **Content-Type**: Not defined
|
|
65
|
+
- **Accept**: `application/json`
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### HTTP response details
|
|
69
|
+
| Status code | Description | Response headers |
|
|
70
|
+
|-------------|-------------|------------------|
|
|
71
|
+
| **200** | List of detected applications | - |
|
|
72
|
+
| **404** | Collection not found | - |
|
|
73
|
+
| **500** | Internal server error | - |
|
|
74
|
+
|
|
75
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
76
|
+
|
package/docs/BenchmarkRun.md
CHANGED
|
@@ -15,7 +15,7 @@ Name | Type
|
|
|
15
15
|
`diskSizeGb` | number
|
|
16
16
|
`prepDurationSec` | number
|
|
17
17
|
`durationSec` | number
|
|
18
|
-
`
|
|
18
|
+
`throughputMBps` | number
|
|
19
19
|
`method` | string
|
|
20
20
|
`error` | string
|
|
21
21
|
`createdAt` | Date
|
|
@@ -36,7 +36,7 @@ const example = {
|
|
|
36
36
|
"diskSizeGb": null,
|
|
37
37
|
"prepDurationSec": null,
|
|
38
38
|
"durationSec": null,
|
|
39
|
-
"
|
|
39
|
+
"throughputMBps": null,
|
|
40
40
|
"method": null,
|
|
41
41
|
"error": null,
|
|
42
42
|
"createdAt": null,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# Collection
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
`createdAt` | Date
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { Collection } from '@openshift-migration-advisor/agent-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"id": null,
|
|
21
|
+
"name": null,
|
|
22
|
+
"createdAt": null,
|
|
23
|
+
} satisfies Collection
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as Collection
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|