@openshift-migration-advisor/agent-sdk 0.19.0-a1ea9f4f3a71 → 0.19.0-ad34f3b0c020
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 +56 -64
- package/README.md +69 -94
- package/dist/apis/AgentApi.d.ts +95 -0
- package/dist/apis/AgentApi.js +109 -0
- package/dist/apis/ApplicationsApi.d.ts +64 -0
- package/dist/apis/ApplicationsApi.js +72 -0
- package/dist/apis/CollectionsApi.d.ts +217 -0
- package/dist/apis/CollectionsApi.js +216 -0
- package/dist/apis/CollectorApi.d.ts +116 -0
- package/dist/apis/CollectorApi.js +137 -0
- package/dist/apis/CredentialsApi.d.ts +168 -0
- package/dist/apis/CredentialsApi.js +187 -0
- package/dist/apis/GroupsApi.d.ts +374 -0
- package/dist/apis/GroupsApi.js +351 -0
- package/dist/apis/InspectorApi.d.ts +202 -0
- package/dist/apis/InspectorApi.js +240 -0
- package/dist/apis/InventoriesApi.d.ts +94 -0
- package/dist/apis/InventoriesApi.js +107 -0
- package/dist/apis/RightsizingApi.d.ts +109 -0
- package/dist/apis/RightsizingApi.js +116 -0
- package/dist/apis/VersionApi.d.ts +56 -0
- package/dist/apis/VersionApi.js +68 -0
- package/dist/apis/VirtualMachinesApi.d.ts +578 -0
- package/dist/apis/VirtualMachinesApi.js +576 -0
- package/dist/apis/index.d.ts +11 -1
- package/dist/apis/index.js +11 -1
- package/dist/esm/apis/AgentApi.d.ts +95 -0
- package/dist/esm/apis/AgentApi.js +105 -0
- package/dist/esm/apis/ApplicationsApi.d.ts +64 -0
- package/dist/esm/apis/ApplicationsApi.js +68 -0
- package/dist/esm/apis/CollectionsApi.d.ts +217 -0
- package/dist/esm/apis/CollectionsApi.js +212 -0
- package/dist/esm/apis/CollectorApi.d.ts +116 -0
- package/dist/esm/apis/CollectorApi.js +133 -0
- package/dist/esm/apis/CredentialsApi.d.ts +168 -0
- package/dist/esm/apis/CredentialsApi.js +183 -0
- package/dist/esm/apis/GroupsApi.d.ts +374 -0
- package/dist/esm/apis/GroupsApi.js +347 -0
- package/dist/esm/apis/InspectorApi.d.ts +202 -0
- package/dist/esm/apis/InspectorApi.js +236 -0
- package/dist/esm/apis/InventoriesApi.d.ts +94 -0
- package/dist/esm/apis/InventoriesApi.js +103 -0
- package/dist/esm/apis/RightsizingApi.d.ts +109 -0
- package/dist/esm/apis/RightsizingApi.js +112 -0
- package/dist/esm/apis/VersionApi.d.ts +56 -0
- package/dist/esm/apis/VersionApi.js +64 -0
- package/dist/esm/apis/VirtualMachinesApi.d.ts +578 -0
- package/dist/esm/apis/VirtualMachinesApi.js +572 -0
- package/dist/esm/apis/index.d.ts +11 -1
- package/dist/esm/apis/index.js +11 -1
- package/dist/esm/models/AgentModeRequest.d.ts +1 -3
- package/dist/esm/models/AgentModeRequest.js +1 -1
- package/dist/esm/models/AgentStatus.d.ts +4 -21
- package/dist/esm/models/AgentStatus.js +5 -13
- package/dist/esm/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/esm/models/AgentStatusConsoleConnection.js +52 -0
- package/dist/esm/models/ApplicationListResponse.d.ts +1 -3
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -12
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -7
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/CapabilityStatus.d.ts +1 -3
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +1 -7
- package/dist/esm/models/ClusterFeatures.js +1 -1
- package/dist/esm/models/ClusterUtilization.d.ts +1 -15
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/Collection.d.ts +38 -0
- package/dist/esm/models/Collection.js +51 -0
- package/dist/esm/models/CollectionAggregate.d.ts +50 -0
- package/dist/esm/models/CollectionAggregate.js +63 -0
- package/dist/esm/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/esm/models/CollectionComparisonDiff.js +60 -0
- package/dist/esm/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/esm/models/CollectionComparisonSummary.js +49 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.js +56 -0
- package/dist/esm/models/CollectionListResponse.d.ts +31 -0
- package/dist/esm/models/CollectionListResponse.js +44 -0
- package/dist/esm/models/CollectorStatus.d.ts +2 -5
- package/dist/esm/models/CollectorStatus.js +2 -1
- package/dist/esm/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/esm/models/ComparisonDiffEntry.js +47 -0
- package/dist/esm/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/esm/models/ComparisonDiffPage.js +55 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +4 -10
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -7
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -21
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -5
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/Group.d.ts +4 -16
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupListResponse.d.ts +4 -12
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -18
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -16
- package/dist/esm/models/GuestNetwork.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -7
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -13
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -25
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/InspectionStatus.d.ts +45 -0
- package/dist/esm/models/InspectionStatus.js +55 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -5
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory.d.ts +3 -25
- package/dist/esm/models/Inventory.js +5 -14
- package/dist/esm/models/Inventory1.d.ts +45 -0
- package/dist/esm/models/Inventory1.js +53 -0
- package/dist/esm/models/InventoryData.d.ts +1 -11
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -11
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -9
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -11
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OperationCapability.d.ts +1 -5
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -9
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/Process.d.ts +1 -5
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -43
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/StartInspectionRequest.d.ts +3 -12
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -7
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -3
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -5
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -47
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -11
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -8
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -10
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +15 -53
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +42 -108
- package/dist/esm/models/VirtualMachineDetail.js +20 -16
- package/dist/esm/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/esm/models/{VMDevice.js → VirtualMachineDevice.js} +9 -9
- package/dist/esm/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/esm/models/{VMDisk.js → VirtualMachineDisk.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/esm/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/esm/models/VirtualMachineInspectionResults.js +42 -0
- package/dist/esm/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/esm/models/{VMIssue.js → VirtualMachineIssue.js} +16 -16
- package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -11
- package/dist/esm/models/VirtualMachineListResponse.js +4 -4
- package/dist/esm/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/esm/models/{VMNIC.js → VirtualMachineNIC.js} +9 -13
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -5
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -38
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +17 -31
- package/dist/esm/models/index.js +17 -31
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AgentModeRequest.d.ts +1 -3
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +4 -21
- package/dist/models/AgentStatus.js +6 -14
- package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/models/AgentStatusConsoleConnection.js +60 -0
- package/dist/models/ApplicationListResponse.d.ts +1 -3
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -12
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -7
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/CapabilityStatus.d.ts +1 -3
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +1 -7
- package/dist/models/ClusterFeatures.js +1 -1
- package/dist/models/ClusterUtilization.d.ts +1 -15
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/Collection.d.ts +38 -0
- package/dist/models/Collection.js +58 -0
- package/dist/models/CollectionAggregate.d.ts +50 -0
- package/dist/models/CollectionAggregate.js +70 -0
- package/dist/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/models/CollectionComparisonDiff.js +68 -0
- package/dist/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/models/CollectionComparisonSummary.js +56 -0
- package/dist/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/models/CollectionComparisonSummaryDiff.js +63 -0
- package/dist/models/CollectionListResponse.d.ts +31 -0
- package/dist/models/CollectionListResponse.js +51 -0
- package/dist/models/CollectorStatus.d.ts +2 -5
- package/dist/models/CollectorStatus.js +2 -1
- package/dist/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/models/ComparisonDiffEntry.js +54 -0
- package/dist/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/models/ComparisonDiffPage.js +62 -0
- package/dist/models/CreateGroupRequest.d.ts +4 -10
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -7
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -21
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -9
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -5
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/Group.d.ts +4 -16
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupListResponse.d.ts +4 -12
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -18
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -16
- package/dist/models/GuestNetwork.js +1 -1
- package/dist/models/Histogram.d.ts +1 -7
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -13
- package/dist/models/Host.js +1 -1
- package/dist/models/Infra.d.ts +1 -25
- package/dist/models/Infra.js +1 -1
- package/dist/models/InspectionStatus.d.ts +45 -0
- package/dist/models/InspectionStatus.js +63 -0
- package/dist/models/InspectorStatus.d.ts +1 -5
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory.d.ts +3 -25
- package/dist/models/Inventory.js +5 -14
- package/dist/models/Inventory1.d.ts +45 -0
- package/dist/models/Inventory1.js +60 -0
- package/dist/models/InventoryData.d.ts +1 -11
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -11
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -9
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -11
- package/dist/models/Network.js +1 -1
- package/dist/models/OperationCapability.d.ts +1 -5
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -9
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/Process.d.ts +1 -5
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -43
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/StartInspectionRequest.d.ts +3 -12
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -7
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -3
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -5
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -47
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -11
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -8
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -10
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +15 -53
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +42 -108
- package/dist/models/VirtualMachineDetail.js +20 -16
- package/dist/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/models/VirtualMachineDevice.js +48 -0
- package/dist/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/models/{VMDisk.js → VirtualMachineDisk.js} +14 -14
- package/dist/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +14 -14
- package/dist/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/models/VirtualMachineInspectionResults.js +49 -0
- package/dist/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/models/VirtualMachineIssue.js +70 -0
- package/dist/models/VirtualMachineListResponse.d.ts +3 -11
- package/dist/models/VirtualMachineListResponse.js +4 -4
- package/dist/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/models/{VMNIC.js → VirtualMachineNIC.js} +14 -18
- package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -5
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -38
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +17 -31
- package/dist/models/index.js +17 -31
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/docs/AgentApi.md +136 -0
- package/docs/AgentStatus.md +2 -4
- package/docs/{ExportInventory400Response.md → AgentStatusConsoleConnection.md} +7 -5
- package/docs/ApplicationsApi.md +76 -0
- package/docs/Collection.md +38 -0
- package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
- package/docs/{EstimateRange.md → CollectionComparisonDiff.md} +10 -11
- package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
- package/docs/CollectionComparisonSummaryDiff.md +41 -0
- package/docs/CollectionListResponse.md +34 -0
- package/docs/CollectionsApi.md +291 -0
- package/docs/CollectorApi.md +187 -0
- package/docs/{VmInspectionResults.md → ComparisonDiffEntry.md} +10 -7
- package/docs/{RightsizingReportListResponse.md → ComparisonDiffPage.md} +10 -6
- package/docs/CredentialsApi.md +264 -0
- package/docs/DeleteLabelGloballyResponse.md +2 -2
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +527 -0
- package/docs/{ExportInventory500Response.md → InspectionStatus.md} +6 -4
- package/docs/InspectorApi.md +334 -0
- package/docs/InventoriesApi.md +136 -0
- package/docs/Inventory.md +2 -8
- package/docs/{GetInventory200Response.md → Inventory1.md} +4 -8
- package/docs/RightsizingApi.md +148 -0
- package/docs/StartInspectionRequest.md +0 -3
- package/docs/UpdateInventory.md +1 -1
- package/docs/VMLabelsResponse.md +2 -2
- package/docs/VersionApi.md +66 -0
- package/docs/VirtualMachine.md +5 -3
- package/docs/VirtualMachineDetail.md +7 -5
- package/docs/{VMDevice.md → VirtualMachineDevice.md} +4 -4
- package/docs/{VMDisk.md → VirtualMachineDisk.md} +4 -4
- package/docs/{VmInspectionConcern.md → VirtualMachineInspectionConcern.md} +4 -5
- package/docs/{DatastorePair.md → VirtualMachineInspectionResults.md} +7 -12
- package/docs/{VMIssue.md → VirtualMachineIssue.md} +4 -4
- package/docs/VirtualMachineListResponse.md +2 -2
- package/docs/{VMNIC.md → VirtualMachineNIC.md} +4 -8
- package/docs/VirtualMachineUpdateRequest.md +2 -2
- package/docs/VirtualMachinesApi.md +914 -0
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +176 -0
- package/src/apis/ApplicationsApi.ts +111 -0
- package/src/apis/CollectionsApi.ts +411 -0
- package/src/apis/CollectorApi.ts +209 -0
- package/src/apis/CredentialsApi.ts +308 -0
- package/src/apis/GroupsApi.ts +718 -0
- package/src/apis/InspectorApi.ts +405 -0
- package/src/apis/InventoriesApi.ts +169 -0
- package/src/apis/RightsizingApi.ts +205 -0
- package/src/apis/VersionApi.ts +94 -0
- package/src/apis/VirtualMachinesApi.ts +1142 -0
- package/src/apis/index.ts +11 -1
- package/src/models/AgentModeRequest.ts +1 -3
- package/src/models/AgentStatus.ts +14 -27
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- package/src/models/ApplicationListResponse.ts +1 -3
- package/src/models/ApplicationOverview.ts +4 -12
- package/src/models/ApplicationVM.ts +3 -7
- package/src/models/BatchUpdateExclusionRequest.ts +1 -5
- package/src/models/CapabilityStatus.ts +1 -3
- package/src/models/CapabilityStatusCapabilities.ts +1 -7
- package/src/models/ClusterFeatures.ts +1 -7
- package/src/models/ClusterUtilization.ts +1 -15
- package/src/models/Collection.ts +78 -0
- package/src/models/CollectionAggregate.ts +99 -0
- package/src/models/CollectionComparisonDiff.ts +98 -0
- package/src/models/CollectionComparisonSummary.ts +86 -0
- package/src/models/CollectionComparisonSummaryDiff.ts +93 -0
- package/src/models/CollectionListResponse.ts +72 -0
- package/src/models/CollectorStatus.ts +2 -5
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- package/src/models/CreateGroupRequest.ts +4 -10
- package/src/models/CredentialStatus.ts +1 -7
- package/src/models/Datastore.ts +1 -21
- package/src/models/DeleteLabelGloballyResponse.ts +8 -12
- package/src/models/DiskSizeTierSummary.ts +1 -5
- package/src/models/DiskTypeSummary.ts +1 -5
- package/src/models/Group.ts +4 -16
- package/src/models/GroupListResponse.ts +4 -12
- package/src/models/GroupResponse.ts +13 -25
- package/src/models/GuestNetwork.ts +6 -16
- package/src/models/Histogram.ts +1 -7
- package/src/models/Host.ts +1 -13
- package/src/models/Infra.ts +1 -25
- package/src/models/InspectionStatus.ts +84 -0
- package/src/models/InspectorStatus.ts +1 -5
- package/src/models/Inventory.ts +11 -38
- package/src/models/Inventory1.ts +91 -0
- package/src/models/InventoryData.ts +1 -11
- package/src/models/IssuesBreakdown.ts +1 -11
- package/src/models/MigrationIssue.ts +1 -9
- package/src/models/Network.ts +1 -11
- package/src/models/OperationCapability.ts +1 -5
- package/src/models/OsInfo.ts +1 -9
- package/src/models/Process.ts +1 -5
- package/src/models/RightsizingClusterResponse.ts +2 -6
- package/src/models/RightsizingClusterUtilization.ts +13 -43
- package/src/models/StartInspectionRequest.ts +3 -21
- package/src/models/StorageIoConfiguration.ts +1 -9
- package/src/models/UpdateGroupRequest.ts +4 -10
- package/src/models/UpdateInventory.ts +10 -14
- package/src/models/UpdateLabelVMsRequest.ts +1 -5
- package/src/models/VCenter.ts +1 -3
- package/src/models/VMFilterOptionsResponse.ts +1 -11
- package/src/models/VMLabelsResponse.ts +1 -5
- package/src/models/VMResourceBreakdown.ts +1 -11
- package/src/models/VMs.ts +1 -47
- package/src/models/VcenterCredentials.ts +1 -11
- package/src/models/VddkProperties.ts +2 -8
- package/src/models/VersionInfo.ts +4 -10
- package/src/models/VirtualMachine.ts +27 -62
- package/src/models/VirtualMachineDetail.ts +80 -143
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -31
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -18
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -14
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -5
- package/src/models/VmUtilizationDetails.ts +8 -38
- package/src/models/index.ts +17 -31
- package/src/runtime.ts +2 -2
- package/dist/apis/DefaultApi.d.ts +0 -1838
- package/dist/apis/DefaultApi.js +0 -2066
- package/dist/esm/apis/DefaultApi.d.ts +0 -1838
- package/dist/esm/apis/DefaultApi.js +0 -2062
- package/dist/esm/models/BenchmarkRun.d.ts +0 -104
- package/dist/esm/models/BenchmarkRun.js +0 -85
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -56
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastoreDetail.d.ts +0 -90
- package/dist/esm/models/DatastoreDetail.js +0 -74
- package/dist/esm/models/DatastorePair.d.ts +0 -50
- package/dist/esm/models/DatastorePair.js +0 -53
- package/dist/esm/models/EstimateRange.d.ts +0 -44
- package/dist/esm/models/EstimateRange.js +0 -45
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecastStats.d.ts +0 -87
- package/dist/esm/models/ForecastStats.js +0 -64
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/esm/models/ForecasterPairStatus.js +0 -82
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -58
- package/dist/esm/models/ForecasterStartRequest.js +0 -53
- package/dist/esm/models/ForecasterStatus.d.ts +0 -47
- package/dist/esm/models/ForecasterStatus.js +0 -53
- package/dist/esm/models/GetInventory200Response.d.ts +0 -23
- package/dist/esm/models/GetInventory200Response.js +0 -51
- package/dist/esm/models/PairCapability.d.ts +0 -60
- package/dist/esm/models/PairCapability.js +0 -64
- package/dist/esm/models/PairCapabilityRequest.d.ts +0 -40
- package/dist/esm/models/PairCapabilityRequest.js +0 -47
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -38
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -81
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -53
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/StopForecasterPair202Response.d.ts +0 -45
- package/dist/esm/models/StopForecasterPair202Response.js +0 -49
- package/dist/esm/models/VMDevice.d.ts +0 -32
- package/dist/esm/models/VMDisk.d.ts +0 -68
- package/dist/esm/models/VMIssue.d.ts +0 -56
- package/dist/esm/models/VMNIC.d.ts +0 -56
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -44
- package/dist/esm/models/VmInspectionResults.d.ts +0 -33
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -61
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/BenchmarkRun.d.ts +0 -104
- package/dist/models/BenchmarkRun.js +0 -92
- package/dist/models/CollectorStartRequest.d.ts +0 -56
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastoreDetail.d.ts +0 -90
- package/dist/models/DatastoreDetail.js +0 -82
- package/dist/models/DatastorePair.d.ts +0 -50
- package/dist/models/DatastorePair.js +0 -60
- package/dist/models/EstimateRange.d.ts +0 -44
- package/dist/models/EstimateRange.js +0 -52
- package/dist/models/ExportInventory400Response.d.ts +0 -32
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -32
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecastStats.d.ts +0 -87
- package/dist/models/ForecastStats.js +0 -71
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/models/ForecasterPairStatus.js +0 -90
- package/dist/models/ForecasterStartRequest.d.ts +0 -58
- package/dist/models/ForecasterStartRequest.js +0 -60
- package/dist/models/ForecasterStatus.d.ts +0 -47
- package/dist/models/ForecasterStatus.js +0 -61
- package/dist/models/GetInventory200Response.d.ts +0 -23
- package/dist/models/GetInventory200Response.js +0 -57
- package/dist/models/PairCapability.d.ts +0 -60
- package/dist/models/PairCapability.js +0 -72
- package/dist/models/PairCapabilityRequest.d.ts +0 -40
- package/dist/models/PairCapabilityRequest.js +0 -54
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -38
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -81
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -53
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/StopForecasterPair202Response.d.ts +0 -45
- package/dist/models/StopForecasterPair202Response.js +0 -57
- package/dist/models/VMDevice.d.ts +0 -32
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -68
- package/dist/models/VMIssue.d.ts +0 -56
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -56
- package/dist/models/VmInspectionConcern.d.ts +0 -44
- package/dist/models/VmInspectionResults.d.ts +0 -33
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -61
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/BenchmarkRun.md +0 -58
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DatastoreDetail.md +0 -50
- package/docs/DefaultApi.md +0 -3361
- package/docs/ForecastStats.md +0 -52
- package/docs/ForecasterPairStatus.md +0 -52
- package/docs/ForecasterStartRequest.md +0 -42
- package/docs/ForecasterStatus.md +0 -36
- package/docs/PairCapability.md +0 -40
- package/docs/PairCapabilityRequest.md +0 -36
- package/docs/PutForecasterCredentials403Response.md +0 -36
- package/docs/RightsizingCollectRequest.md +0 -46
- package/docs/RightsizingMetricStats.md +0 -44
- package/docs/RightsizingReport.md +0 -50
- package/docs/RightsizingReportSummary.md +0 -49
- package/docs/RightsizingVMReport.md +0 -40
- package/docs/StopForecasterPair202Response.md +0 -36
- package/docs/VmInspectionStatus.md +0 -40
- package/src/apis/DefaultApi.ts +0 -3836
- package/src/models/BenchmarkRun.ts +0 -171
- package/src/models/CollectorStartRequest.ts +0 -97
- package/src/models/DatastoreDetail.ts +0 -146
- package/src/models/DatastorePair.ts +0 -92
- package/src/models/EstimateRange.ts +0 -81
- package/src/models/ExportInventory400Response.ts +0 -65
- package/src/models/ExportInventory500Response.ts +0 -65
- package/src/models/ForecastStats.ts +0 -147
- package/src/models/ForecasterDatastoresRequest.ts +0 -73
- package/src/models/ForecasterPairStatus.ts +0 -158
- package/src/models/ForecasterStartRequest.ts +0 -113
- package/src/models/ForecasterStatus.ts +0 -93
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PairCapability.ts +0 -106
- package/src/models/PairCapabilityRequest.ts +0 -89
- package/src/models/PutForecasterCredentials403Response.ts +0 -73
- package/src/models/RightsizingClusterListResponse.ts +0 -83
- package/src/models/RightsizingCollectRequest.ts +0 -123
- package/src/models/RightsizingMetricStats.ts +0 -111
- package/src/models/RightsizingReport.ts +0 -146
- package/src/models/RightsizingReportListResponse.ts +0 -83
- package/src/models/RightsizingReportSummary.ts +0 -129
- package/src/models/RightsizingVMReport.ts +0 -101
- package/src/models/StopForecasterPair202Response.ts +0 -83
- package/src/models/VMDevice.ts +0 -65
- package/src/models/VMIssue.ts +0 -99
- package/src/models/VMNIC.ts +0 -97
- package/src/models/VmInspectionResults.ts +0 -73
- package/src/models/VmInspectionStatus.ts +0 -105
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
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 type { Inventory } from './Inventory.js';
|
|
16
|
-
import {
|
|
17
|
-
instanceOfInventory,
|
|
18
|
-
InventoryFromJSON,
|
|
19
|
-
InventoryFromJSONTyped,
|
|
20
|
-
InventoryToJSON,
|
|
21
|
-
} from './Inventory.js';
|
|
22
|
-
import type { UpdateInventory } from './UpdateInventory.js';
|
|
23
|
-
import {
|
|
24
|
-
instanceOfUpdateInventory,
|
|
25
|
-
UpdateInventoryFromJSON,
|
|
26
|
-
UpdateInventoryFromJSONTyped,
|
|
27
|
-
UpdateInventoryToJSON,
|
|
28
|
-
} from './UpdateInventory.js';
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @type GetInventory200Response
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
export type GetInventory200Response = Inventory | UpdateInventory;
|
|
36
|
-
|
|
37
|
-
export function GetInventory200ResponseFromJSON(json: any): GetInventory200Response {
|
|
38
|
-
return GetInventory200ResponseFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function GetInventory200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInventory200Response {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
if (typeof json !== 'object') {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
if (instanceOfInventory(json)) {
|
|
49
|
-
return InventoryFromJSONTyped(json, true);
|
|
50
|
-
}
|
|
51
|
-
if (instanceOfUpdateInventory(json)) {
|
|
52
|
-
return UpdateInventoryFromJSONTyped(json, true);
|
|
53
|
-
}
|
|
54
|
-
return {} as any;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export function GetInventory200ResponseToJSON(json: any): any {
|
|
58
|
-
return GetInventory200ResponseToJSONTyped(json, false);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function GetInventory200ResponseToJSONTyped(value?: GetInventory200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
62
|
-
if (value == null) {
|
|
63
|
-
return value;
|
|
64
|
-
}
|
|
65
|
-
if (typeof value !== 'object') {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
if (instanceOfInventory(value)) {
|
|
69
|
-
return InventoryToJSON(value as Inventory);
|
|
70
|
-
}
|
|
71
|
-
if (instanceOfUpdateInventory(value)) {
|
|
72
|
-
return UpdateInventoryToJSON(value as UpdateInventory);
|
|
73
|
-
}
|
|
74
|
-
return {};
|
|
75
|
-
}
|
|
76
|
-
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
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 PairCapability
|
|
20
|
-
*/
|
|
21
|
-
export interface PairCapability {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PairCapability
|
|
26
|
-
*/
|
|
27
|
-
pairName: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PairCapability
|
|
32
|
-
*/
|
|
33
|
-
sourceDatastore: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PairCapability
|
|
38
|
-
*/
|
|
39
|
-
targetDatastore: string;
|
|
40
|
-
/**
|
|
41
|
-
* Feasible offload methods for this source-target pair
|
|
42
|
-
* @type {Array<PairCapabilityCapabilitiesEnum>}
|
|
43
|
-
* @memberof PairCapability
|
|
44
|
-
*/
|
|
45
|
-
capabilities: Array<PairCapabilityCapabilitiesEnum>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export const PairCapabilityCapabilitiesEnum = {
|
|
53
|
-
CopyOffload: 'copy-offload',
|
|
54
|
-
Xcopy: 'xcopy',
|
|
55
|
-
Rdm: 'rdm',
|
|
56
|
-
Vvol: 'vvol'
|
|
57
|
-
} as const;
|
|
58
|
-
export type PairCapabilityCapabilitiesEnum = typeof PairCapabilityCapabilitiesEnum[keyof typeof PairCapabilityCapabilitiesEnum];
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the PairCapability interface.
|
|
63
|
-
*/
|
|
64
|
-
export function instanceOfPairCapability(value: object): value is PairCapability {
|
|
65
|
-
if (!('pairName' in value) || value['pairName'] === undefined) return false;
|
|
66
|
-
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined) return false;
|
|
67
|
-
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined) return false;
|
|
68
|
-
if (!('capabilities' in value) || value['capabilities'] === undefined) return false;
|
|
69
|
-
return true;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function PairCapabilityFromJSON(json: any): PairCapability {
|
|
73
|
-
return PairCapabilityFromJSONTyped(json, false);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function PairCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PairCapability {
|
|
77
|
-
if (json == null) {
|
|
78
|
-
return json;
|
|
79
|
-
}
|
|
80
|
-
return {
|
|
81
|
-
|
|
82
|
-
'pairName': json['pairName'],
|
|
83
|
-
'sourceDatastore': json['sourceDatastore'],
|
|
84
|
-
'targetDatastore': json['targetDatastore'],
|
|
85
|
-
'capabilities': json['capabilities'],
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function PairCapabilityToJSON(json: any): PairCapability {
|
|
90
|
-
return PairCapabilityToJSONTyped(json, false);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export function PairCapabilityToJSONTyped(value?: PairCapability | null, ignoreDiscriminator: boolean = false): any {
|
|
94
|
-
if (value == null) {
|
|
95
|
-
return value;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return {
|
|
99
|
-
|
|
100
|
-
'pairName': value['pairName'],
|
|
101
|
-
'sourceDatastore': value['sourceDatastore'],
|
|
102
|
-
'targetDatastore': value['targetDatastore'],
|
|
103
|
-
'capabilities': value['capabilities'],
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
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 { VcenterCredentials } from './VcenterCredentials.js';
|
|
17
|
-
import {
|
|
18
|
-
VcenterCredentialsFromJSON,
|
|
19
|
-
VcenterCredentialsFromJSONTyped,
|
|
20
|
-
VcenterCredentialsToJSON,
|
|
21
|
-
VcenterCredentialsToJSONTyped,
|
|
22
|
-
} from './VcenterCredentials.js';
|
|
23
|
-
import type { DatastorePair } from './DatastorePair.js';
|
|
24
|
-
import {
|
|
25
|
-
DatastorePairFromJSON,
|
|
26
|
-
DatastorePairFromJSONTyped,
|
|
27
|
-
DatastorePairToJSON,
|
|
28
|
-
DatastorePairToJSONTyped,
|
|
29
|
-
} from './DatastorePair.js';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PairCapabilityRequest
|
|
35
|
-
*/
|
|
36
|
-
export interface PairCapabilityRequest {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {VcenterCredentials}
|
|
40
|
-
* @memberof PairCapabilityRequest
|
|
41
|
-
*/
|
|
42
|
-
credentials?: VcenterCredentials;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Array<DatastorePair>}
|
|
46
|
-
* @memberof PairCapabilityRequest
|
|
47
|
-
*/
|
|
48
|
-
pairs: Array<DatastorePair>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PairCapabilityRequest interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPairCapabilityRequest(value: object): value is PairCapabilityRequest {
|
|
55
|
-
if (!('pairs' in value) || value['pairs'] === undefined) return false;
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function PairCapabilityRequestFromJSON(json: any): PairCapabilityRequest {
|
|
60
|
-
return PairCapabilityRequestFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function PairCapabilityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PairCapabilityRequest {
|
|
64
|
-
if (json == null) {
|
|
65
|
-
return json;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'credentials': json['credentials'] == null ? undefined : VcenterCredentialsFromJSON(json['credentials']),
|
|
70
|
-
'pairs': ((json['pairs'] as Array<any>).map(DatastorePairFromJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function PairCapabilityRequestToJSON(json: any): PairCapabilityRequest {
|
|
75
|
-
return PairCapabilityRequestToJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function PairCapabilityRequestToJSONTyped(value?: PairCapabilityRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
-
if (value == null) {
|
|
80
|
-
return value;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
return {
|
|
84
|
-
|
|
85
|
-
'credentials': VcenterCredentialsToJSON(value['credentials']),
|
|
86
|
-
'pairs': ((value['pairs'] as Array<any>).map(DatastorePairToJSON)),
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
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 PutForecasterCredentials403Response
|
|
20
|
-
*/
|
|
21
|
-
export interface PutForecasterCredentials403Response {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PutForecasterCredentials403Response
|
|
26
|
-
*/
|
|
27
|
-
error?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof PutForecasterCredentials403Response
|
|
32
|
-
*/
|
|
33
|
-
missingPrivileges?: Array<string>;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the PutForecasterCredentials403Response interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfPutForecasterCredentials403Response(value: object): value is PutForecasterCredentials403Response {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function PutForecasterCredentials403ResponseFromJSON(json: any): PutForecasterCredentials403Response {
|
|
44
|
-
return PutForecasterCredentials403ResponseFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function PutForecasterCredentials403ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutForecasterCredentials403Response {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
|
|
53
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
54
|
-
'missingPrivileges': json['missingPrivileges'] == null ? undefined : json['missingPrivileges'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function PutForecasterCredentials403ResponseToJSON(json: any): PutForecasterCredentials403Response {
|
|
59
|
-
return PutForecasterCredentials403ResponseToJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function PutForecasterCredentials403ResponseToJSONTyped(value?: PutForecasterCredentials403Response | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
-
if (value == null) {
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'error': value['error'],
|
|
70
|
-
'missingPrivileges': value['missingPrivileges'],
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
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 { RightsizingClusterUtilization } from './RightsizingClusterUtilization.js';
|
|
17
|
-
import {
|
|
18
|
-
RightsizingClusterUtilizationFromJSON,
|
|
19
|
-
RightsizingClusterUtilizationFromJSONTyped,
|
|
20
|
-
RightsizingClusterUtilizationToJSON,
|
|
21
|
-
RightsizingClusterUtilizationToJSONTyped,
|
|
22
|
-
} from './RightsizingClusterUtilization.js';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface RightsizingClusterListResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface RightsizingClusterListResponse {
|
|
30
|
-
/**
|
|
31
|
-
* The report ID this data was aggregated from
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RightsizingClusterListResponse
|
|
34
|
-
*/
|
|
35
|
-
report_id: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<RightsizingClusterUtilization>}
|
|
39
|
-
* @memberof RightsizingClusterListResponse
|
|
40
|
-
*/
|
|
41
|
-
clusters: Array<RightsizingClusterUtilization>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the RightsizingClusterListResponse interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfRightsizingClusterListResponse(value: object): value is RightsizingClusterListResponse {
|
|
48
|
-
if (!('report_id' in value) || value['report_id'] === undefined) return false;
|
|
49
|
-
if (!('clusters' in value) || value['clusters'] === undefined) return false;
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function RightsizingClusterListResponseFromJSON(json: any): RightsizingClusterListResponse {
|
|
54
|
-
return RightsizingClusterListResponseFromJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export function RightsizingClusterListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RightsizingClusterListResponse {
|
|
58
|
-
if (json == null) {
|
|
59
|
-
return json;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'report_id': json['report_id'],
|
|
64
|
-
'clusters': ((json['clusters'] as Array<any>).map(RightsizingClusterUtilizationFromJSON)),
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function RightsizingClusterListResponseToJSON(json: any): RightsizingClusterListResponse {
|
|
69
|
-
return RightsizingClusterListResponseToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function RightsizingClusterListResponseToJSONTyped(value?: RightsizingClusterListResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'report_id': value['report_id'],
|
|
80
|
-
'clusters': ((value['clusters'] as Array<any>).map(RightsizingClusterUtilizationToJSON)),
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
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 { VcenterCredentials } from './VcenterCredentials.js';
|
|
17
|
-
import {
|
|
18
|
-
VcenterCredentialsFromJSON,
|
|
19
|
-
VcenterCredentialsFromJSONTyped,
|
|
20
|
-
VcenterCredentialsToJSON,
|
|
21
|
-
VcenterCredentialsToJSONTyped,
|
|
22
|
-
} from './VcenterCredentials.js';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface RightsizingCollectRequest
|
|
28
|
-
*/
|
|
29
|
-
export interface RightsizingCollectRequest {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {VcenterCredentials}
|
|
33
|
-
* @memberof RightsizingCollectRequest
|
|
34
|
-
*/
|
|
35
|
-
credentials: VcenterCredentials;
|
|
36
|
-
/**
|
|
37
|
-
* Lookback window in hours (default 720 = 30 days)
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof RightsizingCollectRequest
|
|
40
|
-
*/
|
|
41
|
-
lookback_hours?: number;
|
|
42
|
-
/**
|
|
43
|
-
* vSphere historical interval ID in seconds (300=day, 1800=week, 7200=month)
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof RightsizingCollectRequest
|
|
46
|
-
*/
|
|
47
|
-
interval_id?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Filter VMs by name substring
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof RightsizingCollectRequest
|
|
52
|
-
*/
|
|
53
|
-
name_filter?: string;
|
|
54
|
-
/**
|
|
55
|
-
* MoRef value of a ClusterComputeResource to scope discovery (e.g. domain-c123)
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof RightsizingCollectRequest
|
|
58
|
-
*/
|
|
59
|
-
cluster_id?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Number of VMs per QueryPerf round-trip
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof RightsizingCollectRequest
|
|
64
|
-
*/
|
|
65
|
-
batch_size?: number;
|
|
66
|
-
/**
|
|
67
|
-
* If true, discover VMs live from vSphere. If false (default), use the VMs already stored in the local inventory.
|
|
68
|
-
*
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof RightsizingCollectRequest
|
|
71
|
-
*/
|
|
72
|
-
discover_vms?: boolean;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Check if a given object implements the RightsizingCollectRequest interface.
|
|
77
|
-
*/
|
|
78
|
-
export function instanceOfRightsizingCollectRequest(value: object): value is RightsizingCollectRequest {
|
|
79
|
-
if (!('credentials' in value) || value['credentials'] === undefined) return false;
|
|
80
|
-
return true;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function RightsizingCollectRequestFromJSON(json: any): RightsizingCollectRequest {
|
|
84
|
-
return RightsizingCollectRequestFromJSONTyped(json, false);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function RightsizingCollectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RightsizingCollectRequest {
|
|
88
|
-
if (json == null) {
|
|
89
|
-
return json;
|
|
90
|
-
}
|
|
91
|
-
return {
|
|
92
|
-
|
|
93
|
-
'credentials': VcenterCredentialsFromJSON(json['credentials']),
|
|
94
|
-
'lookback_hours': json['lookback_hours'] == null ? undefined : json['lookback_hours'],
|
|
95
|
-
'interval_id': json['interval_id'] == null ? undefined : json['interval_id'],
|
|
96
|
-
'name_filter': json['name_filter'] == null ? undefined : json['name_filter'],
|
|
97
|
-
'cluster_id': json['cluster_id'] == null ? undefined : json['cluster_id'],
|
|
98
|
-
'batch_size': json['batch_size'] == null ? undefined : json['batch_size'],
|
|
99
|
-
'discover_vms': json['discover_vms'] == null ? undefined : json['discover_vms'],
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export function RightsizingCollectRequestToJSON(json: any): RightsizingCollectRequest {
|
|
104
|
-
return RightsizingCollectRequestToJSONTyped(json, false);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export function RightsizingCollectRequestToJSONTyped(value?: RightsizingCollectRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
108
|
-
if (value == null) {
|
|
109
|
-
return value;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
return {
|
|
113
|
-
|
|
114
|
-
'credentials': VcenterCredentialsToJSON(value['credentials']),
|
|
115
|
-
'lookback_hours': value['lookback_hours'],
|
|
116
|
-
'interval_id': value['interval_id'],
|
|
117
|
-
'name_filter': value['name_filter'],
|
|
118
|
-
'cluster_id': value['cluster_id'],
|
|
119
|
-
'batch_size': value['batch_size'],
|
|
120
|
-
'discover_vms': value['discover_vms'],
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
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 RightsizingMetricStats
|
|
20
|
-
*/
|
|
21
|
-
export interface RightsizingMetricStats {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof RightsizingMetricStats
|
|
26
|
-
*/
|
|
27
|
-
sample_count: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof RightsizingMetricStats
|
|
32
|
-
*/
|
|
33
|
-
average: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof RightsizingMetricStats
|
|
38
|
-
*/
|
|
39
|
-
p95: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof RightsizingMetricStats
|
|
44
|
-
*/
|
|
45
|
-
p99: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof RightsizingMetricStats
|
|
50
|
-
*/
|
|
51
|
-
max: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof RightsizingMetricStats
|
|
56
|
-
*/
|
|
57
|
-
latest: number;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Check if a given object implements the RightsizingMetricStats interface.
|
|
62
|
-
*/
|
|
63
|
-
export function instanceOfRightsizingMetricStats(value: object): value is RightsizingMetricStats {
|
|
64
|
-
if (!('sample_count' in value) || value['sample_count'] === undefined) return false;
|
|
65
|
-
if (!('average' in value) || value['average'] === undefined) return false;
|
|
66
|
-
if (!('p95' in value) || value['p95'] === undefined) return false;
|
|
67
|
-
if (!('p99' in value) || value['p99'] === undefined) return false;
|
|
68
|
-
if (!('max' in value) || value['max'] === undefined) return false;
|
|
69
|
-
if (!('latest' in value) || value['latest'] === undefined) return false;
|
|
70
|
-
return true;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function RightsizingMetricStatsFromJSON(json: any): RightsizingMetricStats {
|
|
74
|
-
return RightsizingMetricStatsFromJSONTyped(json, false);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function RightsizingMetricStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RightsizingMetricStats {
|
|
78
|
-
if (json == null) {
|
|
79
|
-
return json;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
|
|
83
|
-
'sample_count': json['sample_count'],
|
|
84
|
-
'average': json['average'],
|
|
85
|
-
'p95': json['p95'],
|
|
86
|
-
'p99': json['p99'],
|
|
87
|
-
'max': json['max'],
|
|
88
|
-
'latest': json['latest'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function RightsizingMetricStatsToJSON(json: any): RightsizingMetricStats {
|
|
93
|
-
return RightsizingMetricStatsToJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function RightsizingMetricStatsToJSONTyped(value?: RightsizingMetricStats | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
-
if (value == null) {
|
|
98
|
-
return value;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'sample_count': value['sample_count'],
|
|
104
|
-
'average': value['average'],
|
|
105
|
-
'p95': value['p95'],
|
|
106
|
-
'p99': value['p99'],
|
|
107
|
-
'max': value['max'],
|
|
108
|
-
'latest': value['latest'],
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
|