@openshift-migration-advisor/planner-sdk 0.11.0 → 0.12.0-7e11634ba97d
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 +20 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +25 -4
- package/dist/apis/AccountApi.d.ts +8 -2
- package/dist/apis/AccountApi.js +21 -15
- package/dist/apis/AssessmentApi.d.ts +118 -2
- package/dist/apis/AssessmentApi.js +151 -17
- package/dist/apis/HealthApi.d.ts +1 -1
- package/dist/apis/HealthApi.js +1 -1
- package/dist/apis/ImageApi.d.ts +2 -2
- package/dist/apis/ImageApi.js +3 -3
- package/dist/apis/InfoApi.d.ts +2 -2
- package/dist/apis/InfoApi.js +3 -3
- package/dist/apis/JobApi.d.ts +2 -2
- package/dist/apis/JobApi.js +5 -5
- package/dist/apis/PartnerApi.d.ts +327 -0
- package/dist/apis/PartnerApi.js +383 -0
- package/dist/apis/SourceApi.d.ts +6 -2
- package/dist/apis/SourceApi.js +16 -12
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AccountApi.d.ts +8 -2
- package/dist/esm/apis/AccountApi.js +8 -2
- package/dist/esm/apis/AssessmentApi.d.ts +118 -2
- package/dist/esm/apis/AssessmentApi.js +136 -2
- package/dist/esm/apis/HealthApi.d.ts +1 -1
- package/dist/esm/apis/HealthApi.js +1 -1
- package/dist/esm/apis/ImageApi.d.ts +2 -2
- package/dist/esm/apis/ImageApi.js +2 -2
- package/dist/esm/apis/InfoApi.d.ts +2 -2
- package/dist/esm/apis/InfoApi.js +2 -2
- package/dist/esm/apis/JobApi.d.ts +2 -2
- package/dist/esm/apis/JobApi.js +2 -2
- package/dist/esm/apis/PartnerApi.d.ts +327 -0
- package/dist/esm/apis/PartnerApi.js +379 -0
- package/dist/esm/apis/SourceApi.d.ts +6 -2
- package/dist/esm/apis/SourceApi.js +6 -2
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Agent.d.ts +1 -1
- package/dist/esm/models/Agent.js +1 -1
- package/dist/esm/models/AgentProxy.d.ts +1 -1
- package/dist/esm/models/AgentProxy.js +1 -1
- package/dist/esm/models/Assessment.d.ts +23 -1
- package/dist/esm/models/Assessment.js +14 -1
- package/dist/esm/models/AssessmentForm.d.ts +1 -1
- package/dist/esm/models/AssessmentForm.js +1 -1
- package/dist/esm/models/AssessmentSharing.d.ts +45 -0
- package/dist/esm/models/AssessmentSharing.js +50 -0
- package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
- package/dist/esm/models/AssessmentUpdate.js +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
- package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +119 -0
- package/dist/esm/models/ClusterRequirementsStoredInput.js +87 -0
- package/dist/esm/models/ClusterSizing.d.ts +1 -1
- package/dist/esm/models/ClusterSizing.js +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.js +1 -1
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSNameEntry.js +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.js +1 -1
- package/dist/esm/models/Customer.d.ts +62 -0
- package/dist/esm/models/Customer.js +63 -0
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimationContext.d.ts +1 -1
- package/dist/esm/models/EstimationContext.js +1 -1
- package/dist/esm/models/EstimationDetail.d.ts +1 -1
- package/dist/esm/models/EstimationDetail.js +1 -1
- package/dist/esm/models/Group.d.ts +1 -1
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupCreate.d.ts +1 -1
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/GroupUpdate.d.ts +1 -1
- package/dist/esm/models/GroupUpdate.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -1
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Identity.d.ts +1 -1
- package/dist/esm/models/Identity.js +1 -1
- package/dist/esm/models/Info.d.ts +1 -1
- package/dist/esm/models/Info.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/Inventory.d.ts +1 -1
- package/dist/esm/models/Inventory.js +1 -1
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/InventoryTotals.d.ts +1 -1
- package/dist/esm/models/InventoryTotals.js +1 -1
- package/dist/esm/models/Ipv4Config.d.ts +1 -1
- package/dist/esm/models/Ipv4Config.js +1 -1
- package/dist/esm/models/Job.d.ts +1 -1
- package/dist/esm/models/Job.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +1 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +1 -1
- package/dist/esm/models/Label.js +1 -1
- package/dist/esm/models/Member.d.ts +1 -1
- package/dist/esm/models/Member.js +1 -1
- package/dist/esm/models/MemberCreate.d.ts +1 -1
- package/dist/esm/models/MemberCreate.js +1 -1
- package/dist/esm/models/MemberUpdate.d.ts +1 -1
- package/dist/esm/models/MemberUpdate.js +1 -1
- package/dist/esm/models/MigrationComplexityRequest.d.ts +1 -1
- package/dist/esm/models/MigrationComplexityRequest.js +1 -1
- package/dist/esm/models/MigrationComplexityResponse.d.ts +1 -1
- package/dist/esm/models/MigrationComplexityResponse.js +1 -1
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationByComplexityResponse.js +1 -1
- package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationRequest.js +1 -1
- package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationResponse.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -1
- package/dist/esm/models/ModelError.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PartnerRequest.d.ts +106 -0
- package/dist/esm/models/PartnerRequest.js +87 -0
- package/dist/esm/models/PartnerRequestCreate.d.ts +56 -0
- package/dist/esm/models/PartnerRequestCreate.js +59 -0
- package/dist/esm/models/PartnerRequestStatus.d.ts +27 -0
- package/dist/esm/models/PartnerRequestStatus.js +45 -0
- package/dist/esm/models/PartnerRequestUpdate.d.ts +39 -0
- package/dist/esm/models/PartnerRequestUpdate.js +46 -0
- package/dist/esm/models/PartnerSummary.d.ts +50 -0
- package/dist/esm/models/PartnerSummary.js +55 -0
- package/dist/esm/models/PresignedUrl.d.ts +1 -1
- package/dist/esm/models/PresignedUrl.js +1 -1
- package/dist/esm/models/SchemaEstimationResult.d.ts +1 -1
- package/dist/esm/models/SchemaEstimationResult.js +1 -1
- package/dist/esm/models/SharingSubject.d.ts +38 -0
- package/dist/esm/models/SharingSubject.js +47 -0
- package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/esm/models/SizingOverCommitRatio.js +1 -1
- package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/esm/models/SizingResourceConsumption.js +1 -1
- package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
- package/dist/esm/models/SizingResourceLimits.js +1 -1
- package/dist/esm/models/Snapshot.d.ts +1 -1
- package/dist/esm/models/Snapshot.js +1 -1
- package/dist/esm/models/Source.d.ts +1 -1
- package/dist/esm/models/Source.js +1 -1
- package/dist/esm/models/SourceCreate.d.ts +27 -1
- package/dist/esm/models/SourceCreate.js +14 -1
- package/dist/esm/models/SourceInfra.d.ts +1 -1
- package/dist/esm/models/SourceInfra.js +1 -1
- package/dist/esm/models/SourceUpdate.d.ts +27 -1
- package/dist/esm/models/SourceUpdate.js +14 -1
- package/dist/esm/models/Status.d.ts +1 -1
- package/dist/esm/models/Status.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +1 -1
- package/dist/esm/models/UpdateInventory.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +10 -1
- package/dist/esm/models/VMs.js +3 -1
- package/dist/esm/models/VmNetwork.d.ts +1 -1
- package/dist/esm/models/VmNetwork.js +1 -1
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/Agent.d.ts +1 -1
- package/dist/models/Agent.js +1 -1
- package/dist/models/AgentProxy.d.ts +1 -1
- package/dist/models/AgentProxy.js +1 -1
- package/dist/models/Assessment.d.ts +23 -1
- package/dist/models/Assessment.js +15 -2
- package/dist/models/AssessmentForm.d.ts +1 -1
- package/dist/models/AssessmentForm.js +1 -1
- package/dist/models/AssessmentSharing.d.ts +45 -0
- package/dist/models/AssessmentSharing.js +57 -0
- package/dist/models/AssessmentUpdate.d.ts +1 -1
- package/dist/models/AssessmentUpdate.js +1 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/models/ClusterRequirementsResponse.js +1 -1
- package/dist/models/ClusterRequirementsStoredInput.d.ts +119 -0
- package/dist/models/ClusterRequirementsStoredInput.js +95 -0
- package/dist/models/ClusterSizing.d.ts +1 -1
- package/dist/models/ClusterSizing.js +1 -1
- package/dist/models/ComplexityDiskScoreEntry.d.ts +1 -1
- package/dist/models/ComplexityDiskScoreEntry.js +1 -1
- package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/models/ComplexityOSNameEntry.js +1 -1
- package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/models/ComplexityOSScoreEntry.js +1 -1
- package/dist/models/Customer.d.ts +62 -0
- package/dist/models/Customer.js +70 -0
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimationContext.d.ts +1 -1
- package/dist/models/EstimationContext.js +1 -1
- package/dist/models/EstimationDetail.d.ts +1 -1
- package/dist/models/EstimationDetail.js +1 -1
- package/dist/models/Group.d.ts +1 -1
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupCreate.d.ts +1 -1
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/GroupUpdate.d.ts +1 -1
- package/dist/models/GroupUpdate.js +1 -1
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -1
- package/dist/models/Host.js +1 -1
- package/dist/models/Identity.d.ts +1 -1
- package/dist/models/Identity.js +1 -1
- package/dist/models/Info.d.ts +1 -1
- package/dist/models/Info.js +1 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/Inventory.d.ts +1 -1
- package/dist/models/Inventory.js +1 -1
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/InventoryTotals.d.ts +1 -1
- package/dist/models/InventoryTotals.js +1 -1
- package/dist/models/Ipv4Config.d.ts +1 -1
- package/dist/models/Ipv4Config.js +1 -1
- package/dist/models/Job.d.ts +1 -1
- package/dist/models/Job.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +1 -1
- package/dist/models/Label.js +1 -1
- package/dist/models/Member.d.ts +1 -1
- package/dist/models/Member.js +1 -1
- package/dist/models/MemberCreate.d.ts +1 -1
- package/dist/models/MemberCreate.js +1 -1
- package/dist/models/MemberUpdate.d.ts +1 -1
- package/dist/models/MemberUpdate.js +1 -1
- package/dist/models/MigrationComplexityRequest.d.ts +1 -1
- package/dist/models/MigrationComplexityRequest.js +1 -1
- package/dist/models/MigrationComplexityResponse.d.ts +1 -1
- package/dist/models/MigrationComplexityResponse.js +1 -1
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationByComplexityResponse.js +1 -1
- package/dist/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/models/MigrationEstimationRequest.js +1 -1
- package/dist/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationResponse.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/ModelError.d.ts +1 -1
- package/dist/models/ModelError.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OsDiskEstimationEntry.d.ts +1 -1
- package/dist/models/OsDiskEstimationEntry.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PartnerRequest.d.ts +106 -0
- package/dist/models/PartnerRequest.js +94 -0
- package/dist/models/PartnerRequestCreate.d.ts +56 -0
- package/dist/models/PartnerRequestCreate.js +66 -0
- package/dist/models/PartnerRequestStatus.d.ts +27 -0
- package/dist/models/PartnerRequestStatus.js +53 -0
- package/dist/models/PartnerRequestUpdate.d.ts +39 -0
- package/dist/models/PartnerRequestUpdate.js +53 -0
- package/dist/models/PartnerSummary.d.ts +50 -0
- package/dist/models/PartnerSummary.js +62 -0
- package/dist/models/PresignedUrl.d.ts +1 -1
- package/dist/models/PresignedUrl.js +1 -1
- package/dist/models/SchemaEstimationResult.d.ts +1 -1
- package/dist/models/SchemaEstimationResult.js +1 -1
- package/dist/models/SharingSubject.d.ts +38 -0
- package/dist/models/SharingSubject.js +54 -0
- package/dist/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/models/SizingOverCommitRatio.js +1 -1
- package/dist/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/models/SizingResourceConsumption.js +1 -1
- package/dist/models/SizingResourceLimits.d.ts +1 -1
- package/dist/models/SizingResourceLimits.js +1 -1
- package/dist/models/Snapshot.d.ts +1 -1
- package/dist/models/Snapshot.js +1 -1
- package/dist/models/Source.d.ts +1 -1
- package/dist/models/Source.js +1 -1
- package/dist/models/SourceCreate.d.ts +27 -1
- package/dist/models/SourceCreate.js +15 -1
- package/dist/models/SourceInfra.d.ts +1 -1
- package/dist/models/SourceInfra.js +1 -1
- package/dist/models/SourceUpdate.d.ts +27 -1
- package/dist/models/SourceUpdate.js +15 -1
- package/dist/models/Status.d.ts +1 -1
- package/dist/models/Status.js +1 -1
- package/dist/models/UpdateInventory.d.ts +1 -1
- package/dist/models/UpdateInventory.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +10 -1
- package/dist/models/VMs.js +3 -1
- package/dist/models/VmNetwork.d.ts +1 -1
- package/dist/models/VmNetwork.js +1 -1
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/Assessment.md +4 -0
- package/docs/AssessmentApi.md +222 -0
- package/docs/AssessmentSharing.md +38 -0
- package/docs/ClusterRequirementsStoredInput.md +55 -0
- package/docs/Customer.md +44 -0
- package/docs/PartnerApi.md +636 -0
- package/docs/PartnerRequest.md +58 -0
- package/docs/PartnerRequestCreate.md +42 -0
- package/docs/PartnerRequestStatus.md +32 -0
- package/docs/PartnerRequestUpdate.md +36 -0
- package/docs/PartnerSummary.md +40 -0
- package/docs/SharingSubject.md +36 -0
- package/docs/SourceApi.md +1 -1
- package/docs/SourceCreate.md +6 -0
- package/docs/SourceUpdate.md +6 -0
- package/docs/VMs.md +2 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +21 -12
- package/src/apis/AssessmentApi.ts +267 -15
- package/src/apis/HealthApi.ts +1 -2
- package/src/apis/ImageApi.ts +3 -6
- package/src/apis/InfoApi.ts +3 -6
- package/src/apis/JobApi.ts +3 -6
- package/src/apis/PartnerApi.ts +676 -0
- package/src/apis/SourceApi.ts +15 -10
- package/src/apis/index.ts +1 -0
- package/src/models/Agent.ts +1 -1
- package/src/models/AgentProxy.ts +1 -1
- package/src/models/Assessment.ts +34 -1
- package/src/models/AssessmentForm.ts +1 -1
- package/src/models/AssessmentSharing.ts +91 -0
- package/src/models/AssessmentUpdate.ts +1 -1
- package/src/models/ClusterRequirementsRequest.ts +1 -1
- package/src/models/ClusterRequirementsResponse.ts +1 -1
- package/src/models/ClusterRequirementsStoredInput.ts +178 -0
- package/src/models/ClusterSizing.ts +1 -1
- package/src/models/ComplexityDiskScoreEntry.ts +1 -1
- package/src/models/ComplexityOSNameEntry.ts +1 -1
- package/src/models/ComplexityOSScoreEntry.ts +1 -1
- package/src/models/Customer.ts +111 -0
- package/src/models/Datastore.ts +1 -1
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimationContext.ts +1 -1
- package/src/models/EstimationDetail.ts +1 -1
- package/src/models/Group.ts +1 -1
- package/src/models/GroupCreate.ts +1 -1
- package/src/models/GroupUpdate.ts +1 -1
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Identity.ts +1 -1
- package/src/models/Info.ts +1 -1
- package/src/models/Infra.ts +1 -1
- package/src/models/Inventory.ts +1 -1
- package/src/models/InventoryData.ts +1 -1
- package/src/models/InventoryTotals.ts +1 -1
- package/src/models/Ipv4Config.ts +1 -1
- package/src/models/Job.ts +1 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +1 -1
- package/src/models/Member.ts +1 -1
- package/src/models/MemberCreate.ts +1 -1
- package/src/models/MemberUpdate.ts +1 -1
- package/src/models/MigrationComplexityRequest.ts +1 -1
- package/src/models/MigrationComplexityResponse.ts +1 -1
- package/src/models/MigrationEstimationByComplexityResponse.ts +1 -1
- package/src/models/MigrationEstimationRequest.ts +1 -1
- package/src/models/MigrationEstimationResponse.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/ModelError.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/OsDiskEstimationEntry.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PartnerRequest.ts +188 -0
- package/src/models/PartnerRequestCreate.ts +102 -0
- package/src/models/PartnerRequestStatus.ts +55 -0
- package/src/models/PartnerRequestUpdate.ts +84 -0
- package/src/models/PartnerSummary.ts +93 -0
- package/src/models/PresignedUrl.ts +1 -1
- package/src/models/SchemaEstimationResult.ts +1 -1
- package/src/models/SharingSubject.ts +75 -0
- package/src/models/SizingOverCommitRatio.ts +1 -1
- package/src/models/SizingResourceConsumption.ts +1 -1
- package/src/models/SizingResourceLimits.ts +1 -1
- package/src/models/Snapshot.ts +1 -1
- package/src/models/Source.ts +1 -1
- package/src/models/SourceCreate.ts +36 -1
- package/src/models/SourceInfra.ts +1 -1
- package/src/models/SourceUpdate.ts +36 -1
- package/src/models/Status.ts +1 -1
- package/src/models/UpdateInventory.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +10 -1
- package/src/models/VmNetwork.ts +1 -1
- package/src/models/index.ts +9 -0
- package/src/runtime.ts +1 -2
package/dist/models/VmNetwork.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/index.d.ts
CHANGED
|
@@ -2,13 +2,16 @@ export * from './Agent.js';
|
|
|
2
2
|
export * from './AgentProxy.js';
|
|
3
3
|
export * from './Assessment.js';
|
|
4
4
|
export * from './AssessmentForm.js';
|
|
5
|
+
export * from './AssessmentSharing.js';
|
|
5
6
|
export * from './AssessmentUpdate.js';
|
|
6
7
|
export * from './ClusterRequirementsRequest.js';
|
|
7
8
|
export * from './ClusterRequirementsResponse.js';
|
|
9
|
+
export * from './ClusterRequirementsStoredInput.js';
|
|
8
10
|
export * from './ClusterSizing.js';
|
|
9
11
|
export * from './ComplexityDiskScoreEntry.js';
|
|
10
12
|
export * from './ComplexityOSNameEntry.js';
|
|
11
13
|
export * from './ComplexityOSScoreEntry.js';
|
|
14
|
+
export * from './Customer.js';
|
|
12
15
|
export * from './Datastore.js';
|
|
13
16
|
export * from './DiskSizeTierSummary.js';
|
|
14
17
|
export * from './DiskTypeSummary.js';
|
|
@@ -42,8 +45,14 @@ export * from './ModelError.js';
|
|
|
42
45
|
export * from './Network.js';
|
|
43
46
|
export * from './OsDiskEstimationEntry.js';
|
|
44
47
|
export * from './OsInfo.js';
|
|
48
|
+
export * from './PartnerRequest.js';
|
|
49
|
+
export * from './PartnerRequestCreate.js';
|
|
50
|
+
export * from './PartnerRequestStatus.js';
|
|
51
|
+
export * from './PartnerRequestUpdate.js';
|
|
52
|
+
export * from './PartnerSummary.js';
|
|
45
53
|
export * from './PresignedUrl.js';
|
|
46
54
|
export * from './SchemaEstimationResult.js';
|
|
55
|
+
export * from './SharingSubject.js';
|
|
47
56
|
export * from './SizingOverCommitRatio.js';
|
|
48
57
|
export * from './SizingResourceConsumption.js';
|
|
49
58
|
export * from './SizingResourceLimits.js';
|
package/dist/models/index.js
CHANGED
|
@@ -20,13 +20,16 @@ __exportStar(require("./Agent.js"), exports);
|
|
|
20
20
|
__exportStar(require("./AgentProxy.js"), exports);
|
|
21
21
|
__exportStar(require("./Assessment.js"), exports);
|
|
22
22
|
__exportStar(require("./AssessmentForm.js"), exports);
|
|
23
|
+
__exportStar(require("./AssessmentSharing.js"), exports);
|
|
23
24
|
__exportStar(require("./AssessmentUpdate.js"), exports);
|
|
24
25
|
__exportStar(require("./ClusterRequirementsRequest.js"), exports);
|
|
25
26
|
__exportStar(require("./ClusterRequirementsResponse.js"), exports);
|
|
27
|
+
__exportStar(require("./ClusterRequirementsStoredInput.js"), exports);
|
|
26
28
|
__exportStar(require("./ClusterSizing.js"), exports);
|
|
27
29
|
__exportStar(require("./ComplexityDiskScoreEntry.js"), exports);
|
|
28
30
|
__exportStar(require("./ComplexityOSNameEntry.js"), exports);
|
|
29
31
|
__exportStar(require("./ComplexityOSScoreEntry.js"), exports);
|
|
32
|
+
__exportStar(require("./Customer.js"), exports);
|
|
30
33
|
__exportStar(require("./Datastore.js"), exports);
|
|
31
34
|
__exportStar(require("./DiskSizeTierSummary.js"), exports);
|
|
32
35
|
__exportStar(require("./DiskTypeSummary.js"), exports);
|
|
@@ -60,8 +63,14 @@ __exportStar(require("./ModelError.js"), exports);
|
|
|
60
63
|
__exportStar(require("./Network.js"), exports);
|
|
61
64
|
__exportStar(require("./OsDiskEstimationEntry.js"), exports);
|
|
62
65
|
__exportStar(require("./OsInfo.js"), exports);
|
|
66
|
+
__exportStar(require("./PartnerRequest.js"), exports);
|
|
67
|
+
__exportStar(require("./PartnerRequestCreate.js"), exports);
|
|
68
|
+
__exportStar(require("./PartnerRequestStatus.js"), exports);
|
|
69
|
+
__exportStar(require("./PartnerRequestUpdate.js"), exports);
|
|
70
|
+
__exportStar(require("./PartnerSummary.js"), exports);
|
|
63
71
|
__exportStar(require("./PresignedUrl.js"), exports);
|
|
64
72
|
__exportStar(require("./SchemaEstimationResult.js"), exports);
|
|
73
|
+
__exportStar(require("./SharingSubject.js"), exports);
|
|
65
74
|
__exportStar(require("./SizingOverCommitRatio.js"), exports);
|
|
66
75
|
__exportStar(require("./SizingResourceConsumption.js"), exports);
|
|
67
76
|
__exportStar(require("./SizingResourceLimits.js"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenShift Migration Advisor API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Assessment.md
CHANGED
|
@@ -14,6 +14,8 @@ Name | Type
|
|
|
14
14
|
`sourceId` | string
|
|
15
15
|
`createdAt` | Date
|
|
16
16
|
`snapshots` | [Array<Snapshot>](Snapshot.md)
|
|
17
|
+
`permissions` | Array<string>
|
|
18
|
+
`sharing` | [AssessmentSharing](AssessmentSharing.md)
|
|
17
19
|
|
|
18
20
|
## Example
|
|
19
21
|
|
|
@@ -30,6 +32,8 @@ const example = {
|
|
|
30
32
|
"sourceId": null,
|
|
31
33
|
"createdAt": null,
|
|
32
34
|
"snapshots": null,
|
|
35
|
+
"permissions": null,
|
|
36
|
+
"sharing": null,
|
|
33
37
|
} satisfies Assessment
|
|
34
38
|
|
|
35
39
|
console.log(example)
|
package/docs/AssessmentApi.md
CHANGED
|
@@ -11,7 +11,10 @@ All URIs are relative to *https://raw.githubusercontent.com*
|
|
|
11
11
|
| [**createAssessment**](AssessmentApi.md#createassessment) | **POST** /api/v1/assessments | |
|
|
12
12
|
| [**deleteAssessment**](AssessmentApi.md#deleteassessment) | **DELETE** /api/v1/assessments/{id} | |
|
|
13
13
|
| [**getAssessment**](AssessmentApi.md#getassessment) | **GET** /api/v1/assessments/{id} | |
|
|
14
|
+
| [**getAssessmentClusterRequirementsStoredInput**](AssessmentApi.md#getassessmentclusterrequirementsstoredinput) | **GET** /api/v1/assessments/{id}/cluster-requirements/stored-input | |
|
|
14
15
|
| [**listAssessments**](AssessmentApi.md#listassessments) | **GET** /api/v1/assessments | |
|
|
16
|
+
| [**shareAssessment**](AssessmentApi.md#shareassessment) | **POST** /api/v1/assessments/{id}/share | |
|
|
17
|
+
| [**unshareAssessment**](AssessmentApi.md#unshareassessment) | **DELETE** /api/v1/assessments/{id}/share | |
|
|
15
18
|
| [**updateAssessment**](AssessmentApi.md#updateassessment) | **PUT** /api/v1/assessments/{id} | |
|
|
16
19
|
|
|
17
20
|
|
|
@@ -531,6 +534,81 @@ No authorization required
|
|
|
531
534
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
532
535
|
|
|
533
536
|
|
|
537
|
+
## getAssessmentClusterRequirementsStoredInput
|
|
538
|
+
|
|
539
|
+
> ClusterRequirementsStoredInput getAssessmentClusterRequirementsStoredInput(id, clusterId)
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
Get stored cluster requirements input for an assessment cluster
|
|
544
|
+
|
|
545
|
+
### Example
|
|
546
|
+
|
|
547
|
+
```ts
|
|
548
|
+
import {
|
|
549
|
+
Configuration,
|
|
550
|
+
AssessmentApi,
|
|
551
|
+
} from '@openshift-migration-advisor/planner-sdk';
|
|
552
|
+
import type { GetAssessmentClusterRequirementsStoredInputRequest } from '@openshift-migration-advisor/planner-sdk';
|
|
553
|
+
|
|
554
|
+
async function example() {
|
|
555
|
+
console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
|
|
556
|
+
const api = new AssessmentApi();
|
|
557
|
+
|
|
558
|
+
const body = {
|
|
559
|
+
// string | ID of the assessment
|
|
560
|
+
id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
561
|
+
// string | ID of the VMware cluster
|
|
562
|
+
clusterId: clusterId_example,
|
|
563
|
+
} satisfies GetAssessmentClusterRequirementsStoredInputRequest;
|
|
564
|
+
|
|
565
|
+
try {
|
|
566
|
+
const data = await api.getAssessmentClusterRequirementsStoredInput(body);
|
|
567
|
+
console.log(data);
|
|
568
|
+
} catch (error) {
|
|
569
|
+
console.error(error);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
// Run the test
|
|
574
|
+
example().catch(console.error);
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
### Parameters
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
| Name | Type | Description | Notes |
|
|
581
|
+
|------------- | ------------- | ------------- | -------------|
|
|
582
|
+
| **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
|
|
583
|
+
| **clusterId** | `string` | ID of the VMware cluster | [Defaults to `undefined`] |
|
|
584
|
+
|
|
585
|
+
### Return type
|
|
586
|
+
|
|
587
|
+
[**ClusterRequirementsStoredInput**](ClusterRequirementsStoredInput.md)
|
|
588
|
+
|
|
589
|
+
### Authorization
|
|
590
|
+
|
|
591
|
+
No authorization required
|
|
592
|
+
|
|
593
|
+
### HTTP request headers
|
|
594
|
+
|
|
595
|
+
- **Content-Type**: Not defined
|
|
596
|
+
- **Accept**: `application/json`
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
### HTTP response details
|
|
600
|
+
| Status code | Description | Response headers |
|
|
601
|
+
|-------------|-------------|------------------|
|
|
602
|
+
| **200** | Stored cluster requirements input found | - |
|
|
603
|
+
| **400** | Bad Request | - |
|
|
604
|
+
| **401** | Unauthorized | - |
|
|
605
|
+
| **403** | Forbidden | - |
|
|
606
|
+
| **404** | Assessment or cluster requirements input not found | - |
|
|
607
|
+
| **500** | Internal error | - |
|
|
608
|
+
|
|
609
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
610
|
+
|
|
611
|
+
|
|
534
612
|
## listAssessments
|
|
535
613
|
|
|
536
614
|
> Array<Assessment> listAssessments(sourceId)
|
|
@@ -600,6 +678,150 @@ No authorization required
|
|
|
600
678
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
601
679
|
|
|
602
680
|
|
|
681
|
+
## shareAssessment
|
|
682
|
+
|
|
683
|
+
> Status shareAssessment(id)
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
Share an assessment with the user\'s partner organization
|
|
688
|
+
|
|
689
|
+
### Example
|
|
690
|
+
|
|
691
|
+
```ts
|
|
692
|
+
import {
|
|
693
|
+
Configuration,
|
|
694
|
+
AssessmentApi,
|
|
695
|
+
} from '@openshift-migration-advisor/planner-sdk';
|
|
696
|
+
import type { ShareAssessmentRequest } from '@openshift-migration-advisor/planner-sdk';
|
|
697
|
+
|
|
698
|
+
async function example() {
|
|
699
|
+
console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
|
|
700
|
+
const api = new AssessmentApi();
|
|
701
|
+
|
|
702
|
+
const body = {
|
|
703
|
+
// string | ID of the assessment
|
|
704
|
+
id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
705
|
+
} satisfies ShareAssessmentRequest;
|
|
706
|
+
|
|
707
|
+
try {
|
|
708
|
+
const data = await api.shareAssessment(body);
|
|
709
|
+
console.log(data);
|
|
710
|
+
} catch (error) {
|
|
711
|
+
console.error(error);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
// Run the test
|
|
716
|
+
example().catch(console.error);
|
|
717
|
+
```
|
|
718
|
+
|
|
719
|
+
### Parameters
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
| Name | Type | Description | Notes |
|
|
723
|
+
|------------- | ------------- | ------------- | -------------|
|
|
724
|
+
| **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
|
|
725
|
+
|
|
726
|
+
### Return type
|
|
727
|
+
|
|
728
|
+
[**Status**](Status.md)
|
|
729
|
+
|
|
730
|
+
### Authorization
|
|
731
|
+
|
|
732
|
+
No authorization required
|
|
733
|
+
|
|
734
|
+
### HTTP request headers
|
|
735
|
+
|
|
736
|
+
- **Content-Type**: Not defined
|
|
737
|
+
- **Accept**: `application/json`
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
### HTTP response details
|
|
741
|
+
| Status code | Description | Response headers |
|
|
742
|
+
|-------------|-------------|------------------|
|
|
743
|
+
| **200** | OK | - |
|
|
744
|
+
| **400** | Bad Request | - |
|
|
745
|
+
| **401** | Unauthorized | - |
|
|
746
|
+
| **403** | Forbidden | - |
|
|
747
|
+
| **404** | NotFound | - |
|
|
748
|
+
| **500** | Internal error | - |
|
|
749
|
+
|
|
750
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
## unshareAssessment
|
|
754
|
+
|
|
755
|
+
> Status unshareAssessment(id)
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
Unshare an assessment from the user\'s partner organization
|
|
760
|
+
|
|
761
|
+
### Example
|
|
762
|
+
|
|
763
|
+
```ts
|
|
764
|
+
import {
|
|
765
|
+
Configuration,
|
|
766
|
+
AssessmentApi,
|
|
767
|
+
} from '@openshift-migration-advisor/planner-sdk';
|
|
768
|
+
import type { UnshareAssessmentRequest } from '@openshift-migration-advisor/planner-sdk';
|
|
769
|
+
|
|
770
|
+
async function example() {
|
|
771
|
+
console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
|
|
772
|
+
const api = new AssessmentApi();
|
|
773
|
+
|
|
774
|
+
const body = {
|
|
775
|
+
// string | ID of the assessment
|
|
776
|
+
id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
777
|
+
} satisfies UnshareAssessmentRequest;
|
|
778
|
+
|
|
779
|
+
try {
|
|
780
|
+
const data = await api.unshareAssessment(body);
|
|
781
|
+
console.log(data);
|
|
782
|
+
} catch (error) {
|
|
783
|
+
console.error(error);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
// Run the test
|
|
788
|
+
example().catch(console.error);
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
### Parameters
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
| Name | Type | Description | Notes |
|
|
795
|
+
|------------- | ------------- | ------------- | -------------|
|
|
796
|
+
| **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
|
|
797
|
+
|
|
798
|
+
### Return type
|
|
799
|
+
|
|
800
|
+
[**Status**](Status.md)
|
|
801
|
+
|
|
802
|
+
### Authorization
|
|
803
|
+
|
|
804
|
+
No authorization required
|
|
805
|
+
|
|
806
|
+
### HTTP request headers
|
|
807
|
+
|
|
808
|
+
- **Content-Type**: Not defined
|
|
809
|
+
- **Accept**: `application/json`
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
### HTTP response details
|
|
813
|
+
| Status code | Description | Response headers |
|
|
814
|
+
|-------------|-------------|------------------|
|
|
815
|
+
| **200** | OK | - |
|
|
816
|
+
| **400** | Bad Request | - |
|
|
817
|
+
| **401** | Unauthorized | - |
|
|
818
|
+
| **403** | Forbidden | - |
|
|
819
|
+
| **404** | NotFound | - |
|
|
820
|
+
| **500** | Internal error | - |
|
|
821
|
+
|
|
822
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
823
|
+
|
|
824
|
+
|
|
603
825
|
## updateAssessment
|
|
604
826
|
|
|
605
827
|
> Assessment updateAssessment(id, assessmentUpdate)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# AssessmentSharing
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`isShared` | boolean
|
|
10
|
+
`sharedWith` | [Array<SharingSubject>](SharingSubject.md)
|
|
11
|
+
`sharedBy` | [SharingSubject](SharingSubject.md)
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { AssessmentSharing } from '@openshift-migration-advisor/planner-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"isShared": null,
|
|
21
|
+
"sharedWith": null,
|
|
22
|
+
"sharedBy": null,
|
|
23
|
+
} satisfies AssessmentSharing
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as AssessmentSharing
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
|
|
2
|
+
# ClusterRequirementsStoredInput
|
|
3
|
+
|
|
4
|
+
Stored cluster requirements payload for a cluster
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`clusterId` | string
|
|
11
|
+
`cpuOverCommitRatio` | string
|
|
12
|
+
`memoryOverCommitRatio` | string
|
|
13
|
+
`workerNodeCPU` | number
|
|
14
|
+
`workerNodeMemory` | number
|
|
15
|
+
`workerNodeThreads` | number
|
|
16
|
+
`controlPlaneSchedulable` | boolean
|
|
17
|
+
`controlPlaneCPU` | number
|
|
18
|
+
`controlPlaneMemory` | number
|
|
19
|
+
`controlPlaneNodeCount` | number
|
|
20
|
+
`hostedControlPlane` | boolean
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import type { ClusterRequirementsStoredInput } from '@openshift-migration-advisor/planner-sdk'
|
|
26
|
+
|
|
27
|
+
// TODO: Update the object below with actual values
|
|
28
|
+
const example = {
|
|
29
|
+
"clusterId": null,
|
|
30
|
+
"cpuOverCommitRatio": null,
|
|
31
|
+
"memoryOverCommitRatio": null,
|
|
32
|
+
"workerNodeCPU": null,
|
|
33
|
+
"workerNodeMemory": null,
|
|
34
|
+
"workerNodeThreads": null,
|
|
35
|
+
"controlPlaneSchedulable": null,
|
|
36
|
+
"controlPlaneCPU": null,
|
|
37
|
+
"controlPlaneMemory": null,
|
|
38
|
+
"controlPlaneNodeCount": null,
|
|
39
|
+
"hostedControlPlane": null,
|
|
40
|
+
} satisfies ClusterRequirementsStoredInput
|
|
41
|
+
|
|
42
|
+
console.log(example)
|
|
43
|
+
|
|
44
|
+
// Convert the instance to a JSON string
|
|
45
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
46
|
+
console.log(exampleJSON)
|
|
47
|
+
|
|
48
|
+
// Parse the JSON string back to an object
|
|
49
|
+
const exampleParsed = JSON.parse(exampleJSON) as ClusterRequirementsStoredInput
|
|
50
|
+
console.log(exampleParsed)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
54
|
+
|
|
55
|
+
|
package/docs/Customer.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# Customer
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`username` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
`contactName` | string
|
|
12
|
+
`contactPhone` | string
|
|
13
|
+
`email` | string
|
|
14
|
+
`location` | string
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { Customer } from '@openshift-migration-advisor/planner-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"username": null,
|
|
24
|
+
"name": null,
|
|
25
|
+
"contactName": null,
|
|
26
|
+
"contactPhone": null,
|
|
27
|
+
"email": null,
|
|
28
|
+
"location": null,
|
|
29
|
+
} satisfies Customer
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as Customer
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|