@openshift-migration-advisor/planner-sdk 0.11.0-7cc84aae7ba0 → 0.11.0-ca05f2d33650
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 +4 -0
- package/README.md +8 -3
- package/dist/apis/AccountApi.d.ts +1 -1
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/AssessmentApi.d.ts +107 -2
- package/dist/apis/AssessmentApi.js +124 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/apis/PartnerApi.d.ts +1 -1
- package/dist/apis/PartnerApi.js +1 -1
- package/dist/apis/SourceApi.d.ts +1 -1
- package/dist/apis/SourceApi.js +1 -1
- package/dist/esm/apis/AccountApi.d.ts +1 -1
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +107 -2
- package/dist/esm/apis/AssessmentApi.js +125 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/apis/PartnerApi.d.ts +1 -1
- package/dist/esm/apis/PartnerApi.js +1 -1
- package/dist/esm/apis/SourceApi.d.ts +1 -1
- package/dist/esm/apis/SourceApi.js +1 -1
- 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 +1 -1
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupCreate.d.ts +1 -1
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/GroupUpdate.d.ts +1 -1
- package/dist/esm/models/GroupUpdate.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -1
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Identity.d.ts +1 -1
- package/dist/esm/models/Identity.js +1 -1
- 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 +1 -1
- package/dist/esm/models/Member.js +1 -1
- package/dist/esm/models/MemberCreate.d.ts +1 -1
- package/dist/esm/models/MemberCreate.js +1 -1
- package/dist/esm/models/MemberUpdate.d.ts +1 -1
- package/dist/esm/models/MemberUpdate.js +1 -1
- 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 +1 -1
- package/dist/esm/models/MigrationEstimationRequest.js +1 -1
- package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationResponse.js +1 -1
- 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 +10 -3
- package/dist/esm/models/PartnerRequest.js +9 -4
- package/dist/esm/models/PartnerRequestCreate.d.ts +1 -1
- package/dist/esm/models/PartnerRequestCreate.js +1 -1
- package/dist/esm/models/PartnerRequestStatus.d.ts +1 -1
- package/dist/esm/models/PartnerRequestStatus.js +1 -1
- package/dist/esm/models/PartnerRequestUpdate.d.ts +1 -1
- package/dist/esm/models/PartnerRequestUpdate.js +1 -1
- package/dist/esm/models/PartnerSummary.d.ts +50 -0
- package/dist/esm/models/PartnerSummary.js +55 -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 +10 -1
- package/dist/esm/models/VMs.js +3 -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 +2 -0
- package/dist/esm/models/index.js +2 -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 +1 -1
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupCreate.d.ts +1 -1
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/GroupUpdate.d.ts +1 -1
- package/dist/models/GroupUpdate.js +1 -1
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -1
- package/dist/models/Host.js +1 -1
- package/dist/models/Identity.d.ts +1 -1
- package/dist/models/Identity.js +1 -1
- 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 +1 -1
- package/dist/models/Member.js +1 -1
- package/dist/models/MemberCreate.d.ts +1 -1
- package/dist/models/MemberCreate.js +1 -1
- package/dist/models/MemberUpdate.d.ts +1 -1
- package/dist/models/MemberUpdate.js +1 -1
- 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 +1 -1
- package/dist/models/MigrationEstimationRequest.js +1 -1
- package/dist/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationResponse.js +1 -1
- 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 +10 -3
- package/dist/models/PartnerRequest.js +9 -4
- package/dist/models/PartnerRequestCreate.d.ts +1 -1
- package/dist/models/PartnerRequestCreate.js +1 -1
- package/dist/models/PartnerRequestStatus.d.ts +1 -1
- package/dist/models/PartnerRequestStatus.js +1 -1
- package/dist/models/PartnerRequestUpdate.d.ts +1 -1
- package/dist/models/PartnerRequestUpdate.js +1 -1
- package/dist/models/PartnerSummary.d.ts +50 -0
- package/dist/models/PartnerSummary.js +62 -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 +10 -1
- package/dist/models/VMs.js +3 -1
- package/dist/models/VmNetwork.d.ts +1 -1
- package/dist/models/VmNetwork.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/AssessmentApi.md +222 -0
- package/docs/ClusterRequirementsStoredInput.md +55 -0
- package/docs/PartnerRequest.md +4 -2
- package/docs/PartnerSummary.md +40 -0
- package/docs/SourceApi.md +1 -1
- package/docs/VMs.md +2 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +1 -1
- package/src/apis/AssessmentApi.ts +234 -1
- package/src/apis/HealthApi.ts +1 -1
- package/src/apis/ImageApi.ts +1 -1
- package/src/apis/InfoApi.ts +1 -1
- package/src/apis/JobApi.ts +1 -1
- package/src/apis/PartnerApi.ts +1 -1
- package/src/apis/SourceApi.ts +1 -1
- 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 +1 -1
- package/src/models/GroupCreate.ts +1 -1
- package/src/models/GroupUpdate.ts +1 -1
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Identity.ts +1 -1
- 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 +1 -1
- package/src/models/MemberCreate.ts +1 -1
- package/src/models/MemberUpdate.ts +1 -1
- 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 +1 -1
- package/src/models/MigrationEstimationResponse.ts +1 -1
- 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 +22 -6
- package/src/models/PartnerRequestCreate.ts +1 -1
- package/src/models/PartnerRequestStatus.ts +1 -1
- package/src/models/PartnerRequestUpdate.ts +1 -1
- package/src/models/PartnerSummary.ts +93 -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 +10 -1
- package/src/models/VmNetwork.ts +1 -1
- package/src/models/index.ts +2 -0
- package/src/runtime.ts +1 -1
package/docs/VMs.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type
|
|
|
12
12
|
`totalWithSharedDisks` | number
|
|
13
13
|
`cpuCores` | [VMResourceBreakdown](VMResourceBreakdown.md)
|
|
14
14
|
`diskSizeTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
15
|
+
`diskComplexityTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
15
16
|
`diskTypes` | [{ [key: string]: DiskTypeSummary; }](DiskTypeSummary.md)
|
|
16
17
|
`distributionByCpuTier` | { [key: string]: number; }
|
|
17
18
|
`distributionByMemoryTier` | { [key: string]: number; }
|
|
@@ -41,6 +42,7 @@ const example = {
|
|
|
41
42
|
"totalWithSharedDisks": null,
|
|
42
43
|
"cpuCores": null,
|
|
43
44
|
"diskSizeTier": null,
|
|
45
|
+
"diskComplexityTier": null,
|
|
44
46
|
"diskTypes": null,
|
|
45
47
|
"distributionByCpuTier": null,
|
|
46
48
|
"distributionByMemoryTier": null,
|
package/package.json
CHANGED
package/src/apis/AccountApi.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).
|
|
@@ -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,13 @@ 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,
|
|
29
|
+
Status,
|
|
28
30
|
} from '../models/index.js';
|
|
29
31
|
import {
|
|
30
32
|
AssessmentFromJSON,
|
|
@@ -37,6 +39,8 @@ import {
|
|
|
37
39
|
ClusterRequirementsRequestToJSON,
|
|
38
40
|
ClusterRequirementsResponseFromJSON,
|
|
39
41
|
ClusterRequirementsResponseToJSON,
|
|
42
|
+
ClusterRequirementsStoredInputFromJSON,
|
|
43
|
+
ClusterRequirementsStoredInputToJSON,
|
|
40
44
|
MigrationComplexityRequestFromJSON,
|
|
41
45
|
MigrationComplexityRequestToJSON,
|
|
42
46
|
MigrationComplexityResponseFromJSON,
|
|
@@ -47,6 +51,8 @@ import {
|
|
|
47
51
|
MigrationEstimationRequestToJSON,
|
|
48
52
|
MigrationEstimationResponseFromJSON,
|
|
49
53
|
MigrationEstimationResponseToJSON,
|
|
54
|
+
StatusFromJSON,
|
|
55
|
+
StatusToJSON,
|
|
50
56
|
} from '../models/index.js';
|
|
51
57
|
|
|
52
58
|
export interface CalculateAssessmentClusterRequirementsRequest {
|
|
@@ -81,10 +87,23 @@ export interface GetAssessmentRequest {
|
|
|
81
87
|
id: string;
|
|
82
88
|
}
|
|
83
89
|
|
|
90
|
+
export interface GetAssessmentClusterRequirementsStoredInputRequest {
|
|
91
|
+
id: string;
|
|
92
|
+
clusterId: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
84
95
|
export interface ListAssessmentsRequest {
|
|
85
96
|
sourceId?: string;
|
|
86
97
|
}
|
|
87
98
|
|
|
99
|
+
export interface ShareAssessmentRequest {
|
|
100
|
+
id: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface UnshareAssessmentRequest {
|
|
104
|
+
id: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
88
107
|
export interface UpdateAssessmentRequest {
|
|
89
108
|
id: string;
|
|
90
109
|
assessmentUpdate: AssessmentUpdate;
|
|
@@ -259,6 +278,30 @@ export interface AssessmentApiInterface {
|
|
|
259
278
|
*/
|
|
260
279
|
getAssessment(requestParameters: GetAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Assessment>;
|
|
261
280
|
|
|
281
|
+
/**
|
|
282
|
+
* Creates request options for getAssessmentClusterRequirementsStoredInput without sending the request
|
|
283
|
+
* @param {string} id ID of the assessment
|
|
284
|
+
* @param {string} clusterId ID of the VMware cluster
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
* @memberof AssessmentApiInterface
|
|
287
|
+
*/
|
|
288
|
+
getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest): Promise<runtime.RequestOpts>;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
292
|
+
* @param {string} id ID of the assessment
|
|
293
|
+
* @param {string} clusterId ID of the VMware cluster
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
* @memberof AssessmentApiInterface
|
|
297
|
+
*/
|
|
298
|
+
getAssessmentClusterRequirementsStoredInputRaw(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsStoredInput>>;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
302
|
+
*/
|
|
303
|
+
getAssessmentClusterRequirementsStoredInput(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsStoredInput>;
|
|
304
|
+
|
|
262
305
|
/**
|
|
263
306
|
* Creates request options for listAssessments without sending the request
|
|
264
307
|
* @param {string} [sourceId] Filter assessments by source ID
|
|
@@ -281,6 +324,50 @@ export interface AssessmentApiInterface {
|
|
|
281
324
|
*/
|
|
282
325
|
listAssessments(requestParameters: ListAssessmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Assessment>>;
|
|
283
326
|
|
|
327
|
+
/**
|
|
328
|
+
* Creates request options for shareAssessment without sending the request
|
|
329
|
+
* @param {string} id ID of the assessment
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
* @memberof AssessmentApiInterface
|
|
332
|
+
*/
|
|
333
|
+
shareAssessmentRequestOpts(requestParameters: ShareAssessmentRequest): Promise<runtime.RequestOpts>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Share an assessment with the user\'s partner organization
|
|
337
|
+
* @param {string} id ID of the assessment
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
* @memberof AssessmentApiInterface
|
|
341
|
+
*/
|
|
342
|
+
shareAssessmentRaw(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>>;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Share an assessment with the user\'s partner organization
|
|
346
|
+
*/
|
|
347
|
+
shareAssessment(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status>;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Creates request options for unshareAssessment without sending the request
|
|
351
|
+
* @param {string} id ID of the assessment
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
* @memberof AssessmentApiInterface
|
|
354
|
+
*/
|
|
355
|
+
unshareAssessmentRequestOpts(requestParameters: UnshareAssessmentRequest): Promise<runtime.RequestOpts>;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Unshare an assessment from the user\'s partner organization
|
|
359
|
+
* @param {string} id ID of the assessment
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof AssessmentApiInterface
|
|
363
|
+
*/
|
|
364
|
+
unshareAssessmentRaw(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>>;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Unshare an assessment from the user\'s partner organization
|
|
368
|
+
*/
|
|
369
|
+
unshareAssessment(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status>;
|
|
370
|
+
|
|
284
371
|
/**
|
|
285
372
|
* Creates request options for updateAssessment without sending the request
|
|
286
373
|
* @param {string} id ID of the assessment
|
|
@@ -669,6 +756,62 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
669
756
|
return await response.value();
|
|
670
757
|
}
|
|
671
758
|
|
|
759
|
+
/**
|
|
760
|
+
* Creates request options for getAssessmentClusterRequirementsStoredInput without sending the request
|
|
761
|
+
*/
|
|
762
|
+
async getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest): Promise<runtime.RequestOpts> {
|
|
763
|
+
if (requestParameters['id'] == null) {
|
|
764
|
+
throw new runtime.RequiredError(
|
|
765
|
+
'id',
|
|
766
|
+
'Required parameter "id" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().'
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
if (requestParameters['clusterId'] == null) {
|
|
771
|
+
throw new runtime.RequiredError(
|
|
772
|
+
'clusterId',
|
|
773
|
+
'Required parameter "clusterId" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().'
|
|
774
|
+
);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
const queryParameters: any = {};
|
|
778
|
+
|
|
779
|
+
if (requestParameters['clusterId'] != null) {
|
|
780
|
+
queryParameters['clusterId'] = requestParameters['clusterId'];
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
let urlPath = `/api/v1/assessments/{id}/cluster-requirements/stored-input`;
|
|
787
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
788
|
+
|
|
789
|
+
return {
|
|
790
|
+
path: urlPath,
|
|
791
|
+
method: 'GET',
|
|
792
|
+
headers: headerParameters,
|
|
793
|
+
query: queryParameters,
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
799
|
+
*/
|
|
800
|
+
async getAssessmentClusterRequirementsStoredInputRaw(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsStoredInput>> {
|
|
801
|
+
const requestOptions = await this.getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters);
|
|
802
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
803
|
+
|
|
804
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ClusterRequirementsStoredInputFromJSON(jsonValue));
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
809
|
+
*/
|
|
810
|
+
async getAssessmentClusterRequirementsStoredInput(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsStoredInput> {
|
|
811
|
+
const response = await this.getAssessmentClusterRequirementsStoredInputRaw(requestParameters, initOverrides);
|
|
812
|
+
return await response.value();
|
|
813
|
+
}
|
|
814
|
+
|
|
672
815
|
/**
|
|
673
816
|
* Creates request options for listAssessments without sending the request
|
|
674
817
|
*/
|
|
@@ -710,6 +853,96 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
710
853
|
return await response.value();
|
|
711
854
|
}
|
|
712
855
|
|
|
856
|
+
/**
|
|
857
|
+
* Creates request options for shareAssessment without sending the request
|
|
858
|
+
*/
|
|
859
|
+
async shareAssessmentRequestOpts(requestParameters: ShareAssessmentRequest): Promise<runtime.RequestOpts> {
|
|
860
|
+
if (requestParameters['id'] == null) {
|
|
861
|
+
throw new runtime.RequiredError(
|
|
862
|
+
'id',
|
|
863
|
+
'Required parameter "id" was null or undefined when calling shareAssessment().'
|
|
864
|
+
);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
const queryParameters: any = {};
|
|
868
|
+
|
|
869
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
let urlPath = `/api/v1/assessments/{id}/share`;
|
|
873
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
874
|
+
|
|
875
|
+
return {
|
|
876
|
+
path: urlPath,
|
|
877
|
+
method: 'POST',
|
|
878
|
+
headers: headerParameters,
|
|
879
|
+
query: queryParameters,
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Share an assessment with the user\'s partner organization
|
|
885
|
+
*/
|
|
886
|
+
async shareAssessmentRaw(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>> {
|
|
887
|
+
const requestOptions = await this.shareAssessmentRequestOpts(requestParameters);
|
|
888
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
889
|
+
|
|
890
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusFromJSON(jsonValue));
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Share an assessment with the user\'s partner organization
|
|
895
|
+
*/
|
|
896
|
+
async shareAssessment(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status> {
|
|
897
|
+
const response = await this.shareAssessmentRaw(requestParameters, initOverrides);
|
|
898
|
+
return await response.value();
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Creates request options for unshareAssessment without sending the request
|
|
903
|
+
*/
|
|
904
|
+
async unshareAssessmentRequestOpts(requestParameters: UnshareAssessmentRequest): Promise<runtime.RequestOpts> {
|
|
905
|
+
if (requestParameters['id'] == null) {
|
|
906
|
+
throw new runtime.RequiredError(
|
|
907
|
+
'id',
|
|
908
|
+
'Required parameter "id" was null or undefined when calling unshareAssessment().'
|
|
909
|
+
);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
const queryParameters: any = {};
|
|
913
|
+
|
|
914
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
let urlPath = `/api/v1/assessments/{id}/share`;
|
|
918
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
919
|
+
|
|
920
|
+
return {
|
|
921
|
+
path: urlPath,
|
|
922
|
+
method: 'DELETE',
|
|
923
|
+
headers: headerParameters,
|
|
924
|
+
query: queryParameters,
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Unshare an assessment from the user\'s partner organization
|
|
930
|
+
*/
|
|
931
|
+
async unshareAssessmentRaw(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>> {
|
|
932
|
+
const requestOptions = await this.unshareAssessmentRequestOpts(requestParameters);
|
|
933
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
934
|
+
|
|
935
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusFromJSON(jsonValue));
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Unshare an assessment from the user\'s partner organization
|
|
940
|
+
*/
|
|
941
|
+
async unshareAssessment(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status> {
|
|
942
|
+
const response = await this.unshareAssessmentRaw(requestParameters, initOverrides);
|
|
943
|
+
return await response.value();
|
|
944
|
+
}
|
|
945
|
+
|
|
713
946
|
/**
|
|
714
947
|
* Creates request options for updateAssessment without sending the request
|
|
715
948
|
*/
|
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).
|
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).
|
package/src/apis/PartnerApi.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/SourceApi.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/models/Agent.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/models/AgentProxy.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/models/Assessment.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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
* Stored cluster requirements payload for a cluster
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ClusterRequirementsStoredInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ClusterRequirementsStoredInput {
|
|
22
|
+
/**
|
|
23
|
+
* ID of the cluster
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ClusterRequirementsStoredInput
|
|
26
|
+
*/
|
|
27
|
+
clusterId: string;
|
|
28
|
+
/**
|
|
29
|
+
* CPU over-commit ratio (e.g., "1:4")
|
|
30
|
+
* @type {ClusterRequirementsStoredInputCpuOverCommitRatioEnum}
|
|
31
|
+
* @memberof ClusterRequirementsStoredInput
|
|
32
|
+
*/
|
|
33
|
+
cpuOverCommitRatio?: ClusterRequirementsStoredInputCpuOverCommitRatioEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Memory over-commit ratio (e.g., "1:2")
|
|
36
|
+
* @type {ClusterRequirementsStoredInputMemoryOverCommitRatioEnum}
|
|
37
|
+
* @memberof ClusterRequirementsStoredInput
|
|
38
|
+
*/
|
|
39
|
+
memoryOverCommitRatio?: ClusterRequirementsStoredInputMemoryOverCommitRatioEnum;
|
|
40
|
+
/**
|
|
41
|
+
* CPU cores per worker node
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ClusterRequirementsStoredInput
|
|
44
|
+
*/
|
|
45
|
+
workerNodeCPU?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Memory (GB) per worker node
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ClusterRequirementsStoredInput
|
|
50
|
+
*/
|
|
51
|
+
workerNodeMemory?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Number of CPU threads per worker node
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ClusterRequirementsStoredInput
|
|
56
|
+
*/
|
|
57
|
+
workerNodeThreads?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Allow workload scheduling on control plane nodes
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof ClusterRequirementsStoredInput
|
|
62
|
+
*/
|
|
63
|
+
controlPlaneSchedulable?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* CPU cores per control plane node
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ClusterRequirementsStoredInput
|
|
68
|
+
*/
|
|
69
|
+
controlPlaneCPU?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Memory in GB per control plane node
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ClusterRequirementsStoredInput
|
|
74
|
+
*/
|
|
75
|
+
controlPlaneMemory?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Number of control plane nodes
|
|
78
|
+
* @type {ClusterRequirementsStoredInputControlPlaneNodeCountEnum}
|
|
79
|
+
* @memberof ClusterRequirementsStoredInput
|
|
80
|
+
*/
|
|
81
|
+
controlPlaneNodeCount?: ClusterRequirementsStoredInputControlPlaneNodeCountEnum;
|
|
82
|
+
/**
|
|
83
|
+
* If true, control plane is hosted externally
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof ClusterRequirementsStoredInput
|
|
86
|
+
*/
|
|
87
|
+
hostedControlPlane?: boolean;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export const ClusterRequirementsStoredInputCpuOverCommitRatioEnum = {
|
|
95
|
+
_11: '1:1',
|
|
96
|
+
_12: '1:2',
|
|
97
|
+
_14: '1:4',
|
|
98
|
+
_16: '1:6'
|
|
99
|
+
} as const;
|
|
100
|
+
export type ClusterRequirementsStoredInputCpuOverCommitRatioEnum = typeof ClusterRequirementsStoredInputCpuOverCommitRatioEnum[keyof typeof ClusterRequirementsStoredInputCpuOverCommitRatioEnum];
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = {
|
|
106
|
+
_11: '1:1',
|
|
107
|
+
_12: '1:2',
|
|
108
|
+
_14: '1:4'
|
|
109
|
+
} as const;
|
|
110
|
+
export type ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = typeof ClusterRequirementsStoredInputMemoryOverCommitRatioEnum[keyof typeof ClusterRequirementsStoredInputMemoryOverCommitRatioEnum];
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export const ClusterRequirementsStoredInputControlPlaneNodeCountEnum = {
|
|
116
|
+
NUMBER_1: 1,
|
|
117
|
+
NUMBER_3: 3
|
|
118
|
+
} as const;
|
|
119
|
+
export type ClusterRequirementsStoredInputControlPlaneNodeCountEnum = typeof ClusterRequirementsStoredInputControlPlaneNodeCountEnum[keyof typeof ClusterRequirementsStoredInputControlPlaneNodeCountEnum];
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Check if a given object implements the ClusterRequirementsStoredInput interface.
|
|
124
|
+
*/
|
|
125
|
+
export function instanceOfClusterRequirementsStoredInput(value: object): value is ClusterRequirementsStoredInput {
|
|
126
|
+
if (!('clusterId' in value) || value['clusterId'] === undefined) return false;
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function ClusterRequirementsStoredInputFromJSON(json: any): ClusterRequirementsStoredInput {
|
|
131
|
+
return ClusterRequirementsStoredInputFromJSONTyped(json, false);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export function ClusterRequirementsStoredInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterRequirementsStoredInput {
|
|
135
|
+
if (json == null) {
|
|
136
|
+
return json;
|
|
137
|
+
}
|
|
138
|
+
return {
|
|
139
|
+
|
|
140
|
+
'clusterId': json['clusterId'],
|
|
141
|
+
'cpuOverCommitRatio': json['cpuOverCommitRatio'] == null ? undefined : json['cpuOverCommitRatio'],
|
|
142
|
+
'memoryOverCommitRatio': json['memoryOverCommitRatio'] == null ? undefined : json['memoryOverCommitRatio'],
|
|
143
|
+
'workerNodeCPU': json['workerNodeCPU'] == null ? undefined : json['workerNodeCPU'],
|
|
144
|
+
'workerNodeMemory': json['workerNodeMemory'] == null ? undefined : json['workerNodeMemory'],
|
|
145
|
+
'workerNodeThreads': json['workerNodeThreads'] == null ? undefined : json['workerNodeThreads'],
|
|
146
|
+
'controlPlaneSchedulable': json['controlPlaneSchedulable'] == null ? undefined : json['controlPlaneSchedulable'],
|
|
147
|
+
'controlPlaneCPU': json['controlPlaneCPU'] == null ? undefined : json['controlPlaneCPU'],
|
|
148
|
+
'controlPlaneMemory': json['controlPlaneMemory'] == null ? undefined : json['controlPlaneMemory'],
|
|
149
|
+
'controlPlaneNodeCount': json['controlPlaneNodeCount'] == null ? undefined : json['controlPlaneNodeCount'],
|
|
150
|
+
'hostedControlPlane': json['hostedControlPlane'] == null ? undefined : json['hostedControlPlane'],
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export function ClusterRequirementsStoredInputToJSON(json: any): ClusterRequirementsStoredInput {
|
|
155
|
+
return ClusterRequirementsStoredInputToJSONTyped(json, false);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export function ClusterRequirementsStoredInputToJSONTyped(value?: ClusterRequirementsStoredInput | null, ignoreDiscriminator: boolean = false): any {
|
|
159
|
+
if (value == null) {
|
|
160
|
+
return value;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
return {
|
|
164
|
+
|
|
165
|
+
'clusterId': value['clusterId'],
|
|
166
|
+
'cpuOverCommitRatio': value['cpuOverCommitRatio'],
|
|
167
|
+
'memoryOverCommitRatio': value['memoryOverCommitRatio'],
|
|
168
|
+
'workerNodeCPU': value['workerNodeCPU'],
|
|
169
|
+
'workerNodeMemory': value['workerNodeMemory'],
|
|
170
|
+
'workerNodeThreads': value['workerNodeThreads'],
|
|
171
|
+
'controlPlaneSchedulable': value['controlPlaneSchedulable'],
|
|
172
|
+
'controlPlaneCPU': value['controlPlaneCPU'],
|
|
173
|
+
'controlPlaneMemory': value['controlPlaneMemory'],
|
|
174
|
+
'controlPlaneNodeCount': value['controlPlaneNodeCount'],
|
|
175
|
+
'hostedControlPlane': value['hostedControlPlane'],
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
@@ -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).
|
|
@@ -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).
|