@openshift-migration-advisor/planner-sdk 0.18.0-b5e8e71564be → 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 +22 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -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 +0 -20
- 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 +0 -10
- 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 +0 -8
- package/dist/esm/models/OsInfo.js +1 -1
- 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 +0 -8
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- 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 +0 -46
- 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 +11 -0
- package/dist/esm/models/index.js +11 -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 +0 -20
- 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 +0 -10
- 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 +0 -8
- package/dist/models/OsInfo.js +1 -1
- 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 +0 -8
- package/dist/models/StorageIoConfiguration.js +1 -1
- 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 +0 -46
- 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 +11 -0
- package/dist/models/index.js +11 -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/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -0
- package/docs/Host.md +4 -0
- package/docs/Inventory.md +2 -0
- package/docs/NsxInput.md +34 -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 +0 -20
- 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 +0 -10
- 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 +1 -9
- 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 +1 -9
- 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 +0 -46
- 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 +11 -0
- package/src/runtime.ts +52 -1
|
@@ -0,0 +1,188 @@
|
|
|
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
|
+
import type { NsxInput } from './NsxInput.js';
|
|
17
|
+
import {
|
|
18
|
+
NsxInputFromJSON,
|
|
19
|
+
NsxInputFromJSONTyped,
|
|
20
|
+
NsxInputToJSON,
|
|
21
|
+
NsxInputToJSONTyped,
|
|
22
|
+
} from './NsxInput.js';
|
|
23
|
+
import type { AriaSecureInput } from './AriaSecureInput.js';
|
|
24
|
+
import {
|
|
25
|
+
AriaSecureInputFromJSON,
|
|
26
|
+
AriaSecureInputFromJSONTyped,
|
|
27
|
+
AriaSecureInputToJSON,
|
|
28
|
+
AriaSecureInputToJSONTyped,
|
|
29
|
+
} from './AriaSecureInput.js';
|
|
30
|
+
import type { DeployedEnvironmentInput } from './DeployedEnvironmentInput.js';
|
|
31
|
+
import {
|
|
32
|
+
DeployedEnvironmentInputFromJSON,
|
|
33
|
+
DeployedEnvironmentInputFromJSONTyped,
|
|
34
|
+
DeployedEnvironmentInputToJSON,
|
|
35
|
+
DeployedEnvironmentInputToJSONTyped,
|
|
36
|
+
} from './DeployedEnvironmentInput.js';
|
|
37
|
+
import type { VMwareSubscriptionInput } from './VMwareSubscriptionInput.js';
|
|
38
|
+
import {
|
|
39
|
+
VMwareSubscriptionInputFromJSON,
|
|
40
|
+
VMwareSubscriptionInputFromJSONTyped,
|
|
41
|
+
VMwareSubscriptionInputToJSON,
|
|
42
|
+
VMwareSubscriptionInputToJSONTyped,
|
|
43
|
+
} from './VMwareSubscriptionInput.js';
|
|
44
|
+
import type { CustomerDetailsInput } from './CustomerDetailsInput.js';
|
|
45
|
+
import {
|
|
46
|
+
CustomerDetailsInputFromJSON,
|
|
47
|
+
CustomerDetailsInputFromJSONTyped,
|
|
48
|
+
CustomerDetailsInputToJSON,
|
|
49
|
+
CustomerDetailsInputToJSONTyped,
|
|
50
|
+
} from './CustomerDetailsInput.js';
|
|
51
|
+
import type { VMwareVersionCountsInput } from './VMwareVersionCountsInput.js';
|
|
52
|
+
import {
|
|
53
|
+
VMwareVersionCountsInputFromJSON,
|
|
54
|
+
VMwareVersionCountsInputFromJSONTyped,
|
|
55
|
+
VMwareVersionCountsInputToJSON,
|
|
56
|
+
VMwareVersionCountsInputToJSONTyped,
|
|
57
|
+
} from './VMwareVersionCountsInput.js';
|
|
58
|
+
import type { VsphereCoreInput } from './VsphereCoreInput.js';
|
|
59
|
+
import {
|
|
60
|
+
VsphereCoreInputFromJSON,
|
|
61
|
+
VsphereCoreInputFromJSONTyped,
|
|
62
|
+
VsphereCoreInputToJSON,
|
|
63
|
+
VsphereCoreInputToJSONTyped,
|
|
64
|
+
} from './VsphereCoreInput.js';
|
|
65
|
+
import type { AriaAutomationInput } from './AriaAutomationInput.js';
|
|
66
|
+
import {
|
|
67
|
+
AriaAutomationInputFromJSON,
|
|
68
|
+
AriaAutomationInputFromJSONTyped,
|
|
69
|
+
AriaAutomationInputToJSON,
|
|
70
|
+
AriaAutomationInputToJSONTyped,
|
|
71
|
+
} from './AriaAutomationInput.js';
|
|
72
|
+
import type { AriaOpsInput } from './AriaOpsInput.js';
|
|
73
|
+
import {
|
|
74
|
+
AriaOpsInputFromJSON,
|
|
75
|
+
AriaOpsInputFromJSONTyped,
|
|
76
|
+
AriaOpsInputToJSON,
|
|
77
|
+
AriaOpsInputToJSONTyped,
|
|
78
|
+
} from './AriaOpsInput.js';
|
|
79
|
+
import type { ActiveEnvironmentsInput } from './ActiveEnvironmentsInput.js';
|
|
80
|
+
import {
|
|
81
|
+
ActiveEnvironmentsInputFromJSON,
|
|
82
|
+
ActiveEnvironmentsInputFromJSONTyped,
|
|
83
|
+
ActiveEnvironmentsInputToJSON,
|
|
84
|
+
ActiveEnvironmentsInputToJSONTyped,
|
|
85
|
+
} from './ActiveEnvironmentsInput.js';
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* VMA enhancement data — fields that cannot be auto-collected by Agent or RVTools
|
|
89
|
+
* @export
|
|
90
|
+
* @interface EnhancementData
|
|
91
|
+
*/
|
|
92
|
+
export interface EnhancementData {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
deployedEnvironment?: DeployedEnvironmentInput;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
vmwareVersionCounts?: VMwareVersionCountsInput;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
activeEnvironments?: ActiveEnvironmentsInput;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
vmwareSubscription?: VMwareSubscriptionInput;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
vsphereCore?: VsphereCoreInput;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
nsx?: NsxInput;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
ariaOps?: AriaOpsInput;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
ariaAutomation?: AriaAutomationInput;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
ariaSecure?: AriaSecureInput;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
customerDetails?: CustomerDetailsInput;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Check if a given object implements the EnhancementData interface.
|
|
137
|
+
*/
|
|
138
|
+
export function instanceOfEnhancementData(value: object): value is EnhancementData {
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function EnhancementDataFromJSON(json: any): EnhancementData {
|
|
143
|
+
return EnhancementDataFromJSONTyped(json, false);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function EnhancementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnhancementData {
|
|
147
|
+
if (json == null) {
|
|
148
|
+
return json;
|
|
149
|
+
}
|
|
150
|
+
return {
|
|
151
|
+
|
|
152
|
+
'deployedEnvironment': json['deployedEnvironment'] == null ? undefined : DeployedEnvironmentInputFromJSON(json['deployedEnvironment']),
|
|
153
|
+
'vmwareVersionCounts': json['vmwareVersionCounts'] == null ? undefined : VMwareVersionCountsInputFromJSON(json['vmwareVersionCounts']),
|
|
154
|
+
'activeEnvironments': json['activeEnvironments'] == null ? undefined : ActiveEnvironmentsInputFromJSON(json['activeEnvironments']),
|
|
155
|
+
'vmwareSubscription': json['vmwareSubscription'] == null ? undefined : VMwareSubscriptionInputFromJSON(json['vmwareSubscription']),
|
|
156
|
+
'vsphereCore': json['vsphereCore'] == null ? undefined : VsphereCoreInputFromJSON(json['vsphereCore']),
|
|
157
|
+
'nsx': json['nsx'] == null ? undefined : NsxInputFromJSON(json['nsx']),
|
|
158
|
+
'ariaOps': json['ariaOps'] == null ? undefined : AriaOpsInputFromJSON(json['ariaOps']),
|
|
159
|
+
'ariaAutomation': json['ariaAutomation'] == null ? undefined : AriaAutomationInputFromJSON(json['ariaAutomation']),
|
|
160
|
+
'ariaSecure': json['ariaSecure'] == null ? undefined : AriaSecureInputFromJSON(json['ariaSecure']),
|
|
161
|
+
'customerDetails': json['customerDetails'] == null ? undefined : CustomerDetailsInputFromJSON(json['customerDetails']),
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function EnhancementDataToJSON(json: any): EnhancementData {
|
|
166
|
+
return EnhancementDataToJSONTyped(json, false);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function EnhancementDataToJSONTyped(value?: EnhancementData | null, ignoreDiscriminator: boolean = false): any {
|
|
170
|
+
if (value == null) {
|
|
171
|
+
return value;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return {
|
|
175
|
+
|
|
176
|
+
'deployedEnvironment': DeployedEnvironmentInputToJSON(value['deployedEnvironment']),
|
|
177
|
+
'vmwareVersionCounts': VMwareVersionCountsInputToJSON(value['vmwareVersionCounts']),
|
|
178
|
+
'activeEnvironments': ActiveEnvironmentsInputToJSON(value['activeEnvironments']),
|
|
179
|
+
'vmwareSubscription': VMwareSubscriptionInputToJSON(value['vmwareSubscription']),
|
|
180
|
+
'vsphereCore': VsphereCoreInputToJSON(value['vsphereCore']),
|
|
181
|
+
'nsx': NsxInputToJSON(value['nsx']),
|
|
182
|
+
'ariaOps': AriaOpsInputToJSON(value['ariaOps']),
|
|
183
|
+
'ariaAutomation': AriaAutomationInputToJSON(value['ariaAutomation']),
|
|
184
|
+
'ariaSecure': AriaSecureInputToJSON(value['ariaSecure']),
|
|
185
|
+
'customerDetails': CustomerDetailsInputToJSON(value['customerDetails']),
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface EstimationContext {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {Array<string>}
|
|
25
|
-
* @memberof EstimationContext
|
|
26
24
|
*/
|
|
27
25
|
schemas?: Array<string>;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {{ [key: string]: number; }}
|
|
31
|
-
* @memberof EstimationContext
|
|
32
28
|
*/
|
|
33
29
|
params?: { [key: string]: number; };
|
|
34
30
|
}
|
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface EstimationDetail {
|
|
22
22
|
/**
|
|
23
23
|
* Estimated duration for this component (point calculators only)
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof EstimationDetail
|
|
26
24
|
*/
|
|
27
25
|
duration?: string;
|
|
28
26
|
/**
|
|
29
27
|
* Minimum estimated duration (ranged calculators only)
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof EstimationDetail
|
|
32
28
|
*/
|
|
33
29
|
minDuration?: string;
|
|
34
30
|
/**
|
|
35
31
|
* Maximum estimated duration (ranged calculators only)
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof EstimationDetail
|
|
38
32
|
*/
|
|
39
33
|
maxDuration?: string;
|
|
40
34
|
/**
|
|
41
35
|
* Explanation of how the estimation was calculated
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof EstimationDetail
|
|
44
36
|
*/
|
|
45
37
|
reason: string;
|
|
46
38
|
}
|
package/src/models/Group.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
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -21,50 +21,34 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Group {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Group
|
|
26
24
|
*/
|
|
27
25
|
id: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Group
|
|
32
28
|
*/
|
|
33
29
|
name: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Group
|
|
38
32
|
*/
|
|
39
33
|
description?: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {GroupKindEnum}
|
|
43
|
-
* @memberof Group
|
|
44
36
|
*/
|
|
45
37
|
kind: GroupKindEnum;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Group
|
|
50
40
|
*/
|
|
51
41
|
icon: string;
|
|
52
42
|
/**
|
|
53
43
|
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof Group
|
|
56
44
|
*/
|
|
57
45
|
company: string;
|
|
58
46
|
/**
|
|
59
47
|
*
|
|
60
|
-
* @type {Date}
|
|
61
|
-
* @memberof Group
|
|
62
48
|
*/
|
|
63
49
|
createdAt: Date;
|
|
64
50
|
/**
|
|
65
51
|
*
|
|
66
|
-
* @type {Date}
|
|
67
|
-
* @memberof Group
|
|
68
52
|
*/
|
|
69
53
|
updatedAt: Date;
|
|
70
54
|
}
|
|
@@ -75,7 +59,7 @@ export interface Group {
|
|
|
75
59
|
*/
|
|
76
60
|
export const GroupKindEnum = {
|
|
77
61
|
Partner: 'partner',
|
|
78
|
-
Admin: 'admin'
|
|
62
|
+
Admin: 'admin',
|
|
79
63
|
} as const;
|
|
80
64
|
export type GroupKindEnum = typeof GroupKindEnum[keyof typeof GroupKindEnum];
|
|
81
65
|
|
|
@@ -110,8 +94,8 @@ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gro
|
|
|
110
94
|
'kind': json['kind'],
|
|
111
95
|
'icon': json['icon'],
|
|
112
96
|
'company': json['company'],
|
|
113
|
-
'createdAt': (
|
|
114
|
-
'updatedAt': (
|
|
97
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
98
|
+
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
|
|
115
99
|
};
|
|
116
100
|
}
|
|
117
101
|
|
|
@@ -132,8 +116,8 @@ export function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator: bool
|
|
|
132
116
|
'kind': value['kind'],
|
|
133
117
|
'icon': value['icon'],
|
|
134
118
|
'company': value['company'],
|
|
135
|
-
'createdAt': value['createdAt']
|
|
136
|
-
'updatedAt': value['updatedAt']
|
|
119
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
120
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
137
121
|
};
|
|
138
122
|
}
|
|
139
123
|
|
|
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface GroupCreate {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof GroupCreate
|
|
26
24
|
*/
|
|
27
25
|
name: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof GroupCreate
|
|
32
28
|
*/
|
|
33
29
|
description: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {GroupCreateKindEnum}
|
|
37
|
-
* @memberof GroupCreate
|
|
38
32
|
*/
|
|
39
33
|
kind: GroupCreateKindEnum;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof GroupCreate
|
|
44
36
|
*/
|
|
45
37
|
icon: string;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof GroupCreate
|
|
50
40
|
*/
|
|
51
41
|
company: string;
|
|
52
42
|
}
|
|
@@ -57,7 +47,7 @@ export interface GroupCreate {
|
|
|
57
47
|
*/
|
|
58
48
|
export const GroupCreateKindEnum = {
|
|
59
49
|
Partner: 'partner',
|
|
60
|
-
Admin: 'admin'
|
|
50
|
+
Admin: 'admin',
|
|
61
51
|
} as const;
|
|
62
52
|
export type GroupCreateKindEnum = typeof GroupCreateKindEnum[keyof typeof GroupCreateKindEnum];
|
|
63
53
|
|
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface GroupUpdate {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof GroupUpdate
|
|
26
24
|
*/
|
|
27
25
|
name?: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof GroupUpdate
|
|
32
28
|
*/
|
|
33
29
|
description?: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof GroupUpdate
|
|
38
32
|
*/
|
|
39
33
|
icon?: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof GroupUpdate
|
|
44
36
|
*/
|
|
45
37
|
company?: string;
|
|
46
38
|
}
|
package/src/models/Histogram.ts
CHANGED
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Histogram {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof Histogram
|
|
26
24
|
*/
|
|
27
25
|
minValue: number;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof Histogram
|
|
32
28
|
*/
|
|
33
29
|
step: number;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {Array<number>}
|
|
37
|
-
* @memberof Histogram
|
|
38
32
|
*/
|
|
39
33
|
data: Array<number>;
|
|
40
34
|
}
|
package/src/models/Host.ts
CHANGED
|
@@ -21,40 +21,36 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Host {
|
|
22
22
|
/**
|
|
23
23
|
* Unique identifier for this host
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Host
|
|
26
24
|
*/
|
|
27
25
|
id?: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Host
|
|
32
28
|
*/
|
|
33
29
|
vendor: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Host
|
|
38
32
|
*/
|
|
39
33
|
model: string;
|
|
40
34
|
/**
|
|
41
35
|
* Number of CPU cores
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof Host
|
|
44
36
|
*/
|
|
45
37
|
cpuCores?: number | null;
|
|
46
38
|
/**
|
|
47
39
|
* Number of CPU sockets
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof Host
|
|
50
40
|
*/
|
|
51
41
|
cpuSockets?: number | null;
|
|
52
42
|
/**
|
|
53
43
|
* Host memory in MB
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof Host
|
|
56
44
|
*/
|
|
57
45
|
memoryMB?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
48
|
+
*/
|
|
49
|
+
vmotionSupported?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
52
|
+
*/
|
|
53
|
+
storageVmotionSupported?: boolean;
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
/**
|
|
@@ -82,6 +78,8 @@ export function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host
|
|
|
82
78
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
83
79
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
84
80
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
81
|
+
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
82
|
+
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
85
83
|
};
|
|
86
84
|
}
|
|
87
85
|
|
|
@@ -102,6 +100,8 @@ export function HostToJSONTyped(value?: Host | null, ignoreDiscriminator: boolea
|
|
|
102
100
|
'cpuCores': value['cpuCores'],
|
|
103
101
|
'cpuSockets': value['cpuSockets'],
|
|
104
102
|
'memoryMB': value['memoryMB'],
|
|
103
|
+
'vmotionSupported': value['vmotionSupported'],
|
|
104
|
+
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
|
package/src/models/Identity.ts
CHANGED
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Identity {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Identity
|
|
26
24
|
*/
|
|
27
25
|
username: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {IdentityKindEnum}
|
|
31
|
-
* @memberof Identity
|
|
32
28
|
*/
|
|
33
29
|
kind: IdentityKindEnum;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Identity
|
|
38
32
|
*/
|
|
39
33
|
groupId?: string | null;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Identity
|
|
44
36
|
*/
|
|
45
37
|
partnerId?: string | null;
|
|
46
38
|
}
|
|
@@ -53,7 +45,7 @@ export const IdentityKindEnum = {
|
|
|
53
45
|
Partner: 'partner',
|
|
54
46
|
Customer: 'customer',
|
|
55
47
|
Regular: 'regular',
|
|
56
|
-
Admin: 'admin'
|
|
48
|
+
Admin: 'admin',
|
|
57
49
|
} as const;
|
|
58
50
|
export type IdentityKindEnum = typeof IdentityKindEnum[keyof typeof IdentityKindEnum];
|
|
59
51
|
|
package/src/models/Info.ts
CHANGED
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Info {
|
|
22
22
|
/**
|
|
23
23
|
* Git commit hash
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Info
|
|
26
24
|
*/
|
|
27
25
|
gitCommit: string;
|
|
28
26
|
/**
|
|
29
27
|
* Version name, based on git tag
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Info
|
|
32
28
|
*/
|
|
33
29
|
versionName: string;
|
|
34
30
|
/**
|
|
35
31
|
* Agent git commit hash
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Info
|
|
38
32
|
*/
|
|
39
33
|
agentGitCommit?: string | null;
|
|
40
34
|
/**
|
|
41
35
|
* Agent version name, based on git tag
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Info
|
|
44
36
|
*/
|
|
45
37
|
agentVersionName?: string | null;
|
|
46
38
|
}
|
package/src/models/Infra.ts
CHANGED
|
@@ -43,77 +43,53 @@ import {
|
|
|
43
43
|
export interface Infra {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof Infra
|
|
48
46
|
*/
|
|
49
47
|
totalHosts: number;
|
|
50
48
|
/**
|
|
51
49
|
*
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof Infra
|
|
54
50
|
*/
|
|
55
51
|
totalDatacenters?: number;
|
|
56
52
|
/**
|
|
57
53
|
*
|
|
58
|
-
* @type {number}
|
|
59
|
-
* @memberof Infra
|
|
60
54
|
* @deprecated
|
|
61
55
|
*/
|
|
62
56
|
totalClusters?: number;
|
|
63
57
|
/**
|
|
64
58
|
*
|
|
65
|
-
* @type {Array<number>}
|
|
66
|
-
* @memberof Infra
|
|
67
59
|
*/
|
|
68
60
|
clustersPerDatacenter?: Array<number>;
|
|
69
61
|
/**
|
|
70
62
|
* CPU Overcommitment Ratio. Calculated as total Allocated vCPUs / Total Physical Cores
|
|
71
|
-
* @type {number}
|
|
72
|
-
* @memberof Infra
|
|
73
63
|
*/
|
|
74
64
|
cpuOverCommitment?: number;
|
|
75
65
|
/**
|
|
76
66
|
* RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available
|
|
77
|
-
* @type {number}
|
|
78
|
-
* @memberof Infra
|
|
79
67
|
*/
|
|
80
68
|
memoryOverCommitment?: number;
|
|
81
69
|
/**
|
|
82
70
|
*
|
|
83
|
-
* @type {Array<Host>}
|
|
84
|
-
* @memberof Infra
|
|
85
71
|
*/
|
|
86
72
|
hosts?: Array<Host>;
|
|
87
73
|
/**
|
|
88
74
|
*
|
|
89
|
-
* @type {Array<number>}
|
|
90
|
-
* @memberof Infra
|
|
91
75
|
* @deprecated
|
|
92
76
|
*/
|
|
93
77
|
hostsPerCluster?: Array<number>;
|
|
94
78
|
/**
|
|
95
79
|
*
|
|
96
|
-
* @type {Array<number>}
|
|
97
|
-
* @memberof Infra
|
|
98
80
|
* @deprecated
|
|
99
81
|
*/
|
|
100
82
|
vmsPerCluster?: Array<number>;
|
|
101
83
|
/**
|
|
102
84
|
*
|
|
103
|
-
* @type {{ [key: string]: number; }}
|
|
104
|
-
* @memberof Infra
|
|
105
85
|
*/
|
|
106
86
|
hostPowerStates: { [key: string]: number; };
|
|
107
87
|
/**
|
|
108
88
|
*
|
|
109
|
-
* @type {Array<Network>}
|
|
110
|
-
* @memberof Infra
|
|
111
89
|
*/
|
|
112
90
|
networks: Array<Network>;
|
|
113
91
|
/**
|
|
114
92
|
*
|
|
115
|
-
* @type {Array<Datastore>}
|
|
116
|
-
* @memberof Infra
|
|
117
93
|
*/
|
|
118
94
|
datastores: Array<Datastore>;
|
|
119
95
|
}
|
package/src/models/Inventory.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 { InventoryData } from './InventoryData.js';
|
|
17
17
|
import {
|
|
18
18
|
InventoryDataFromJSON,
|
|
@@ -29,28 +29,24 @@ import {
|
|
|
29
29
|
export interface Inventory {
|
|
30
30
|
/**
|
|
31
31
|
* ID of the vCenter
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Inventory
|
|
34
32
|
*/
|
|
35
33
|
vcenterId: string;
|
|
36
34
|
/**
|
|
37
35
|
* Version of the vCenter api. For example "8.0.3.0"
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Inventory
|
|
40
36
|
*/
|
|
41
37
|
vcenterVersion?: string;
|
|
42
38
|
/**
|
|
43
39
|
* Map of cluster names to their inventory data
|
|
44
|
-
* @type {{ [key: string]: InventoryData; }}
|
|
45
|
-
* @memberof Inventory
|
|
46
40
|
*/
|
|
47
41
|
clusters: { [key: string]: InventoryData; };
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
|
-
* @type {InventoryData}
|
|
51
|
-
* @memberof Inventory
|
|
52
44
|
*/
|
|
53
45
|
vcenter?: InventoryData;
|
|
46
|
+
/**
|
|
47
|
+
* Timestamp when the inventory data was created or collected
|
|
48
|
+
*/
|
|
49
|
+
createdAt?: Date;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
52
|
/**
|
|
@@ -76,6 +72,7 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
76
72
|
'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
77
73
|
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
78
74
|
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
75
|
+
'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
|
|
79
76
|
};
|
|
80
77
|
}
|
|
81
78
|
|
|
@@ -94,6 +91,7 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
|
|
|
94
91
|
'vcenter_version': value['vcenterVersion'],
|
|
95
92
|
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
96
93
|
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
94
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
97
95
|
};
|
|
98
96
|
}
|
|
99
97
|
|