@openshift-migration-advisor/planner-sdk 0.17.0 → 0.18.0-ca1dcff279a4
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 +26 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +18 -3
- package/dist/apis/AccountApi.d.ts +48 -0
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/AssessmentApi.d.ts +135 -0
- package/dist/apis/AssessmentApi.js +84 -0
- package/dist/apis/ImageApi.d.ts +6 -0
- package/dist/apis/JobApi.d.ts +12 -0
- package/dist/apis/PartnerApi.d.ts +24 -0
- package/dist/apis/SizingApi.d.ts +3 -0
- package/dist/apis/SourceApi.d.ts +21 -0
- package/dist/esm/apis/AccountApi.d.ts +48 -0
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +135 -0
- package/dist/esm/apis/AssessmentApi.js +84 -0
- package/dist/esm/apis/ImageApi.d.ts +6 -0
- package/dist/esm/apis/JobApi.d.ts +12 -0
- package/dist/esm/apis/PartnerApi.d.ts +24 -0
- package/dist/esm/apis/SizingApi.d.ts +3 -0
- package/dist/esm/apis/SourceApi.d.ts +21 -0
- package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
- package/dist/esm/models/Agent.d.ts +0 -14
- package/dist/esm/models/Agent.js +6 -5
- package/dist/esm/models/AgentProxy.d.ts +0 -6
- package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
- package/dist/esm/models/AriaAutomationInput.js +61 -0
- package/dist/esm/models/AriaOpsInput.d.ts +49 -0
- package/dist/esm/models/AriaOpsInput.js +59 -0
- package/dist/esm/models/AriaSecureInput.d.ts +41 -0
- package/dist/esm/models/AriaSecureInput.js +51 -0
- package/dist/esm/models/Assessment.d.ts +0 -20
- package/dist/esm/models/Assessment.js +5 -4
- package/dist/esm/models/AssessmentForm.d.ts +0 -8
- package/dist/esm/models/AssessmentSharing.d.ts +0 -6
- package/dist/esm/models/AssessmentSubsetInventory.d.ts +0 -12
- package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
- package/dist/esm/models/AssessmentUpdate.d.ts +0 -2
- package/dist/esm/models/ClusterFeatures.d.ts +4 -6
- package/dist/esm/models/ClusterFeatures.js +3 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +0 -24
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +0 -12
- package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +0 -24
- package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/esm/models/ClusterSizing.d.ts +0 -18
- package/dist/esm/models/ClusterUtilization.d.ts +0 -14
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +0 -6
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +0 -6
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +0 -4
- package/dist/esm/models/CpuOverCommitRatio.js +1 -1
- package/dist/esm/models/Customer.d.ts +0 -12
- package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/esm/models/CustomerDetailsInput.js +43 -0
- package/dist/esm/models/Datastore.d.ts +5 -18
- package/dist/esm/models/Datastore.js +3 -0
- package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
- package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
- package/dist/esm/models/EnhancementData.d.ts +76 -0
- package/dist/esm/models/EnhancementData.js +69 -0
- package/dist/esm/models/EstimationContext.d.ts +0 -4
- package/dist/esm/models/EstimationDetail.d.ts +0 -8
- package/dist/esm/models/Group.d.ts +0 -16
- package/dist/esm/models/Group.js +6 -5
- package/dist/esm/models/GroupCreate.d.ts +0 -10
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/GroupUpdate.d.ts +0 -8
- package/dist/esm/models/Histogram.d.ts +0 -6
- package/dist/esm/models/Host.d.ts +8 -12
- package/dist/esm/models/Host.js +4 -0
- package/dist/esm/models/Identity.d.ts +0 -8
- package/dist/esm/models/Identity.js +1 -1
- package/dist/esm/models/Info.d.ts +0 -8
- package/dist/esm/models/Infra.d.ts +0 -24
- package/dist/esm/models/Inventory.d.ts +4 -8
- package/dist/esm/models/Inventory.js +3 -1
- package/dist/esm/models/InventoryData.d.ts +0 -10
- package/dist/esm/models/InventoryTotals.d.ts +0 -6
- package/dist/esm/models/Ipv4Config.d.ts +0 -8
- package/dist/esm/models/IssuesBreakdown.d.ts +46 -0
- package/dist/esm/models/IssuesBreakdown.js +59 -0
- package/dist/esm/models/Job.d.ts +0 -8
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +0 -4
- package/dist/esm/models/Member.d.ts +0 -10
- package/dist/esm/models/Member.js +5 -4
- package/dist/esm/models/MemberCreate.d.ts +0 -4
- package/dist/esm/models/MemberUpdate.d.ts +0 -2
- package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
- package/dist/esm/models/MigrationComplexityRequest.d.ts +0 -2
- package/dist/esm/models/MigrationComplexityResponse.d.ts +0 -10
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
- package/dist/esm/models/MigrationEstimationRequest.d.ts +0 -6
- package/dist/esm/models/MigrationEstimationResponse.d.ts +0 -4
- package/dist/esm/models/MigrationIssue.d.ts +0 -8
- package/dist/esm/models/ModelError.d.ts +0 -2
- package/dist/esm/models/Network.d.ts +0 -10
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/NsxInput.d.ts +46 -0
- package/dist/esm/models/NsxInput.js +56 -0
- package/dist/esm/models/OptimizationStatus.d.ts +0 -4
- package/dist/esm/models/OptimizationStatus.js +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +0 -8
- package/dist/esm/models/OsInfo.d.ts +14 -6
- package/dist/esm/models/OsInfo.js +11 -0
- package/dist/esm/models/PartnerRequest.d.ts +0 -26
- package/dist/esm/models/PartnerRequest.js +7 -6
- package/dist/esm/models/PartnerRequestCreate.d.ts +0 -10
- package/dist/esm/models/PartnerRequestStatus.js +1 -1
- package/dist/esm/models/PartnerRequestUpdate.d.ts +0 -4
- package/dist/esm/models/PartnerSummary.d.ts +0 -8
- package/dist/esm/models/PresignedUrl.d.ts +0 -4
- package/dist/esm/models/PresignedUrl.js +3 -2
- package/dist/esm/models/Savings.d.ts +0 -6
- package/dist/esm/models/SchemaEstimationResult.d.ts +0 -6
- package/dist/esm/models/SharingSubject.d.ts +0 -6
- package/dist/esm/models/SizingOverCommitRatio.d.ts +0 -4
- package/dist/esm/models/SizingResourceConsumption.d.ts +0 -8
- package/dist/esm/models/SizingResourceLimits.d.ts +0 -4
- package/dist/esm/models/Snapshot.d.ts +0 -6
- package/dist/esm/models/Snapshot.js +3 -2
- package/dist/esm/models/Source.d.ts +0 -24
- package/dist/esm/models/Source.js +6 -5
- package/dist/esm/models/SourceCreate.d.ts +0 -18
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceInfra.d.ts +0 -6
- package/dist/esm/models/SourceUpdate.d.ts +0 -18
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
- package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
- package/dist/esm/models/Status.d.ts +0 -6
- package/dist/esm/models/StorageIoConfiguration.d.ts +50 -0
- package/dist/esm/models/StorageIoConfiguration.js +54 -0
- package/dist/esm/models/UpdateInventory.d.ts +0 -4
- package/dist/esm/models/VCenter.d.ts +0 -2
- package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/esm/models/VMs.d.ts +5 -44
- package/dist/esm/models/VMs.js +3 -0
- package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
- package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
- package/dist/esm/models/VmNetwork.d.ts +0 -2
- package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
- package/dist/esm/models/VsphereCoreInput.js +45 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/esm/runtime.d.ts +11 -0
- package/dist/esm/runtime.js +47 -1
- package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/models/ActiveEnvironmentsInput.js +59 -0
- package/dist/models/Agent.d.ts +0 -14
- package/dist/models/Agent.js +6 -5
- package/dist/models/AgentProxy.d.ts +0 -6
- package/dist/models/AriaAutomationInput.d.ts +51 -0
- package/dist/models/AriaAutomationInput.js +69 -0
- package/dist/models/AriaOpsInput.d.ts +49 -0
- package/dist/models/AriaOpsInput.js +67 -0
- package/dist/models/AriaSecureInput.d.ts +41 -0
- package/dist/models/AriaSecureInput.js +59 -0
- package/dist/models/Assessment.d.ts +0 -20
- package/dist/models/Assessment.js +5 -4
- package/dist/models/AssessmentForm.d.ts +0 -8
- package/dist/models/AssessmentSharing.d.ts +0 -6
- package/dist/models/AssessmentSubsetInventory.d.ts +0 -12
- package/dist/models/AssessmentSubsetInventory.js +3 -2
- package/dist/models/AssessmentUpdate.d.ts +0 -2
- package/dist/models/ClusterFeatures.d.ts +4 -6
- package/dist/models/ClusterFeatures.js +3 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +0 -24
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsResponse.d.ts +0 -12
- package/dist/models/ClusterRequirementsStoredInput.d.ts +0 -24
- package/dist/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/models/ClusterSizing.d.ts +0 -18
- package/dist/models/ClusterUtilization.d.ts +0 -14
- package/dist/models/ComplexityDiskScoreEntry.d.ts +0 -6
- package/dist/models/ComplexityOSNameEntry.d.ts +0 -6
- package/dist/models/ComplexityOSScoreEntry.d.ts +0 -4
- package/dist/models/CpuOverCommitRatio.js +1 -1
- package/dist/models/Customer.d.ts +0 -12
- package/dist/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/models/CustomerDetailsInput.js +50 -0
- package/dist/models/Datastore.d.ts +5 -18
- package/dist/models/Datastore.js +3 -0
- package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/models/DeployedEnvironmentInput.js +58 -0
- package/dist/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/models/DiskTypeSummary.d.ts +0 -4
- package/dist/models/EnhancementData.d.ts +76 -0
- package/dist/models/EnhancementData.js +76 -0
- package/dist/models/EstimationContext.d.ts +0 -4
- package/dist/models/EstimationDetail.d.ts +0 -8
- package/dist/models/Group.d.ts +0 -16
- package/dist/models/Group.js +6 -5
- package/dist/models/GroupCreate.d.ts +0 -10
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/GroupUpdate.d.ts +0 -8
- package/dist/models/Histogram.d.ts +0 -6
- package/dist/models/Host.d.ts +8 -12
- package/dist/models/Host.js +4 -0
- package/dist/models/Identity.d.ts +0 -8
- package/dist/models/Identity.js +1 -1
- package/dist/models/Info.d.ts +0 -8
- package/dist/models/Infra.d.ts +0 -24
- package/dist/models/Inventory.d.ts +4 -8
- package/dist/models/Inventory.js +2 -0
- package/dist/models/InventoryData.d.ts +0 -10
- package/dist/models/InventoryTotals.d.ts +0 -6
- package/dist/models/Ipv4Config.d.ts +0 -8
- package/dist/models/IssuesBreakdown.d.ts +46 -0
- package/dist/models/IssuesBreakdown.js +66 -0
- package/dist/models/Job.d.ts +0 -8
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +0 -4
- package/dist/models/Member.d.ts +0 -10
- package/dist/models/Member.js +5 -4
- package/dist/models/MemberCreate.d.ts +0 -4
- package/dist/models/MemberUpdate.d.ts +0 -2
- package/dist/models/MemoryOverCommitRatio.js +1 -1
- package/dist/models/MigrationComplexityRequest.d.ts +0 -2
- package/dist/models/MigrationComplexityResponse.d.ts +0 -10
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
- package/dist/models/MigrationEstimationRequest.d.ts +0 -6
- package/dist/models/MigrationEstimationResponse.d.ts +0 -4
- package/dist/models/MigrationIssue.d.ts +0 -8
- package/dist/models/ModelError.d.ts +0 -2
- package/dist/models/Network.d.ts +0 -10
- package/dist/models/Network.js +1 -1
- package/dist/models/NsxInput.d.ts +46 -0
- package/dist/models/NsxInput.js +64 -0
- package/dist/models/OptimizationStatus.d.ts +0 -4
- package/dist/models/OptimizationStatus.js +1 -1
- package/dist/models/OsDiskEstimationEntry.d.ts +0 -8
- package/dist/models/OsInfo.d.ts +14 -6
- package/dist/models/OsInfo.js +12 -0
- package/dist/models/PartnerRequest.d.ts +0 -26
- package/dist/models/PartnerRequest.js +7 -6
- package/dist/models/PartnerRequestCreate.d.ts +0 -10
- package/dist/models/PartnerRequestStatus.js +1 -1
- package/dist/models/PartnerRequestUpdate.d.ts +0 -4
- package/dist/models/PartnerSummary.d.ts +0 -8
- package/dist/models/PresignedUrl.d.ts +0 -4
- package/dist/models/PresignedUrl.js +3 -2
- package/dist/models/Savings.d.ts +0 -6
- package/dist/models/SchemaEstimationResult.d.ts +0 -6
- package/dist/models/SharingSubject.d.ts +0 -6
- package/dist/models/SizingOverCommitRatio.d.ts +0 -4
- package/dist/models/SizingResourceConsumption.d.ts +0 -8
- package/dist/models/SizingResourceLimits.d.ts +0 -4
- package/dist/models/Snapshot.d.ts +0 -6
- package/dist/models/Snapshot.js +3 -2
- package/dist/models/Source.d.ts +0 -24
- package/dist/models/Source.js +6 -5
- package/dist/models/SourceCreate.d.ts +0 -18
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceInfra.d.ts +0 -6
- package/dist/models/SourceUpdate.d.ts +0 -18
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
- package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
- package/dist/models/Status.d.ts +0 -6
- package/dist/models/StorageIoConfiguration.d.ts +50 -0
- package/dist/models/StorageIoConfiguration.js +62 -0
- package/dist/models/UpdateInventory.d.ts +0 -4
- package/dist/models/VCenter.d.ts +0 -2
- package/dist/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/models/VMs.d.ts +5 -44
- package/dist/models/VMs.js +3 -0
- package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/models/VMwareSubscriptionInput.js +60 -0
- package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/models/VMwareVersionCountsInput.js +54 -0
- package/dist/models/VmNetwork.d.ts +0 -2
- package/dist/models/VsphereCoreInput.d.ts +38 -0
- package/dist/models/VsphereCoreInput.js +52 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/runtime.d.ts +11 -0
- package/dist/runtime.js +51 -1
- package/docs/ActiveEnvironmentsInput.md +34 -0
- package/docs/AriaAutomationInput.md +34 -0
- package/docs/AriaOpsInput.md +34 -0
- package/docs/AriaSecureInput.md +34 -0
- package/docs/AssessmentApi.md +148 -0
- package/docs/ClusterFeatures.md +2 -0
- package/docs/CustomerDetailsInput.md +36 -0
- package/docs/Datastore.md +2 -0
- package/docs/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -0
- package/docs/Host.md +4 -0
- package/docs/Inventory.md +2 -0
- package/docs/IssuesBreakdown.md +42 -0
- package/docs/NsxInput.md +34 -0
- package/docs/OsInfo.md +2 -0
- package/docs/StorageIoConfiguration.md +40 -0
- package/docs/VMs.md +2 -0
- package/docs/VMwareSubscriptionInput.md +34 -0
- package/docs/VMwareVersionCountsInput.md +40 -0
- package/docs/VsphereCoreInput.md +38 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +49 -1
- package/src/apis/AssessmentApi.ts +223 -0
- package/src/apis/ImageApi.ts +6 -0
- package/src/apis/JobApi.ts +12 -0
- package/src/apis/PartnerApi.ts +24 -0
- package/src/apis/SizingApi.ts +3 -0
- package/src/apis/SourceApi.ts +21 -0
- package/src/models/ActiveEnvironmentsInput.ts +77 -0
- package/src/models/Agent.ts +6 -20
- package/src/models/AgentProxy.ts +0 -6
- package/src/models/AriaAutomationInput.ts +87 -0
- package/src/models/AriaOpsInput.ts +85 -0
- package/src/models/AriaSecureInput.ts +77 -0
- package/src/models/Assessment.ts +5 -25
- package/src/models/AssessmentForm.ts +0 -8
- package/src/models/AssessmentSharing.ts +0 -6
- package/src/models/AssessmentSubsetInventory.ts +3 -15
- package/src/models/AssessmentUpdate.ts +0 -2
- package/src/models/ClusterFeatures.ts +7 -7
- package/src/models/ClusterRequirementsRequest.ts +1 -25
- package/src/models/ClusterRequirementsResponse.ts +0 -12
- package/src/models/ClusterRequirementsStoredInput.ts +3 -27
- package/src/models/ClusterSizing.ts +0 -18
- package/src/models/ClusterUtilization.ts +0 -14
- package/src/models/ComplexityDiskScoreEntry.ts +0 -6
- package/src/models/ComplexityOSNameEntry.ts +0 -6
- package/src/models/ComplexityOSScoreEntry.ts +0 -4
- package/src/models/CpuOverCommitRatio.ts +1 -1
- package/src/models/Customer.ts +0 -12
- package/src/models/CustomerDetailsInput.ts +69 -0
- package/src/models/Datastore.ts +14 -18
- package/src/models/DeployedEnvironmentInput.ts +76 -0
- package/src/models/DiskSizeTierSummary.ts +0 -4
- package/src/models/DiskTypeSummary.ts +0 -4
- package/src/models/EnhancementData.ts +188 -0
- package/src/models/EstimationContext.ts +0 -4
- package/src/models/EstimationDetail.ts +0 -8
- package/src/models/Group.ts +6 -22
- package/src/models/GroupCreate.ts +1 -11
- package/src/models/GroupUpdate.ts +0 -8
- package/src/models/Histogram.ts +0 -6
- package/src/models/Host.ts +12 -12
- package/src/models/Identity.ts +1 -9
- package/src/models/Info.ts +0 -8
- package/src/models/Infra.ts +0 -24
- package/src/models/Inventory.ts +7 -9
- package/src/models/InventoryData.ts +0 -10
- package/src/models/InventoryTotals.ts +0 -6
- package/src/models/Ipv4Config.ts +0 -8
- package/src/models/IssuesBreakdown.ts +92 -0
- package/src/models/Job.ts +0 -8
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +0 -4
- package/src/models/Member.ts +5 -15
- package/src/models/MemberCreate.ts +0 -4
- package/src/models/MemberUpdate.ts +0 -2
- package/src/models/MemoryOverCommitRatio.ts +1 -1
- package/src/models/MigrationComplexityRequest.ts +0 -2
- package/src/models/MigrationComplexityResponse.ts +0 -10
- package/src/models/MigrationEstimationByComplexityResponse.ts +0 -6
- package/src/models/MigrationEstimationRequest.ts +0 -6
- package/src/models/MigrationEstimationResponse.ts +0 -4
- package/src/models/MigrationIssue.ts +0 -8
- package/src/models/ModelError.ts +0 -2
- package/src/models/Network.ts +1 -11
- package/src/models/NsxInput.ts +82 -0
- package/src/models/OptimizationStatus.ts +1 -5
- package/src/models/OsDiskEstimationEntry.ts +0 -8
- package/src/models/OsInfo.ts +19 -6
- package/src/models/PartnerRequest.ts +7 -33
- package/src/models/PartnerRequestCreate.ts +0 -10
- package/src/models/PartnerRequestStatus.ts +1 -1
- package/src/models/PartnerRequestUpdate.ts +0 -4
- package/src/models/PartnerSummary.ts +0 -8
- package/src/models/PresignedUrl.ts +3 -7
- package/src/models/Savings.ts +0 -6
- package/src/models/SchemaEstimationResult.ts +0 -6
- package/src/models/SharingSubject.ts +0 -6
- package/src/models/SizingOverCommitRatio.ts +0 -4
- package/src/models/SizingResourceConsumption.ts +0 -8
- package/src/models/SizingResourceLimits.ts +0 -4
- package/src/models/Snapshot.ts +3 -9
- package/src/models/Source.ts +6 -30
- package/src/models/SourceCreate.ts +1 -19
- package/src/models/SourceInfra.ts +0 -6
- package/src/models/SourceUpdate.ts +1 -19
- package/src/models/StandaloneClusterRequirementsRequest.ts +1 -29
- package/src/models/StandaloneClusterRequirementsResponse.ts +0 -4
- package/src/models/Status.ts +0 -6
- package/src/models/StorageIoConfiguration.ts +92 -0
- package/src/models/UpdateInventory.ts +0 -4
- package/src/models/VCenter.ts +0 -2
- package/src/models/VMResourceBreakdown.ts +0 -10
- package/src/models/VMs.ts +13 -44
- package/src/models/VMwareSubscriptionInput.ts +78 -0
- package/src/models/VMwareVersionCountsInput.ts +81 -0
- package/src/models/VmNetwork.ts +0 -2
- package/src/models/VsphereCoreInput.ts +75 -0
- package/src/models/index.ts +13 -0
- package/src/runtime.ts +52 -1
package/dist/esm/models/VMs.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MigrationIssue } from './MigrationIssue.js';
|
|
13
13
|
import type { OsInfo } from './OsInfo.js';
|
|
14
|
+
import type { IssuesBreakdown } from './IssuesBreakdown.js';
|
|
14
15
|
import type { DiskSizeTierSummary } from './DiskSizeTierSummary.js';
|
|
15
16
|
import type { DiskTypeSummary } from './DiskTypeSummary.js';
|
|
16
17
|
import type { VMResourceBreakdown } from './VMResourceBreakdown.js';
|
|
@@ -22,38 +23,26 @@ import type { VMResourceBreakdown } from './VMResourceBreakdown.js';
|
|
|
22
23
|
export interface VMs {
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof VMs
|
|
27
26
|
*/
|
|
28
27
|
total: number;
|
|
29
28
|
/**
|
|
30
29
|
*
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof VMs
|
|
33
30
|
*/
|
|
34
31
|
totalMigratable: number;
|
|
35
32
|
/**
|
|
36
33
|
*
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof VMs
|
|
39
34
|
*/
|
|
40
35
|
totalMigratableWithWarnings?: number;
|
|
41
36
|
/**
|
|
42
37
|
* Number of VMs that have at least one shared disk
|
|
43
|
-
* @type {number}
|
|
44
|
-
* @memberof VMs
|
|
45
38
|
*/
|
|
46
39
|
totalWithSharedDisks?: number;
|
|
47
40
|
/**
|
|
48
41
|
*
|
|
49
|
-
* @type {VMResourceBreakdown}
|
|
50
|
-
* @memberof VMs
|
|
51
42
|
*/
|
|
52
43
|
cpuCores: VMResourceBreakdown;
|
|
53
44
|
/**
|
|
54
45
|
*
|
|
55
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
56
|
-
* @memberof VMs
|
|
57
46
|
*/
|
|
58
47
|
diskSizeTier?: {
|
|
59
48
|
[key: string]: DiskSizeTierSummary;
|
|
@@ -61,48 +50,36 @@ export interface VMs {
|
|
|
61
50
|
/**
|
|
62
51
|
* Distribution of VMs across disk-complexity tiers used by the estimation engine (0-10TiB, 10-20TiB, 20-50TiB, 50+TiB).
|
|
63
52
|
*
|
|
64
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
65
|
-
* @memberof VMs
|
|
66
53
|
*/
|
|
67
54
|
diskComplexityTier?: {
|
|
68
55
|
[key: string]: DiskSizeTierSummary;
|
|
69
56
|
};
|
|
70
57
|
/**
|
|
71
58
|
*
|
|
72
|
-
* @type {{ [key: string]: DiskTypeSummary; }}
|
|
73
|
-
* @memberof VMs
|
|
74
59
|
*/
|
|
75
60
|
diskTypes?: {
|
|
76
61
|
[key: string]: DiskTypeSummary;
|
|
77
62
|
};
|
|
78
63
|
/**
|
|
79
64
|
* Distribution of VMs across CPU tier buckets (e.g., "0-4", "5-8", "9-16", "17-32", "32+")
|
|
80
|
-
* @type {{ [key: string]: number; }}
|
|
81
|
-
* @memberof VMs
|
|
82
65
|
*/
|
|
83
66
|
distributionByCpuTier?: {
|
|
84
67
|
[key: string]: number;
|
|
85
68
|
};
|
|
86
69
|
/**
|
|
87
70
|
* Distribution of VMs across Memory tier buckets (e.g., "0-4", "5-16", "17-32", "33-64", "65-128", "129-256", "256+")
|
|
88
|
-
* @type {{ [key: string]: number; }}
|
|
89
|
-
* @memberof VMs
|
|
90
71
|
*/
|
|
91
72
|
distributionByMemoryTier?: {
|
|
92
73
|
[key: string]: number;
|
|
93
74
|
};
|
|
94
75
|
/**
|
|
95
76
|
* Distribution of VMs by NIC count (e.g., "0", "1", "2", "3", "4+")
|
|
96
|
-
* @type {{ [key: string]: number; }}
|
|
97
|
-
* @memberof VMs
|
|
98
77
|
*/
|
|
99
78
|
distributionByNicCount?: {
|
|
100
79
|
[key: string]: number;
|
|
101
80
|
};
|
|
102
81
|
/**
|
|
103
82
|
* Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
|
|
104
|
-
* @type {{ [key: string]: number; }}
|
|
105
|
-
* @memberof VMs
|
|
106
83
|
* @deprecated
|
|
107
84
|
*/
|
|
108
85
|
distributionByComplexity?: {
|
|
@@ -110,48 +87,34 @@ export interface VMs {
|
|
|
110
87
|
};
|
|
111
88
|
/**
|
|
112
89
|
* Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
|
|
113
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
114
|
-
* @memberof VMs
|
|
115
90
|
*/
|
|
116
91
|
complexityDistribution?: {
|
|
117
92
|
[key: string]: DiskSizeTierSummary;
|
|
118
93
|
};
|
|
119
94
|
/**
|
|
120
95
|
*
|
|
121
|
-
* @type {VMResourceBreakdown}
|
|
122
|
-
* @memberof VMs
|
|
123
96
|
*/
|
|
124
97
|
ramGB: VMResourceBreakdown;
|
|
125
98
|
/**
|
|
126
99
|
*
|
|
127
|
-
* @type {VMResourceBreakdown}
|
|
128
|
-
* @memberof VMs
|
|
129
100
|
*/
|
|
130
101
|
diskGB: VMResourceBreakdown;
|
|
131
102
|
/**
|
|
132
103
|
*
|
|
133
|
-
* @type {VMResourceBreakdown}
|
|
134
|
-
* @memberof VMs
|
|
135
104
|
*/
|
|
136
105
|
diskCount: VMResourceBreakdown;
|
|
137
106
|
/**
|
|
138
107
|
*
|
|
139
|
-
* @type {VMResourceBreakdown}
|
|
140
|
-
* @memberof VMs
|
|
141
108
|
*/
|
|
142
109
|
nicCount?: VMResourceBreakdown;
|
|
143
110
|
/**
|
|
144
111
|
*
|
|
145
|
-
* @type {{ [key: string]: number; }}
|
|
146
|
-
* @memberof VMs
|
|
147
112
|
*/
|
|
148
113
|
powerStates: {
|
|
149
114
|
[key: string]: number;
|
|
150
115
|
};
|
|
151
116
|
/**
|
|
152
117
|
*
|
|
153
|
-
* @type {{ [key: string]: number; }}
|
|
154
|
-
* @memberof VMs
|
|
155
118
|
* @deprecated
|
|
156
119
|
*/
|
|
157
120
|
os?: {
|
|
@@ -159,24 +122,22 @@ export interface VMs {
|
|
|
159
122
|
};
|
|
160
123
|
/**
|
|
161
124
|
*
|
|
162
|
-
* @type {{ [key: string]: OsInfo; }}
|
|
163
|
-
* @memberof VMs
|
|
164
125
|
*/
|
|
165
126
|
osInfo?: {
|
|
166
127
|
[key: string]: OsInfo;
|
|
167
128
|
};
|
|
168
129
|
/**
|
|
169
130
|
*
|
|
170
|
-
* @type {Array<MigrationIssue>}
|
|
171
|
-
* @memberof VMs
|
|
172
131
|
*/
|
|
173
132
|
notMigratableReasons: Array<MigrationIssue>;
|
|
174
133
|
/**
|
|
175
134
|
*
|
|
176
|
-
* @type {Array<MigrationIssue>}
|
|
177
|
-
* @memberof VMs
|
|
178
135
|
*/
|
|
179
136
|
migrationWarnings: Array<MigrationIssue>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
issuesBreakdown?: IssuesBreakdown;
|
|
180
141
|
}
|
|
181
142
|
/**
|
|
182
143
|
* Check if a given object implements the VMs interface.
|
package/dist/esm/models/VMs.js
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { mapValues } from '../runtime.js';
|
|
15
15
|
import { MigrationIssueFromJSON, MigrationIssueToJSON, } from './MigrationIssue.js';
|
|
16
16
|
import { OsInfoFromJSON, OsInfoToJSON, } from './OsInfo.js';
|
|
17
|
+
import { IssuesBreakdownFromJSON, IssuesBreakdownToJSON, } from './IssuesBreakdown.js';
|
|
17
18
|
import { DiskSizeTierSummaryFromJSON, DiskSizeTierSummaryToJSON, } from './DiskSizeTierSummary.js';
|
|
18
19
|
import { DiskTypeSummaryFromJSON, DiskTypeSummaryToJSON, } from './DiskTypeSummary.js';
|
|
19
20
|
import { VMResourceBreakdownFromJSON, VMResourceBreakdownToJSON, } from './VMResourceBreakdown.js';
|
|
@@ -71,6 +72,7 @@ export function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
72
|
'osInfo': json['osInfo'] == null ? undefined : (mapValues(json['osInfo'], OsInfoFromJSON)),
|
|
72
73
|
'notMigratableReasons': (json['notMigratableReasons'].map(MigrationIssueFromJSON)),
|
|
73
74
|
'migrationWarnings': (json['migrationWarnings'].map(MigrationIssueFromJSON)),
|
|
75
|
+
'issuesBreakdown': json['issuesBreakdown'] == null ? undefined : IssuesBreakdownFromJSON(json['issuesBreakdown']),
|
|
74
76
|
};
|
|
75
77
|
}
|
|
76
78
|
export function VMsToJSON(json) {
|
|
@@ -103,5 +105,6 @@ export function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
103
105
|
'osInfo': value['osInfo'] == null ? undefined : (mapValues(value['osInfo'], OsInfoToJSON)),
|
|
104
106
|
'notMigratableReasons': (value['notMigratableReasons'].map(MigrationIssueToJSON)),
|
|
105
107
|
'migrationWarnings': (value['migrationWarnings'].map(MigrationIssueToJSON)),
|
|
108
|
+
'issuesBreakdown': IssuesBreakdownToJSON(value['issuesBreakdown']),
|
|
106
109
|
};
|
|
107
110
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VMwareSubscriptionInput
|
|
16
|
+
*/
|
|
17
|
+
export interface VMwareSubscriptionInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
level?: Set<VMwareSubscriptionInputLevelEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const VMwareSubscriptionInputLevelEnum: {
|
|
27
|
+
readonly Vcf: "vcf";
|
|
28
|
+
readonly Vvf: "vvf";
|
|
29
|
+
readonly Vvs: "vvs";
|
|
30
|
+
readonly Vvep: "vvep";
|
|
31
|
+
readonly Vsphere: "vsphere";
|
|
32
|
+
readonly NotAssessed: "not_assessed";
|
|
33
|
+
};
|
|
34
|
+
export type VMwareSubscriptionInputLevelEnum = typeof VMwareSubscriptionInputLevelEnum[keyof typeof VMwareSubscriptionInputLevelEnum];
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the VMwareSubscriptionInput interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfVMwareSubscriptionInput(value: object): value is VMwareSubscriptionInput;
|
|
39
|
+
export declare function VMwareSubscriptionInputFromJSON(json: any): VMwareSubscriptionInput;
|
|
40
|
+
export declare function VMwareSubscriptionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMwareSubscriptionInput;
|
|
41
|
+
export declare function VMwareSubscriptionInputToJSON(json: any): VMwareSubscriptionInput;
|
|
42
|
+
export declare function VMwareSubscriptionInputToJSONTyped(value?: VMwareSubscriptionInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const VMwareSubscriptionInputLevelEnum = {
|
|
18
|
+
Vcf: 'vcf',
|
|
19
|
+
Vvf: 'vvf',
|
|
20
|
+
Vvs: 'vvs',
|
|
21
|
+
Vvep: 'vvep',
|
|
22
|
+
Vsphere: 'vsphere',
|
|
23
|
+
NotAssessed: 'not_assessed',
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the VMwareSubscriptionInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfVMwareSubscriptionInput(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function VMwareSubscriptionInputFromJSON(json) {
|
|
32
|
+
return VMwareSubscriptionInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function VMwareSubscriptionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'level': json['level'] == null ? undefined : new Set(json['level']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function VMwareSubscriptionInputToJSON(json) {
|
|
43
|
+
return VMwareSubscriptionInputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function VMwareSubscriptionInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'level': value['level'] == null ? undefined : Array.from(value['level']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VMwareVersionCountsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface VMwareVersionCountsInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
perpetualLicensesCount?: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
coresLicensingCount?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
environmentCount?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
otherNodesCount?: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the VMwareVersionCountsInput interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfVMwareVersionCountsInput(value: object): value is VMwareVersionCountsInput;
|
|
39
|
+
export declare function VMwareVersionCountsInputFromJSON(json: any): VMwareVersionCountsInput;
|
|
40
|
+
export declare function VMwareVersionCountsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMwareVersionCountsInput;
|
|
41
|
+
export declare function VMwareVersionCountsInputToJSON(json: any): VMwareVersionCountsInput;
|
|
42
|
+
export declare function VMwareVersionCountsInputToJSONTyped(value?: VMwareVersionCountsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* Check if a given object implements the VMwareVersionCountsInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVMwareVersionCountsInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function VMwareVersionCountsInputFromJSON(json) {
|
|
21
|
+
return VMwareVersionCountsInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function VMwareVersionCountsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'perpetualLicensesCount': json['perpetualLicensesCount'] == null ? undefined : json['perpetualLicensesCount'],
|
|
29
|
+
'coresLicensingCount': json['coresLicensingCount'] == null ? undefined : json['coresLicensingCount'],
|
|
30
|
+
'environmentCount': json['environmentCount'] == null ? undefined : json['environmentCount'],
|
|
31
|
+
'otherNodesCount': json['otherNodesCount'] == null ? undefined : json['otherNodesCount'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function VMwareVersionCountsInputToJSON(json) {
|
|
35
|
+
return VMwareVersionCountsInputToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function VMwareVersionCountsInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'perpetualLicensesCount': value['perpetualLicensesCount'],
|
|
43
|
+
'coresLicensingCount': value['coresLicensingCount'],
|
|
44
|
+
'environmentCount': value['environmentCount'],
|
|
45
|
+
'otherNodesCount': value['otherNodesCount'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VsphereCoreInput
|
|
16
|
+
*/
|
|
17
|
+
export interface VsphereCoreInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
vmEncryptionEnabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
vmEncryptionPolicy?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
srmEnabled?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VsphereCoreInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVsphereCoreInput(value: object): value is VsphereCoreInput;
|
|
35
|
+
export declare function VsphereCoreInputFromJSON(json: any): VsphereCoreInput;
|
|
36
|
+
export declare function VsphereCoreInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VsphereCoreInput;
|
|
37
|
+
export declare function VsphereCoreInputToJSON(json: any): VsphereCoreInput;
|
|
38
|
+
export declare function VsphereCoreInputToJSONTyped(value?: VsphereCoreInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Check if a given object implements the VsphereCoreInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVsphereCoreInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function VsphereCoreInputFromJSON(json) {
|
|
21
|
+
return VsphereCoreInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function VsphereCoreInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'vmEncryptionEnabled': json['vmEncryptionEnabled'] == null ? undefined : json['vmEncryptionEnabled'],
|
|
29
|
+
'vmEncryptionPolicy': json['vmEncryptionPolicy'] == null ? undefined : json['vmEncryptionPolicy'],
|
|
30
|
+
'srmEnabled': json['srmEnabled'] == null ? undefined : json['srmEnabled'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function VsphereCoreInputToJSON(json) {
|
|
34
|
+
return VsphereCoreInputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function VsphereCoreInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'vmEncryptionEnabled': value['vmEncryptionEnabled'],
|
|
42
|
+
'vmEncryptionPolicy': value['vmEncryptionPolicy'],
|
|
43
|
+
'srmEnabled': value['srmEnabled'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export * from './ActiveEnvironmentsInput.js';
|
|
1
2
|
export * from './Agent.js';
|
|
2
3
|
export * from './AgentProxy.js';
|
|
4
|
+
export * from './AriaAutomationInput.js';
|
|
5
|
+
export * from './AriaOpsInput.js';
|
|
6
|
+
export * from './AriaSecureInput.js';
|
|
3
7
|
export * from './Assessment.js';
|
|
4
8
|
export * from './AssessmentForm.js';
|
|
5
9
|
export * from './AssessmentSharing.js';
|
|
@@ -16,9 +20,12 @@ export * from './ComplexityOSNameEntry.js';
|
|
|
16
20
|
export * from './ComplexityOSScoreEntry.js';
|
|
17
21
|
export * from './CpuOverCommitRatio.js';
|
|
18
22
|
export * from './Customer.js';
|
|
23
|
+
export * from './CustomerDetailsInput.js';
|
|
19
24
|
export * from './Datastore.js';
|
|
25
|
+
export * from './DeployedEnvironmentInput.js';
|
|
20
26
|
export * from './DiskSizeTierSummary.js';
|
|
21
27
|
export * from './DiskTypeSummary.js';
|
|
28
|
+
export * from './EnhancementData.js';
|
|
22
29
|
export * from './EstimationContext.js';
|
|
23
30
|
export * from './EstimationDetail.js';
|
|
24
31
|
export * from './Group.js';
|
|
@@ -33,6 +40,7 @@ export * from './Inventory.js';
|
|
|
33
40
|
export * from './InventoryData.js';
|
|
34
41
|
export * from './InventoryTotals.js';
|
|
35
42
|
export * from './Ipv4Config.js';
|
|
43
|
+
export * from './IssuesBreakdown.js';
|
|
36
44
|
export * from './Job.js';
|
|
37
45
|
export * from './JobStatus.js';
|
|
38
46
|
export * from './Label.js';
|
|
@@ -48,6 +56,7 @@ export * from './MigrationEstimationResponse.js';
|
|
|
48
56
|
export * from './MigrationIssue.js';
|
|
49
57
|
export * from './ModelError.js';
|
|
50
58
|
export * from './Network.js';
|
|
59
|
+
export * from './NsxInput.js';
|
|
51
60
|
export * from './OptimizationStatus.js';
|
|
52
61
|
export * from './OsDiskEstimationEntry.js';
|
|
53
62
|
export * from './OsInfo.js';
|
|
@@ -71,8 +80,12 @@ export * from './SourceUpdate.js';
|
|
|
71
80
|
export * from './StandaloneClusterRequirementsRequest.js';
|
|
72
81
|
export * from './StandaloneClusterRequirementsResponse.js';
|
|
73
82
|
export * from './Status.js';
|
|
83
|
+
export * from './StorageIoConfiguration.js';
|
|
74
84
|
export * from './UpdateInventory.js';
|
|
75
85
|
export * from './VCenter.js';
|
|
76
86
|
export * from './VMResourceBreakdown.js';
|
|
77
87
|
export * from './VMs.js';
|
|
88
|
+
export * from './VMwareSubscriptionInput.js';
|
|
89
|
+
export * from './VMwareVersionCountsInput.js';
|
|
78
90
|
export * from './VmNetwork.js';
|
|
91
|
+
export * from './VsphereCoreInput.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './ActiveEnvironmentsInput.js';
|
|
3
4
|
export * from './Agent.js';
|
|
4
5
|
export * from './AgentProxy.js';
|
|
6
|
+
export * from './AriaAutomationInput.js';
|
|
7
|
+
export * from './AriaOpsInput.js';
|
|
8
|
+
export * from './AriaSecureInput.js';
|
|
5
9
|
export * from './Assessment.js';
|
|
6
10
|
export * from './AssessmentForm.js';
|
|
7
11
|
export * from './AssessmentSharing.js';
|
|
@@ -18,9 +22,12 @@ export * from './ComplexityOSNameEntry.js';
|
|
|
18
22
|
export * from './ComplexityOSScoreEntry.js';
|
|
19
23
|
export * from './CpuOverCommitRatio.js';
|
|
20
24
|
export * from './Customer.js';
|
|
25
|
+
export * from './CustomerDetailsInput.js';
|
|
21
26
|
export * from './Datastore.js';
|
|
27
|
+
export * from './DeployedEnvironmentInput.js';
|
|
22
28
|
export * from './DiskSizeTierSummary.js';
|
|
23
29
|
export * from './DiskTypeSummary.js';
|
|
30
|
+
export * from './EnhancementData.js';
|
|
24
31
|
export * from './EstimationContext.js';
|
|
25
32
|
export * from './EstimationDetail.js';
|
|
26
33
|
export * from './Group.js';
|
|
@@ -35,6 +42,7 @@ export * from './Inventory.js';
|
|
|
35
42
|
export * from './InventoryData.js';
|
|
36
43
|
export * from './InventoryTotals.js';
|
|
37
44
|
export * from './Ipv4Config.js';
|
|
45
|
+
export * from './IssuesBreakdown.js';
|
|
38
46
|
export * from './Job.js';
|
|
39
47
|
export * from './JobStatus.js';
|
|
40
48
|
export * from './Label.js';
|
|
@@ -50,6 +58,7 @@ export * from './MigrationEstimationResponse.js';
|
|
|
50
58
|
export * from './MigrationIssue.js';
|
|
51
59
|
export * from './ModelError.js';
|
|
52
60
|
export * from './Network.js';
|
|
61
|
+
export * from './NsxInput.js';
|
|
53
62
|
export * from './OptimizationStatus.js';
|
|
54
63
|
export * from './OsDiskEstimationEntry.js';
|
|
55
64
|
export * from './OsInfo.js';
|
|
@@ -73,8 +82,12 @@ export * from './SourceUpdate.js';
|
|
|
73
82
|
export * from './StandaloneClusterRequirementsRequest.js';
|
|
74
83
|
export * from './StandaloneClusterRequirementsResponse.js';
|
|
75
84
|
export * from './Status.js';
|
|
85
|
+
export * from './StorageIoConfiguration.js';
|
|
76
86
|
export * from './UpdateInventory.js';
|
|
77
87
|
export * from './VCenter.js';
|
|
78
88
|
export * from './VMResourceBreakdown.js';
|
|
79
89
|
export * from './VMs.js';
|
|
90
|
+
export * from './VMwareSubscriptionInput.js';
|
|
91
|
+
export * from './VMwareVersionCountsInput.js';
|
|
80
92
|
export * from './VmNetwork.js';
|
|
93
|
+
export * from './VsphereCoreInput.js';
|
package/dist/esm/runtime.d.ts
CHANGED
|
@@ -124,6 +124,17 @@ export interface RequestOpts {
|
|
|
124
124
|
}
|
|
125
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
126
|
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Every generated date call site routes through these.
|
|
129
|
+
*
|
|
130
|
+
* `format: date` is a calendar date, with no time and no offset, so it is converted
|
|
131
|
+
* against the local calendar on both ends: they have to agree or the date shifts by
|
|
132
|
+
* a day. `format: date-time` is an instant and uses UTC.
|
|
133
|
+
*/
|
|
134
|
+
export declare function serializeDateTime(value: Date): string;
|
|
135
|
+
export declare function serializeDate(value: Date): string;
|
|
136
|
+
export declare function parseDate(value: Date | string): Date;
|
|
137
|
+
export declare function parseDateTime(value: any): Date;
|
|
127
138
|
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
139
|
[key: string]: any;
|
|
129
140
|
};
|
package/dist/esm/runtime.js
CHANGED
|
@@ -278,7 +278,7 @@ function querystringSingleKey(key, value, keyPrefix = '') {
|
|
|
278
278
|
return querystringSingleKey(key, valueAsArray, keyPrefix);
|
|
279
279
|
}
|
|
280
280
|
if (value instanceof Date) {
|
|
281
|
-
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value
|
|
281
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(serializeDateTime(value))}`;
|
|
282
282
|
}
|
|
283
283
|
if (value instanceof Object) {
|
|
284
284
|
return querystring(value, fullKey);
|
|
@@ -289,6 +289,52 @@ export function exists(json, key) {
|
|
|
289
289
|
const value = json[key];
|
|
290
290
|
return value !== null && value !== undefined;
|
|
291
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* Every generated date call site routes through these.
|
|
294
|
+
*
|
|
295
|
+
* `format: date` is a calendar date, with no time and no offset, so it is converted
|
|
296
|
+
* against the local calendar on both ends: they have to agree or the date shifts by
|
|
297
|
+
* a day. `format: date-time` is an instant and uses UTC.
|
|
298
|
+
*/
|
|
299
|
+
export function serializeDateTime(value) {
|
|
300
|
+
return value.toISOString();
|
|
301
|
+
}
|
|
302
|
+
export function serializeDate(value) {
|
|
303
|
+
if (isNaN(value.getTime())) {
|
|
304
|
+
throw new RangeError('Invalid time value');
|
|
305
|
+
}
|
|
306
|
+
const year = ('000' + value.getFullYear()).slice(-4);
|
|
307
|
+
const month = ('0' + (value.getMonth() + 1)).slice(-2);
|
|
308
|
+
const day = ('0' + value.getDate()).slice(-2);
|
|
309
|
+
return `${year}-${month}-${day}`;
|
|
310
|
+
}
|
|
311
|
+
export function parseDate(value) {
|
|
312
|
+
if (value instanceof Date) {
|
|
313
|
+
return value;
|
|
314
|
+
}
|
|
315
|
+
// `new Date("2026-08-05")` would parse as UTC midnight: a different day west of UTC.
|
|
316
|
+
// Local midnight is the stated day everywhere. setFullYear avoids the 1900 offset the
|
|
317
|
+
// multi-argument constructor applies to years 0-99.
|
|
318
|
+
const fullDate = /^(\d{4})-(\d{2})-(\d{2})$/.exec(String(value));
|
|
319
|
+
if (fullDate) {
|
|
320
|
+
const year = Number(fullDate[1]);
|
|
321
|
+
const month = Number(fullDate[2]) - 1;
|
|
322
|
+
const day = Number(fullDate[3]);
|
|
323
|
+
const date = new Date(0);
|
|
324
|
+
date.setFullYear(year, month, day);
|
|
325
|
+
date.setHours(0, 0, 0, 0);
|
|
326
|
+
// Out-of-range components (or a day the local zone skipped) silently roll over,
|
|
327
|
+
// which would hand back a date the server never sent.
|
|
328
|
+
if (date.getFullYear() !== year || date.getMonth() !== month || date.getDate() !== day) {
|
|
329
|
+
return new Date(NaN);
|
|
330
|
+
}
|
|
331
|
+
return date;
|
|
332
|
+
}
|
|
333
|
+
return new Date(value);
|
|
334
|
+
}
|
|
335
|
+
export function parseDateTime(value) {
|
|
336
|
+
return new Date(value);
|
|
337
|
+
}
|
|
292
338
|
export function mapValues(data, fn) {
|
|
293
339
|
const result = {};
|
|
294
340
|
for (const key of Object.keys(data)) {
|