@openshift-migration-advisor/planner-sdk 0.10.0 → 0.11.0-72642107444
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 +30 -0
- package/README.md +43 -12
- package/dist/apis/AccountApi.d.ts +390 -0
- package/dist/apis/AccountApi.js +454 -0
- package/dist/apis/AssessmentApi.d.ts +43 -14
- package/dist/apis/AssessmentApi.js +54 -9
- package/dist/apis/HealthApi.d.ts +1 -1
- package/dist/apis/HealthApi.js +1 -1
- package/dist/apis/ImageApi.d.ts +1 -1
- package/dist/apis/ImageApi.js +3 -3
- package/dist/apis/InfoApi.d.ts +1 -1
- package/dist/apis/InfoApi.js +1 -1
- package/dist/apis/JobApi.d.ts +1 -1
- package/dist/apis/JobApi.js +3 -3
- package/dist/apis/PartnerApi.d.ts +323 -0
- package/dist/apis/PartnerApi.js +379 -0
- package/dist/apis/SourceApi.d.ts +1 -1
- package/dist/apis/SourceApi.js +5 -5
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/AccountApi.d.ts +390 -0
- package/dist/esm/apis/AccountApi.js +450 -0
- package/dist/esm/apis/AssessmentApi.d.ts +43 -14
- package/dist/esm/apis/AssessmentApi.js +55 -10
- package/dist/esm/apis/HealthApi.d.ts +1 -1
- package/dist/esm/apis/HealthApi.js +1 -1
- package/dist/esm/apis/ImageApi.d.ts +1 -1
- package/dist/esm/apis/ImageApi.js +3 -3
- package/dist/esm/apis/InfoApi.d.ts +1 -1
- package/dist/esm/apis/InfoApi.js +1 -1
- package/dist/esm/apis/JobApi.d.ts +1 -1
- package/dist/esm/apis/JobApi.js +3 -3
- package/dist/esm/apis/PartnerApi.d.ts +323 -0
- package/dist/esm/apis/PartnerApi.js +375 -0
- package/dist/esm/apis/SourceApi.d.ts +1 -1
- package/dist/esm/apis/SourceApi.js +5 -5
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/Agent.d.ts +1 -1
- package/dist/esm/models/Agent.js +1 -1
- package/dist/esm/models/AgentProxy.d.ts +1 -1
- package/dist/esm/models/AgentProxy.js +1 -1
- package/dist/esm/models/Assessment.d.ts +1 -1
- package/dist/esm/models/Assessment.js +1 -1
- package/dist/esm/models/AssessmentForm.d.ts +1 -1
- package/dist/esm/models/AssessmentForm.js +1 -1
- package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
- package/dist/esm/models/AssessmentUpdate.js +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
- package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +119 -0
- package/dist/esm/models/ClusterRequirementsStoredInput.js +87 -0
- package/dist/esm/models/ClusterSizing.d.ts +1 -1
- package/dist/esm/models/ClusterSizing.js +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.js +1 -1
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSNameEntry.js +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- 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/EstimationContext.d.ts +1 -1
- package/dist/esm/models/EstimationContext.js +1 -1
- package/dist/esm/models/EstimationDetail.d.ts +1 -1
- package/dist/esm/models/EstimationDetail.js +1 -1
- package/dist/esm/models/Group.d.ts +82 -0
- package/dist/esm/models/Group.js +76 -0
- package/dist/esm/models/GroupCreate.d.ts +64 -0
- package/dist/esm/models/GroupCreate.js +66 -0
- package/dist/esm/models/GroupUpdate.d.ts +50 -0
- package/dist/esm/models/GroupUpdate.js +47 -0
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -1
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Identity.d.ts +60 -0
- package/dist/esm/models/Identity.js +60 -0
- package/dist/esm/models/Info.d.ts +1 -1
- package/dist/esm/models/Info.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/Inventory.d.ts +1 -1
- package/dist/esm/models/Inventory.js +1 -1
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/InventoryTotals.d.ts +1 -1
- package/dist/esm/models/InventoryTotals.js +1 -1
- package/dist/esm/models/Ipv4Config.d.ts +1 -1
- package/dist/esm/models/Ipv4Config.js +1 -1
- package/dist/esm/models/Job.d.ts +1 -1
- package/dist/esm/models/Job.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +1 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +1 -1
- package/dist/esm/models/Label.js +1 -1
- package/dist/esm/models/Member.d.ts +56 -0
- package/dist/esm/models/Member.js +57 -0
- package/dist/esm/models/MemberCreate.d.ts +38 -0
- package/dist/esm/models/MemberCreate.js +47 -0
- package/dist/esm/models/MemberUpdate.d.ts +32 -0
- package/dist/esm/models/MemberUpdate.js +41 -0
- package/dist/esm/models/MigrationComplexityRequest.d.ts +1 -1
- package/dist/esm/models/MigrationComplexityRequest.js +1 -1
- package/dist/esm/models/MigrationComplexityResponse.d.ts +1 -1
- package/dist/esm/models/MigrationComplexityResponse.js +1 -1
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationByComplexityResponse.js +1 -1
- package/dist/esm/models/MigrationEstimationRequest.d.ts +2 -2
- package/dist/esm/models/MigrationEstimationRequest.js +1 -1
- package/dist/esm/models/MigrationEstimationResponse.d.ts +43 -0
- package/dist/esm/models/MigrationEstimationResponse.js +50 -0
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -1
- package/dist/esm/models/ModelError.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PartnerRequest.d.ts +99 -0
- package/dist/esm/models/PartnerRequest.js +82 -0
- package/dist/esm/models/PartnerRequestCreate.d.ts +56 -0
- package/dist/esm/models/PartnerRequestCreate.js +59 -0
- package/dist/esm/models/PartnerRequestStatus.d.ts +27 -0
- package/dist/esm/models/PartnerRequestStatus.js +45 -0
- package/dist/esm/models/PartnerRequestUpdate.d.ts +39 -0
- package/dist/esm/models/PartnerRequestUpdate.js +46 -0
- package/dist/esm/models/PresignedUrl.d.ts +1 -1
- package/dist/esm/models/PresignedUrl.js +1 -1
- package/dist/esm/models/SchemaEstimationResult.d.ts +1 -1
- package/dist/esm/models/SchemaEstimationResult.js +1 -1
- package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/esm/models/SizingOverCommitRatio.js +1 -1
- package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/esm/models/SizingResourceConsumption.js +1 -1
- package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
- package/dist/esm/models/SizingResourceLimits.js +1 -1
- package/dist/esm/models/Snapshot.d.ts +1 -1
- package/dist/esm/models/Snapshot.js +1 -1
- package/dist/esm/models/Source.d.ts +1 -1
- package/dist/esm/models/Source.js +1 -1
- package/dist/esm/models/SourceCreate.d.ts +1 -1
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceInfra.d.ts +1 -1
- package/dist/esm/models/SourceInfra.js +1 -1
- package/dist/esm/models/SourceUpdate.d.ts +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/Status.d.ts +1 -1
- package/dist/esm/models/Status.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +1 -1
- package/dist/esm/models/UpdateInventory.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VmNetwork.d.ts +1 -1
- package/dist/esm/models/VmNetwork.js +1 -1
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/Agent.d.ts +1 -1
- package/dist/models/Agent.js +1 -1
- package/dist/models/AgentProxy.d.ts +1 -1
- package/dist/models/AgentProxy.js +1 -1
- package/dist/models/Assessment.d.ts +1 -1
- package/dist/models/Assessment.js +1 -1
- package/dist/models/AssessmentForm.d.ts +1 -1
- package/dist/models/AssessmentForm.js +1 -1
- package/dist/models/AssessmentUpdate.d.ts +1 -1
- package/dist/models/AssessmentUpdate.js +1 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/models/ClusterRequirementsResponse.js +1 -1
- package/dist/models/ClusterRequirementsStoredInput.d.ts +119 -0
- package/dist/models/ClusterRequirementsStoredInput.js +95 -0
- package/dist/models/ClusterSizing.d.ts +1 -1
- package/dist/models/ClusterSizing.js +1 -1
- package/dist/models/ComplexityDiskScoreEntry.d.ts +1 -1
- package/dist/models/ComplexityDiskScoreEntry.js +1 -1
- package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/models/ComplexityOSNameEntry.js +1 -1
- package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/models/ComplexityOSScoreEntry.js +1 -1
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- 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/EstimationContext.d.ts +1 -1
- package/dist/models/EstimationContext.js +1 -1
- package/dist/models/EstimationDetail.d.ts +1 -1
- package/dist/models/EstimationDetail.js +1 -1
- package/dist/models/Group.d.ts +82 -0
- package/dist/models/Group.js +84 -0
- package/dist/models/GroupCreate.d.ts +64 -0
- package/dist/models/GroupCreate.js +74 -0
- package/dist/models/GroupUpdate.d.ts +50 -0
- package/dist/models/GroupUpdate.js +54 -0
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -1
- package/dist/models/Host.js +1 -1
- package/dist/models/Identity.d.ts +60 -0
- package/dist/models/Identity.js +68 -0
- package/dist/models/Info.d.ts +1 -1
- package/dist/models/Info.js +1 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/Inventory.d.ts +1 -1
- package/dist/models/Inventory.js +1 -1
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/InventoryTotals.d.ts +1 -1
- package/dist/models/InventoryTotals.js +1 -1
- package/dist/models/Ipv4Config.d.ts +1 -1
- package/dist/models/Ipv4Config.js +1 -1
- package/dist/models/Job.d.ts +1 -1
- package/dist/models/Job.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +1 -1
- package/dist/models/Label.js +1 -1
- package/dist/models/Member.d.ts +56 -0
- package/dist/models/Member.js +64 -0
- package/dist/models/MemberCreate.d.ts +38 -0
- package/dist/models/MemberCreate.js +54 -0
- package/dist/models/MemberUpdate.d.ts +32 -0
- package/dist/models/MemberUpdate.js +48 -0
- package/dist/models/MigrationComplexityRequest.d.ts +1 -1
- package/dist/models/MigrationComplexityRequest.js +1 -1
- package/dist/models/MigrationComplexityResponse.d.ts +1 -1
- package/dist/models/MigrationComplexityResponse.js +1 -1
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationByComplexityResponse.js +1 -1
- package/dist/models/MigrationEstimationRequest.d.ts +2 -2
- package/dist/models/MigrationEstimationRequest.js +1 -1
- package/dist/models/MigrationEstimationResponse.d.ts +43 -0
- package/dist/models/MigrationEstimationResponse.js +57 -0
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/ModelError.d.ts +1 -1
- package/dist/models/ModelError.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OsDiskEstimationEntry.d.ts +1 -1
- package/dist/models/OsDiskEstimationEntry.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PartnerRequest.d.ts +99 -0
- package/dist/models/PartnerRequest.js +89 -0
- package/dist/models/PartnerRequestCreate.d.ts +56 -0
- package/dist/models/PartnerRequestCreate.js +66 -0
- package/dist/models/PartnerRequestStatus.d.ts +27 -0
- package/dist/models/PartnerRequestStatus.js +53 -0
- package/dist/models/PartnerRequestUpdate.d.ts +39 -0
- package/dist/models/PartnerRequestUpdate.js +53 -0
- package/dist/models/PresignedUrl.d.ts +1 -1
- package/dist/models/PresignedUrl.js +1 -1
- package/dist/models/SchemaEstimationResult.d.ts +1 -1
- package/dist/models/SchemaEstimationResult.js +1 -1
- package/dist/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/models/SizingOverCommitRatio.js +1 -1
- package/dist/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/models/SizingResourceConsumption.js +1 -1
- package/dist/models/SizingResourceLimits.d.ts +1 -1
- package/dist/models/SizingResourceLimits.js +1 -1
- package/dist/models/Snapshot.d.ts +1 -1
- package/dist/models/Snapshot.js +1 -1
- package/dist/models/Source.d.ts +1 -1
- package/dist/models/Source.js +1 -1
- package/dist/models/SourceCreate.d.ts +1 -1
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceInfra.d.ts +1 -1
- package/dist/models/SourceInfra.js +1 -1
- package/dist/models/SourceUpdate.d.ts +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/Status.d.ts +1 -1
- package/dist/models/Status.js +1 -1
- package/dist/models/UpdateInventory.d.ts +1 -1
- package/dist/models/UpdateInventory.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- 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/VmNetwork.d.ts +1 -1
- package/dist/models/VmNetwork.js +1 -1
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/AccountApi.md +734 -0
- package/docs/AssessmentApi.md +78 -2
- package/docs/ClusterRequirementsStoredInput.md +55 -0
- package/docs/Group.md +48 -0
- package/docs/GroupCreate.md +42 -0
- package/docs/GroupUpdate.md +40 -0
- package/docs/Identity.md +40 -0
- package/docs/Member.md +42 -0
- package/docs/MemberCreate.md +36 -0
- package/docs/MemberUpdate.md +34 -0
- package/docs/MigrationEstimationResponse.md +37 -0
- package/docs/PartnerApi.md +636 -0
- package/docs/PartnerRequest.md +56 -0
- package/docs/PartnerRequestCreate.md +42 -0
- package/docs/PartnerRequestStatus.md +32 -0
- package/docs/PartnerRequestUpdate.md +36 -0
- package/docs/SourceApi.md +1 -1
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +834 -0
- package/src/apis/AssessmentApi.ts +104 -16
- package/src/apis/HealthApi.ts +1 -1
- package/src/apis/ImageApi.ts +3 -3
- package/src/apis/InfoApi.ts +1 -1
- package/src/apis/JobApi.ts +3 -3
- package/src/apis/PartnerApi.ts +668 -0
- package/src/apis/SourceApi.ts +5 -5
- package/src/apis/index.ts +2 -0
- package/src/models/Agent.ts +1 -1
- package/src/models/AgentProxy.ts +1 -1
- package/src/models/Assessment.ts +1 -1
- package/src/models/AssessmentForm.ts +1 -1
- package/src/models/AssessmentUpdate.ts +1 -1
- package/src/models/ClusterRequirementsRequest.ts +1 -1
- package/src/models/ClusterRequirementsResponse.ts +1 -1
- package/src/models/ClusterRequirementsStoredInput.ts +178 -0
- package/src/models/ClusterSizing.ts +1 -1
- package/src/models/ComplexityDiskScoreEntry.ts +1 -1
- package/src/models/ComplexityOSNameEntry.ts +1 -1
- package/src/models/ComplexityOSScoreEntry.ts +1 -1
- package/src/models/Datastore.ts +1 -1
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimationContext.ts +1 -1
- package/src/models/EstimationDetail.ts +1 -1
- package/src/models/Group.ts +139 -0
- package/src/models/GroupCreate.ts +113 -0
- package/src/models/GroupUpdate.ts +89 -0
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Identity.ts +104 -0
- package/src/models/Info.ts +1 -1
- package/src/models/Infra.ts +1 -1
- package/src/models/Inventory.ts +1 -1
- package/src/models/InventoryData.ts +1 -1
- package/src/models/InventoryTotals.ts +1 -1
- package/src/models/Ipv4Config.ts +1 -1
- package/src/models/Job.ts +1 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +1 -1
- package/src/models/Member.ts +101 -0
- package/src/models/MemberCreate.ts +75 -0
- package/src/models/MemberUpdate.ts +65 -0
- package/src/models/MigrationComplexityRequest.ts +1 -1
- package/src/models/MigrationComplexityResponse.ts +1 -1
- package/src/models/MigrationEstimationByComplexityResponse.ts +1 -1
- package/src/models/MigrationEstimationRequest.ts +2 -2
- package/src/models/MigrationEstimationResponse.ts +91 -0
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/ModelError.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/OsDiskEstimationEntry.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PartnerRequest.ts +172 -0
- package/src/models/PartnerRequestCreate.ts +102 -0
- package/src/models/PartnerRequestStatus.ts +55 -0
- package/src/models/PartnerRequestUpdate.ts +84 -0
- package/src/models/PresignedUrl.ts +1 -1
- package/src/models/SchemaEstimationResult.ts +1 -1
- package/src/models/SizingOverCommitRatio.ts +1 -1
- package/src/models/SizingResourceConsumption.ts +1 -1
- package/src/models/SizingResourceLimits.ts +1 -1
- package/src/models/Snapshot.ts +1 -1
- package/src/models/Source.ts +1 -1
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceInfra.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/Status.ts +1 -1
- package/src/models/UpdateInventory.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VmNetwork.ts +1 -1
- package/src/models/index.ts +13 -0
- package/src/runtime.ts +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,11 +20,12 @@ import type {
|
|
|
20
20
|
AssessmentUpdate,
|
|
21
21
|
ClusterRequirementsRequest,
|
|
22
22
|
ClusterRequirementsResponse,
|
|
23
|
+
ClusterRequirementsStoredInput,
|
|
23
24
|
MigrationComplexityRequest,
|
|
24
25
|
MigrationComplexityResponse,
|
|
25
26
|
MigrationEstimationByComplexityResponse,
|
|
26
27
|
MigrationEstimationRequest,
|
|
27
|
-
|
|
28
|
+
MigrationEstimationResponse,
|
|
28
29
|
} from '../models/index.js';
|
|
29
30
|
import {
|
|
30
31
|
AssessmentFromJSON,
|
|
@@ -37,6 +38,8 @@ import {
|
|
|
37
38
|
ClusterRequirementsRequestToJSON,
|
|
38
39
|
ClusterRequirementsResponseFromJSON,
|
|
39
40
|
ClusterRequirementsResponseToJSON,
|
|
41
|
+
ClusterRequirementsStoredInputFromJSON,
|
|
42
|
+
ClusterRequirementsStoredInputToJSON,
|
|
40
43
|
MigrationComplexityRequestFromJSON,
|
|
41
44
|
MigrationComplexityRequestToJSON,
|
|
42
45
|
MigrationComplexityResponseFromJSON,
|
|
@@ -45,8 +48,8 @@ import {
|
|
|
45
48
|
MigrationEstimationByComplexityResponseToJSON,
|
|
46
49
|
MigrationEstimationRequestFromJSON,
|
|
47
50
|
MigrationEstimationRequestToJSON,
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
MigrationEstimationResponseFromJSON,
|
|
52
|
+
MigrationEstimationResponseToJSON,
|
|
50
53
|
} from '../models/index.js';
|
|
51
54
|
|
|
52
55
|
export interface CalculateAssessmentClusterRequirementsRequest {
|
|
@@ -81,6 +84,11 @@ export interface GetAssessmentRequest {
|
|
|
81
84
|
id: string;
|
|
82
85
|
}
|
|
83
86
|
|
|
87
|
+
export interface GetAssessmentClusterRequirementsStoredInputRequest {
|
|
88
|
+
id: string;
|
|
89
|
+
clusterId: string;
|
|
90
|
+
}
|
|
91
|
+
|
|
84
92
|
export interface ListAssessmentsRequest {
|
|
85
93
|
sourceId?: string;
|
|
86
94
|
}
|
|
@@ -162,12 +170,12 @@ export interface AssessmentApiInterface {
|
|
|
162
170
|
* @throws {RequiredError}
|
|
163
171
|
* @memberof AssessmentApiInterface
|
|
164
172
|
*/
|
|
165
|
-
calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
173
|
+
calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationResponse>>;
|
|
166
174
|
|
|
167
175
|
/**
|
|
168
176
|
* Calculate migration time estimation for an assessment
|
|
169
177
|
*/
|
|
170
|
-
calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
178
|
+
calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationResponse>;
|
|
171
179
|
|
|
172
180
|
/**
|
|
173
181
|
* Creates request options for calculateMigrationEstimationByComplexity without sending the request
|
|
@@ -259,6 +267,30 @@ export interface AssessmentApiInterface {
|
|
|
259
267
|
*/
|
|
260
268
|
getAssessment(requestParameters: GetAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Assessment>;
|
|
261
269
|
|
|
270
|
+
/**
|
|
271
|
+
* Creates request options for getAssessmentClusterRequirementsStoredInput without sending the request
|
|
272
|
+
* @param {string} id ID of the assessment
|
|
273
|
+
* @param {string} clusterId ID of the VMware cluster
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
* @memberof AssessmentApiInterface
|
|
276
|
+
*/
|
|
277
|
+
getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest): Promise<runtime.RequestOpts>;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
281
|
+
* @param {string} id ID of the assessment
|
|
282
|
+
* @param {string} clusterId ID of the VMware cluster
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
* @memberof AssessmentApiInterface
|
|
286
|
+
*/
|
|
287
|
+
getAssessmentClusterRequirementsStoredInputRaw(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsStoredInput>>;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
291
|
+
*/
|
|
292
|
+
getAssessmentClusterRequirementsStoredInput(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsStoredInput>;
|
|
293
|
+
|
|
262
294
|
/**
|
|
263
295
|
* Creates request options for listAssessments without sending the request
|
|
264
296
|
* @param {string} [sourceId] Filter assessments by source ID
|
|
@@ -338,7 +370,7 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
338
370
|
|
|
339
371
|
|
|
340
372
|
let urlPath = `/api/v1/assessments/{id}/cluster-requirements`;
|
|
341
|
-
urlPath = urlPath.replace(
|
|
373
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
342
374
|
|
|
343
375
|
return {
|
|
344
376
|
path: urlPath,
|
|
@@ -393,7 +425,7 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
393
425
|
|
|
394
426
|
|
|
395
427
|
let urlPath = `/api/v1/assessments/{id}/complexity-estimation`;
|
|
396
|
-
urlPath = urlPath.replace(
|
|
428
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
397
429
|
|
|
398
430
|
return {
|
|
399
431
|
path: urlPath,
|
|
@@ -448,7 +480,7 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
448
480
|
|
|
449
481
|
|
|
450
482
|
let urlPath = `/api/v1/assessments/{id}/migration-estimation`;
|
|
451
|
-
urlPath = urlPath.replace(
|
|
483
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
452
484
|
|
|
453
485
|
return {
|
|
454
486
|
path: urlPath,
|
|
@@ -462,17 +494,17 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
462
494
|
/**
|
|
463
495
|
* Calculate migration time estimation for an assessment
|
|
464
496
|
*/
|
|
465
|
-
async calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
497
|
+
async calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationResponse>> {
|
|
466
498
|
const requestOptions = await this.calculateMigrationEstimationRequestOpts(requestParameters);
|
|
467
499
|
const response = await this.request(requestOptions, initOverrides);
|
|
468
500
|
|
|
469
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
501
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MigrationEstimationResponseFromJSON(jsonValue));
|
|
470
502
|
}
|
|
471
503
|
|
|
472
504
|
/**
|
|
473
505
|
* Calculate migration time estimation for an assessment
|
|
474
506
|
*/
|
|
475
|
-
async calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
507
|
+
async calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationResponse> {
|
|
476
508
|
const response = await this.calculateMigrationEstimationRaw(requestParameters, initOverrides);
|
|
477
509
|
return await response.value();
|
|
478
510
|
}
|
|
@@ -503,7 +535,7 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
503
535
|
|
|
504
536
|
|
|
505
537
|
let urlPath = `/api/v1/assessments/{id}/migration-estimation/by-complexity`;
|
|
506
|
-
urlPath = urlPath.replace(
|
|
538
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
507
539
|
|
|
508
540
|
return {
|
|
509
541
|
path: urlPath,
|
|
@@ -596,7 +628,7 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
596
628
|
|
|
597
629
|
|
|
598
630
|
let urlPath = `/api/v1/assessments/{id}`;
|
|
599
|
-
urlPath = urlPath.replace(
|
|
631
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
600
632
|
|
|
601
633
|
return {
|
|
602
634
|
path: urlPath,
|
|
@@ -641,7 +673,7 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
641
673
|
|
|
642
674
|
|
|
643
675
|
let urlPath = `/api/v1/assessments/{id}`;
|
|
644
|
-
urlPath = urlPath.replace(
|
|
676
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
645
677
|
|
|
646
678
|
return {
|
|
647
679
|
path: urlPath,
|
|
@@ -669,6 +701,62 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
669
701
|
return await response.value();
|
|
670
702
|
}
|
|
671
703
|
|
|
704
|
+
/**
|
|
705
|
+
* Creates request options for getAssessmentClusterRequirementsStoredInput without sending the request
|
|
706
|
+
*/
|
|
707
|
+
async getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest): Promise<runtime.RequestOpts> {
|
|
708
|
+
if (requestParameters['id'] == null) {
|
|
709
|
+
throw new runtime.RequiredError(
|
|
710
|
+
'id',
|
|
711
|
+
'Required parameter "id" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().'
|
|
712
|
+
);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
if (requestParameters['clusterId'] == null) {
|
|
716
|
+
throw new runtime.RequiredError(
|
|
717
|
+
'clusterId',
|
|
718
|
+
'Required parameter "clusterId" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().'
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
const queryParameters: any = {};
|
|
723
|
+
|
|
724
|
+
if (requestParameters['clusterId'] != null) {
|
|
725
|
+
queryParameters['clusterId'] = requestParameters['clusterId'];
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
let urlPath = `/api/v1/assessments/{id}/cluster-requirements/stored-input`;
|
|
732
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
733
|
+
|
|
734
|
+
return {
|
|
735
|
+
path: urlPath,
|
|
736
|
+
method: 'GET',
|
|
737
|
+
headers: headerParameters,
|
|
738
|
+
query: queryParameters,
|
|
739
|
+
};
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
744
|
+
*/
|
|
745
|
+
async getAssessmentClusterRequirementsStoredInputRaw(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsStoredInput>> {
|
|
746
|
+
const requestOptions = await this.getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters);
|
|
747
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
748
|
+
|
|
749
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ClusterRequirementsStoredInputFromJSON(jsonValue));
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
754
|
+
*/
|
|
755
|
+
async getAssessmentClusterRequirementsStoredInput(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsStoredInput> {
|
|
756
|
+
const response = await this.getAssessmentClusterRequirementsStoredInputRaw(requestParameters, initOverrides);
|
|
757
|
+
return await response.value();
|
|
758
|
+
}
|
|
759
|
+
|
|
672
760
|
/**
|
|
673
761
|
* Creates request options for listAssessments without sending the request
|
|
674
762
|
*/
|
|
@@ -736,7 +824,7 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
736
824
|
|
|
737
825
|
|
|
738
826
|
let urlPath = `/api/v1/assessments/{id}`;
|
|
739
|
-
urlPath = urlPath.replace(
|
|
827
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
740
828
|
|
|
741
829
|
return {
|
|
742
830
|
path: urlPath,
|
package/src/apis/HealthApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/ImageApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -105,7 +105,7 @@ export class ImageApi extends runtime.BaseAPI implements ImageApiInterface {
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
let urlPath = `/api/v1/sources/{id}/image-url`;
|
|
108
|
-
urlPath = urlPath.replace(
|
|
108
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
109
109
|
|
|
110
110
|
return {
|
|
111
111
|
path: urlPath,
|
|
@@ -150,7 +150,7 @@ export class ImageApi extends runtime.BaseAPI implements ImageApiInterface {
|
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
let urlPath = `/api/v1/sources/{id}/image`;
|
|
153
|
-
urlPath = urlPath.replace(
|
|
153
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
154
154
|
|
|
155
155
|
return {
|
|
156
156
|
path: urlPath,
|
package/src/apis/InfoApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/JobApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -134,7 +134,7 @@ export class JobApi extends runtime.BaseAPI implements JobApiInterface {
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
let urlPath = `/api/v1/assessments/jobs/{id}`;
|
|
137
|
-
urlPath = urlPath.replace(
|
|
137
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
138
138
|
|
|
139
139
|
return {
|
|
140
140
|
path: urlPath,
|
|
@@ -255,7 +255,7 @@ export class JobApi extends runtime.BaseAPI implements JobApiInterface {
|
|
|
255
255
|
|
|
256
256
|
|
|
257
257
|
let urlPath = `/api/v1/assessments/jobs/{id}`;
|
|
258
|
-
urlPath = urlPath.replace(
|
|
258
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
259
259
|
|
|
260
260
|
return {
|
|
261
261
|
path: urlPath,
|