@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/src/models/Source.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
15
|
+
import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
16
|
import type { SourceInfra } from './SourceInfra.js';
|
|
17
17
|
import {
|
|
18
18
|
SourceInfraFromJSON,
|
|
@@ -50,74 +50,50 @@ import {
|
|
|
50
50
|
export interface Source {
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Source
|
|
55
53
|
*/
|
|
56
54
|
id: string;
|
|
57
55
|
/**
|
|
58
56
|
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof Source
|
|
61
57
|
*/
|
|
62
58
|
name: string;
|
|
63
59
|
/**
|
|
64
60
|
*
|
|
65
|
-
* @type {Inventory}
|
|
66
|
-
* @memberof Source
|
|
67
61
|
*/
|
|
68
62
|
inventory?: Inventory;
|
|
69
63
|
/**
|
|
70
64
|
*
|
|
71
|
-
* @type {Date}
|
|
72
|
-
* @memberof Source
|
|
73
65
|
*/
|
|
74
66
|
createdAt: Date;
|
|
75
67
|
/**
|
|
76
68
|
*
|
|
77
|
-
* @type {Date}
|
|
78
|
-
* @memberof Source
|
|
79
69
|
*/
|
|
80
70
|
updatedAt: Date;
|
|
81
71
|
/**
|
|
82
72
|
*
|
|
83
|
-
* @type {boolean}
|
|
84
|
-
* @memberof Source
|
|
85
73
|
*/
|
|
86
74
|
onPremises: boolean;
|
|
87
75
|
/**
|
|
88
76
|
*
|
|
89
|
-
* @type {Agent}
|
|
90
|
-
* @memberof Source
|
|
91
77
|
*/
|
|
92
78
|
agent?: Agent;
|
|
93
79
|
/**
|
|
94
80
|
*
|
|
95
|
-
* @type {Array<Label>}
|
|
96
|
-
* @memberof Source
|
|
97
81
|
*/
|
|
98
82
|
labels?: Array<Label>;
|
|
99
83
|
/**
|
|
100
84
|
*
|
|
101
|
-
* @type {SourceInfra}
|
|
102
|
-
* @memberof Source
|
|
103
85
|
*/
|
|
104
86
|
infra?: SourceInfra;
|
|
105
87
|
/**
|
|
106
88
|
* Agent version (version tag) stored when OVA was downloaded
|
|
107
|
-
* @type {string}
|
|
108
|
-
* @memberof Source
|
|
109
89
|
*/
|
|
110
90
|
agentVersion?: string | null;
|
|
111
91
|
/**
|
|
112
92
|
* Warning message if stored agent version differs from current agent version
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof Source
|
|
115
93
|
*/
|
|
116
94
|
agentVersionWarning?: string | null;
|
|
117
95
|
/**
|
|
118
96
|
* Indicates whether the inventory was updated automatically by an agent or manually by a user
|
|
119
|
-
* @type {SourceUpdateTypeEnum}
|
|
120
|
-
* @memberof Source
|
|
121
97
|
*/
|
|
122
98
|
updateType?: SourceUpdateTypeEnum;
|
|
123
99
|
}
|
|
@@ -128,7 +104,7 @@ export interface Source {
|
|
|
128
104
|
*/
|
|
129
105
|
export const SourceUpdateTypeEnum = {
|
|
130
106
|
Auto: 'auto',
|
|
131
|
-
Manual: 'manual'
|
|
107
|
+
Manual: 'manual',
|
|
132
108
|
} as const;
|
|
133
109
|
export type SourceUpdateTypeEnum = typeof SourceUpdateTypeEnum[keyof typeof SourceUpdateTypeEnum];
|
|
134
110
|
|
|
@@ -158,8 +134,8 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
|
|
|
158
134
|
'id': json['id'],
|
|
159
135
|
'name': json['name'],
|
|
160
136
|
'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
|
|
161
|
-
'createdAt': (
|
|
162
|
-
'updatedAt': (
|
|
137
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
138
|
+
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
|
|
163
139
|
'onPremises': json['onPremises'],
|
|
164
140
|
'agent': json['agent'] == null ? undefined : AgentFromJSON(json['agent']),
|
|
165
141
|
'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
|
|
@@ -184,8 +160,8 @@ export function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator: bo
|
|
|
184
160
|
'id': value['id'],
|
|
185
161
|
'name': value['name'],
|
|
186
162
|
'inventory': InventoryToJSON(value['inventory']),
|
|
187
|
-
'createdAt': value['createdAt']
|
|
188
|
-
'updatedAt': value['updatedAt']
|
|
163
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
164
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
189
165
|
'onPremises': value['onPremises'],
|
|
190
166
|
'agent': AgentToJSON(value['agent']),
|
|
191
167
|
'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
|
|
@@ -43,56 +43,38 @@ import {
|
|
|
43
43
|
export interface SourceCreate {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof SourceCreate
|
|
48
46
|
*/
|
|
49
47
|
name: string;
|
|
50
48
|
/**
|
|
51
49
|
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof SourceCreate
|
|
54
50
|
*/
|
|
55
51
|
sshPublicKey?: string | null;
|
|
56
52
|
/**
|
|
57
53
|
*
|
|
58
|
-
* @type {AgentProxy}
|
|
59
|
-
* @memberof SourceCreate
|
|
60
54
|
*/
|
|
61
55
|
proxy?: AgentProxy;
|
|
62
56
|
/**
|
|
63
57
|
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof SourceCreate
|
|
66
58
|
*/
|
|
67
59
|
certificateChain?: string | null;
|
|
68
60
|
/**
|
|
69
61
|
*
|
|
70
|
-
* @type {VmNetwork}
|
|
71
|
-
* @memberof SourceCreate
|
|
72
62
|
*/
|
|
73
63
|
network?: VmNetwork;
|
|
74
64
|
/**
|
|
75
65
|
*
|
|
76
|
-
* @type {VmNetwork}
|
|
77
|
-
* @memberof SourceCreate
|
|
78
66
|
*/
|
|
79
67
|
vmNetwork?: VmNetwork;
|
|
80
68
|
/**
|
|
81
69
|
*
|
|
82
|
-
* @type {Array<Label>}
|
|
83
|
-
* @memberof SourceCreate
|
|
84
70
|
*/
|
|
85
71
|
labels?: Array<Label>;
|
|
86
72
|
/**
|
|
87
73
|
* Set to false to clear all proxy fields. When true or omitted, proxy fields are preserved or updated normally.
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* @memberof SourceCreate
|
|
90
74
|
*/
|
|
91
75
|
enableProxy?: boolean;
|
|
92
76
|
/**
|
|
93
77
|
* Set to dhcp to clear all network fields. Set to static when providing vmNetwork/network data. When omitted, network fields are preserved or updated normally.
|
|
94
|
-
* @type {SourceCreateNetworkConfigTypeEnum}
|
|
95
|
-
* @memberof SourceCreate
|
|
96
78
|
*/
|
|
97
79
|
networkConfigType?: SourceCreateNetworkConfigTypeEnum;
|
|
98
80
|
}
|
|
@@ -103,7 +85,7 @@ export interface SourceCreate {
|
|
|
103
85
|
*/
|
|
104
86
|
export const SourceCreateNetworkConfigTypeEnum = {
|
|
105
87
|
Dhcp: 'dhcp',
|
|
106
|
-
Static: 'static'
|
|
88
|
+
Static: 'static',
|
|
107
89
|
} as const;
|
|
108
90
|
export type SourceCreateNetworkConfigTypeEnum = typeof SourceCreateNetworkConfigTypeEnum[keyof typeof SourceCreateNetworkConfigTypeEnum];
|
|
109
91
|
|
|
@@ -36,20 +36,14 @@ import {
|
|
|
36
36
|
export interface SourceInfra {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {AgentProxy}
|
|
40
|
-
* @memberof SourceInfra
|
|
41
39
|
*/
|
|
42
40
|
proxy?: AgentProxy;
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SourceInfra
|
|
47
43
|
*/
|
|
48
44
|
sshPublicKey?: string | null;
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
51
|
-
* @type {VmNetwork}
|
|
52
|
-
* @memberof SourceInfra
|
|
53
47
|
*/
|
|
54
48
|
vmNetwork?: VmNetwork;
|
|
55
49
|
}
|
|
@@ -43,56 +43,38 @@ import {
|
|
|
43
43
|
export interface SourceUpdate {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof SourceUpdate
|
|
48
46
|
*/
|
|
49
47
|
name?: string;
|
|
50
48
|
/**
|
|
51
49
|
*
|
|
52
|
-
* @type {Array<Label>}
|
|
53
|
-
* @memberof SourceUpdate
|
|
54
50
|
*/
|
|
55
51
|
labels?: Array<Label>;
|
|
56
52
|
/**
|
|
57
53
|
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof SourceUpdate
|
|
60
54
|
*/
|
|
61
55
|
sshPublicKey?: string | null;
|
|
62
56
|
/**
|
|
63
57
|
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof SourceUpdate
|
|
66
58
|
*/
|
|
67
59
|
certificateChain?: string | null;
|
|
68
60
|
/**
|
|
69
61
|
*
|
|
70
|
-
* @type {AgentProxy}
|
|
71
|
-
* @memberof SourceUpdate
|
|
72
62
|
*/
|
|
73
63
|
proxy?: AgentProxy;
|
|
74
64
|
/**
|
|
75
65
|
*
|
|
76
|
-
* @type {VmNetwork}
|
|
77
|
-
* @memberof SourceUpdate
|
|
78
66
|
*/
|
|
79
67
|
network?: VmNetwork;
|
|
80
68
|
/**
|
|
81
69
|
*
|
|
82
|
-
* @type {VmNetwork}
|
|
83
|
-
* @memberof SourceUpdate
|
|
84
70
|
*/
|
|
85
71
|
vmNetwork?: VmNetwork;
|
|
86
72
|
/**
|
|
87
73
|
* Set to false to clear all proxy fields. When true or omitted, proxy fields are preserved or updated normally.
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* @memberof SourceUpdate
|
|
90
74
|
*/
|
|
91
75
|
enableProxy?: boolean;
|
|
92
76
|
/**
|
|
93
77
|
* Set to dhcp to clear all network fields. Set to static when providing vmNetwork/network data. When omitted, network fields are preserved or updated normally.
|
|
94
|
-
* @type {SourceUpdateNetworkConfigTypeEnum}
|
|
95
|
-
* @memberof SourceUpdate
|
|
96
78
|
*/
|
|
97
79
|
networkConfigType?: SourceUpdateNetworkConfigTypeEnum;
|
|
98
80
|
}
|
|
@@ -103,7 +85,7 @@ export interface SourceUpdate {
|
|
|
103
85
|
*/
|
|
104
86
|
export const SourceUpdateNetworkConfigTypeEnum = {
|
|
105
87
|
Dhcp: 'dhcp',
|
|
106
|
-
Static: 'static'
|
|
88
|
+
Static: 'static',
|
|
107
89
|
} as const;
|
|
108
90
|
export type SourceUpdateNetworkConfigTypeEnum = typeof SourceUpdateNetworkConfigTypeEnum[keyof typeof SourceUpdateNetworkConfigTypeEnum];
|
|
109
91
|
|
|
@@ -36,86 +36,58 @@ import {
|
|
|
36
36
|
export interface StandaloneClusterRequirementsRequest {
|
|
37
37
|
/**
|
|
38
38
|
* Total number of VMs to size for
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
41
39
|
*/
|
|
42
40
|
totalVMs: number;
|
|
43
41
|
/**
|
|
44
42
|
* Total CPU cores across all VMs
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
47
43
|
*/
|
|
48
44
|
totalCPU: number;
|
|
49
45
|
/**
|
|
50
46
|
* Total memory (GB) across all VMs
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
53
47
|
*/
|
|
54
48
|
totalMemory: number;
|
|
55
49
|
/**
|
|
56
50
|
* CPU over-commit ratio (e.g., "1:4")
|
|
57
|
-
* @type {CpuOverCommitRatio}
|
|
58
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
59
51
|
*/
|
|
60
52
|
cpuOverCommitRatio: CpuOverCommitRatio;
|
|
61
53
|
/**
|
|
62
54
|
* Memory over-commit ratio (e.g., "1:2")
|
|
63
|
-
* @type {MemoryOverCommitRatio}
|
|
64
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
65
55
|
*/
|
|
66
56
|
memoryOverCommitRatio: MemoryOverCommitRatio;
|
|
67
57
|
/**
|
|
68
58
|
* CPU cores per worker node
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
71
59
|
*/
|
|
72
60
|
workerNodeCPU: number;
|
|
73
61
|
/**
|
|
74
62
|
* Memory (GB) per worker node
|
|
75
|
-
* @type {number}
|
|
76
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
77
63
|
*/
|
|
78
64
|
workerNodeMemory: number;
|
|
79
65
|
/**
|
|
80
66
|
* Number of CPU threads per worker node (for SMT calculation). If not provided, assumes no SMT (threads = cores). Must be >= workerNodeCPU
|
|
81
|
-
* @type {number}
|
|
82
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
83
67
|
*/
|
|
84
68
|
workerNodeThreads?: number;
|
|
85
69
|
/**
|
|
86
70
|
* Allow workload scheduling on control plane nodes (default: false)
|
|
87
|
-
* @type {boolean}
|
|
88
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
89
71
|
*/
|
|
90
72
|
controlPlaneSchedulable?: boolean;
|
|
91
73
|
/**
|
|
92
74
|
* CPU cores per control plane node (default: 6)
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
95
75
|
*/
|
|
96
76
|
controlPlaneCPU?: number;
|
|
97
77
|
/**
|
|
98
78
|
* Memory in GB per control plane node (default: 16)
|
|
99
|
-
* @type {number}
|
|
100
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
101
79
|
*/
|
|
102
80
|
controlPlaneMemory?: number;
|
|
103
81
|
/**
|
|
104
82
|
* Number of control plane nodes: 1 or 3 (default: 3)
|
|
105
|
-
* @type {StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum}
|
|
106
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
107
83
|
*/
|
|
108
84
|
controlPlaneNodeCount?: StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum;
|
|
109
85
|
/**
|
|
110
86
|
* If true, control plane is hosted externally. Incompatible with control plane fields (default: false)
|
|
111
|
-
* @type {boolean}
|
|
112
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
113
87
|
*/
|
|
114
88
|
hostedControlPlane?: boolean;
|
|
115
89
|
/**
|
|
116
90
|
* If true, creates a 3-node compact cluster with no dedicated workers. Requires controlPlaneNodeCount=3 and controlPlaneSchedulable=true. Incompatible with hostedControlPlane=true
|
|
117
|
-
* @type {boolean}
|
|
118
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
119
91
|
*/
|
|
120
92
|
compactMode?: boolean;
|
|
121
93
|
}
|
|
@@ -126,7 +98,7 @@ export interface StandaloneClusterRequirementsRequest {
|
|
|
126
98
|
*/
|
|
127
99
|
export const StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum = {
|
|
128
100
|
NUMBER_1: 1,
|
|
129
|
-
NUMBER_3: 3
|
|
101
|
+
NUMBER_3: 3,
|
|
130
102
|
} as const;
|
|
131
103
|
export type StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum = typeof StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum[keyof typeof StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum];
|
|
132
104
|
|
|
@@ -36,14 +36,10 @@ import {
|
|
|
36
36
|
export interface StandaloneClusterRequirementsResponse {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {ClusterSizing}
|
|
40
|
-
* @memberof StandaloneClusterRequirementsResponse
|
|
41
39
|
*/
|
|
42
40
|
clusterSizing: ClusterSizing;
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @type {SizingResourceConsumption}
|
|
46
|
-
* @memberof StandaloneClusterRequirementsResponse
|
|
47
43
|
*/
|
|
48
44
|
resourceConsumption: SizingResourceConsumption;
|
|
49
45
|
}
|
package/src/models/Status.ts
CHANGED
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Status {
|
|
22
22
|
/**
|
|
23
23
|
* A human-readable description of the status of this operation.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Status
|
|
26
24
|
*/
|
|
27
25
|
message?: string;
|
|
28
26
|
/**
|
|
29
27
|
* A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Status
|
|
32
28
|
*/
|
|
33
29
|
reason?: string;
|
|
34
30
|
/**
|
|
35
31
|
* Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Status
|
|
38
32
|
*/
|
|
39
33
|
status?: string;
|
|
40
34
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface StorageIoConfiguration
|
|
20
|
+
*/
|
|
21
|
+
export interface StorageIoConfiguration {
|
|
22
|
+
/**
|
|
23
|
+
* Whether Storage I/O Control is enabled for this datastore
|
|
24
|
+
*/
|
|
25
|
+
enabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Latency threshold in milliseconds beyond which the storage array is considered congested
|
|
28
|
+
*/
|
|
29
|
+
congestionThreshold?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Mode for congestion threshold calculation
|
|
32
|
+
*/
|
|
33
|
+
congestionThresholdMode?: StorageIoConfigurationCongestionThresholdModeEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Percent of peak throughput
|
|
36
|
+
*/
|
|
37
|
+
percentOfPeakThroughput?: number;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export const StorageIoConfigurationCongestionThresholdModeEnum = {
|
|
45
|
+
Automatic: 'automatic',
|
|
46
|
+
Manual: 'manual',
|
|
47
|
+
} as const;
|
|
48
|
+
export type StorageIoConfigurationCongestionThresholdModeEnum = typeof StorageIoConfigurationCongestionThresholdModeEnum[keyof typeof StorageIoConfigurationCongestionThresholdModeEnum];
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the StorageIoConfiguration interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfStorageIoConfiguration(value: object): value is StorageIoConfiguration {
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function StorageIoConfigurationFromJSON(json: any): StorageIoConfiguration {
|
|
59
|
+
return StorageIoConfigurationFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function StorageIoConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageIoConfiguration {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
69
|
+
'congestionThreshold': json['congestionThreshold'] == null ? undefined : json['congestionThreshold'],
|
|
70
|
+
'congestionThresholdMode': json['congestionThresholdMode'] == null ? undefined : json['congestionThresholdMode'],
|
|
71
|
+
'percentOfPeakThroughput': json['percentOfPeakThroughput'] == null ? undefined : json['percentOfPeakThroughput'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function StorageIoConfigurationToJSON(json: any): StorageIoConfiguration {
|
|
76
|
+
return StorageIoConfigurationToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function StorageIoConfigurationToJSONTyped(value?: StorageIoConfiguration | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'enabled': value['enabled'],
|
|
87
|
+
'congestionThreshold': value['congestionThreshold'],
|
|
88
|
+
'congestionThresholdMode': value['congestionThresholdMode'],
|
|
89
|
+
'percentOfPeakThroughput': value['percentOfPeakThroughput'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
package/src/models/VCenter.ts
CHANGED
|
@@ -29,32 +29,22 @@ import {
|
|
|
29
29
|
export interface VMResourceBreakdown {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VMResourceBreakdown
|
|
34
32
|
*/
|
|
35
33
|
total: number;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof VMResourceBreakdown
|
|
40
36
|
*/
|
|
41
37
|
totalForMigratable: number;
|
|
42
38
|
/**
|
|
43
39
|
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof VMResourceBreakdown
|
|
46
40
|
*/
|
|
47
41
|
totalForMigratableWithWarnings: number;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof VMResourceBreakdown
|
|
52
44
|
*/
|
|
53
45
|
totalForNotMigratable: number;
|
|
54
46
|
/**
|
|
55
47
|
*
|
|
56
|
-
* @type {Histogram}
|
|
57
|
-
* @memberof VMResourceBreakdown
|
|
58
48
|
* @deprecated
|
|
59
49
|
*/
|
|
60
50
|
histogram?: Histogram;
|