@openshift-migration-advisor/agent-sdk 0.20.3 → 0.21.0-7d995d4fcba5
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 +64 -48
- package/.openapi-generator/VERSION +1 -1
- package/README.md +84 -87
- 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 +231 -0
- package/dist/apis/CollectionsApi.js +226 -0
- package/dist/apis/CollectorApi.d.ts +154 -0
- package/dist/apis/CollectorApi.js +196 -0
- package/dist/apis/CredentialsApi.d.ts +168 -0
- package/dist/apis/CredentialsApi.js +187 -0
- package/dist/apis/ForecasterApi.d.ts +375 -0
- package/dist/apis/ForecasterApi.js +397 -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 +616 -0
- package/dist/apis/VirtualMachinesApi.js +614 -0
- package/dist/apis/index.d.ts +12 -1
- package/dist/apis/index.js +12 -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 +231 -0
- package/dist/esm/apis/CollectionsApi.js +222 -0
- package/dist/esm/apis/CollectorApi.d.ts +154 -0
- package/dist/esm/apis/CollectorApi.js +192 -0
- package/dist/esm/apis/CredentialsApi.d.ts +168 -0
- package/dist/esm/apis/CredentialsApi.js +183 -0
- package/dist/esm/apis/ForecasterApi.d.ts +375 -0
- package/dist/esm/apis/ForecasterApi.js +393 -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 +616 -0
- package/dist/esm/apis/VirtualMachinesApi.js +610 -0
- package/dist/esm/apis/index.d.ts +12 -1
- package/dist/esm/apis/index.js +12 -1
- package/dist/esm/models/AgentModeRequest.d.ts +1 -1
- package/dist/esm/models/AgentModeRequest.js +2 -2
- package/dist/esm/models/AgentStatus.d.ts +6 -13
- package/dist/esm/models/AgentStatus.js +8 -14
- 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 -1
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -4
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -3
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -6
- package/dist/esm/models/BenchmarkRun.js +10 -7
- package/dist/esm/models/CapabilityStatus.d.ts +1 -1
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +3 -3
- package/dist/esm/models/ClusterFeatures.js +4 -4
- package/dist/esm/models/ClusterUtilization.d.ts +1 -1
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/Collection.d.ts +38 -0
- package/dist/esm/models/Collection.js +52 -0
- package/dist/esm/models/CollectionAggregate.d.ts +50 -0
- package/dist/esm/models/CollectionAggregate.js +64 -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 -1
- package/dist/esm/models/CollectorStatus.js +3 -2
- 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 -4
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -1
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +7 -17
- package/dist/esm/models/DatastoreDetail.js +1 -10
- package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
- package/dist/esm/models/{DatastorePair.js → DatastorePairRequest.js} +9 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- 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/EstimateRange.d.ts +8 -8
- package/dist/esm/models/EstimateRange.js +10 -4
- package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
- package/dist/esm/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +22 -22
- package/dist/esm/models/ForecastStats.d.ts +11 -11
- package/dist/esm/models/ForecastStats.js +33 -17
- package/dist/esm/models/ForecasterStatus.d.ts +7 -7
- package/dist/esm/models/ForecasterStatus.js +8 -6
- package/dist/esm/models/Group.d.ts +4 -4
- package/dist/esm/models/Group.js +6 -5
- package/dist/esm/models/GroupListResponse.d.ts +4 -4
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -6
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -6
- package/dist/esm/models/GuestNetwork.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/Infra.d.ts +5 -1
- package/dist/esm/models/Infra.js +3 -1
- package/dist/esm/models/InspectionStatus.d.ts +49 -0
- package/dist/esm/models/InspectionStatus.js +57 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -1
- package/dist/esm/models/InspectorStatus.js +2 -2
- package/dist/esm/models/Inventory.d.ts +3 -21
- package/dist/esm/models/Inventory.js +5 -16
- package/dist/esm/models/Inventory1.d.ts +49 -0
- package/dist/esm/models/Inventory1.js +55 -0
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +2 -2
- package/dist/esm/models/OperationCapability.d.ts +1 -1
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +2 -2
- package/dist/esm/models/PairCapability.d.ts +3 -13
- package/dist/esm/models/PairCapability.js +1 -10
- package/dist/esm/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/esm/models/PairCapabilityRequest.js +4 -7
- package/dist/esm/models/Process.d.ts +1 -1
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -15
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
- package/dist/esm/models/{ForecasterStartRequest.js → StartForecasterRequest.js} +12 -15
- package/dist/esm/models/StartInspectionRequest.d.ts +3 -8
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/esm/models/StopForecasterPair202Response.js +2 -2
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +2 -2
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -3
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
- package/dist/esm/models/VMLabelsResponse.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 +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -1
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -2
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -4
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +15 -11
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +47 -38
- package/dist/esm/models/VirtualMachineDetail.js +23 -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 -3
- 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 -1
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +20 -23
- package/dist/esm/models/index.js +20 -23
- package/dist/esm/runtime.d.ts +12 -1
- package/dist/esm/runtime.js +49 -3
- package/dist/models/AgentModeRequest.d.ts +1 -1
- package/dist/models/AgentModeRequest.js +2 -2
- package/dist/models/AgentStatus.d.ts +6 -13
- package/dist/models/AgentStatus.js +9 -15
- package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/models/AgentStatusConsoleConnection.js +60 -0
- package/dist/models/ApplicationListResponse.d.ts +1 -1
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -4
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -3
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -6
- package/dist/models/BenchmarkRun.js +10 -7
- package/dist/models/CapabilityStatus.d.ts +1 -1
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +3 -3
- package/dist/models/ClusterFeatures.js +4 -4
- package/dist/models/ClusterUtilization.d.ts +1 -1
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/Collection.d.ts +38 -0
- package/dist/models/Collection.js +59 -0
- package/dist/models/CollectionAggregate.d.ts +50 -0
- package/dist/models/CollectionAggregate.js +71 -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 -1
- package/dist/models/CollectorStatus.js +3 -2
- 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 -4
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -1
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +7 -17
- package/dist/models/DatastoreDetail.js +1 -11
- package/dist/models/DatastorePairRequest.d.ts +42 -0
- package/dist/models/{DatastorePair.js → DatastorePairRequest.js} +14 -14
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- 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/EstimateRange.d.ts +8 -8
- package/dist/models/EstimateRange.js +10 -4
- package/dist/models/ForecastPairStatus.d.ts +78 -0
- package/dist/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +28 -28
- package/dist/models/ForecastStats.d.ts +11 -11
- package/dist/models/ForecastStats.js +33 -17
- package/dist/models/ForecasterStatus.d.ts +7 -7
- package/dist/models/ForecasterStatus.js +8 -6
- package/dist/models/Group.d.ts +4 -4
- package/dist/models/Group.js +6 -5
- package/dist/models/GroupListResponse.d.ts +4 -4
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -6
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -6
- package/dist/models/GuestNetwork.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/Infra.d.ts +5 -1
- package/dist/models/Infra.js +3 -1
- package/dist/models/InspectionStatus.d.ts +49 -0
- package/dist/models/InspectionStatus.js +65 -0
- package/dist/models/InspectorStatus.d.ts +1 -1
- package/dist/models/InspectorStatus.js +2 -2
- package/dist/models/Inventory.d.ts +3 -21
- package/dist/models/Inventory.js +5 -16
- package/dist/models/Inventory1.d.ts +49 -0
- package/dist/models/Inventory1.js +62 -0
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -1
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +2 -2
- package/dist/models/OperationCapability.d.ts +1 -1
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +2 -2
- package/dist/models/PairCapability.d.ts +3 -13
- package/dist/models/PairCapability.js +1 -11
- package/dist/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/models/PairCapabilityRequest.js +4 -7
- package/dist/models/Process.d.ts +1 -1
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -15
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/StartForecasterRequest.d.ts +43 -0
- package/dist/models/StartForecasterRequest.js +57 -0
- package/dist/models/StartInspectionRequest.d.ts +3 -8
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/models/StopForecasterPair202Response.js +2 -2
- package/dist/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/models/StorageIoConfiguration.js +2 -2
- package/dist/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -3
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -1
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -1
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -1
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -2
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -4
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +15 -11
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +47 -38
- package/dist/models/VirtualMachineDetail.js +23 -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 -3
- 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 -1
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +20 -23
- package/dist/models/index.js +20 -23
- package/dist/runtime.d.ts +12 -1
- package/dist/runtime.js +53 -3
- package/docs/AgentApi.md +136 -0
- package/docs/AgentStatus.md +4 -4
- package/docs/{ExportInventory500Response.md → AgentStatusConsoleConnection.md} +6 -4
- package/docs/ApplicationsApi.md +76 -0
- package/docs/BenchmarkRun.md +2 -2
- package/docs/ClusterFeatures.md +2 -2
- package/docs/{ExportInventory400Response.md → Collection.md} +10 -6
- package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
- package/docs/CollectionComparisonDiff.md +38 -0
- package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
- package/docs/CollectionComparisonSummaryDiff.md +41 -0
- package/docs/CollectionListResponse.md +34 -0
- package/docs/CollectionsApi.md +294 -0
- package/docs/CollectorApi.md +257 -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/{DatastorePair.md → DatastorePairRequest.md} +4 -4
- package/docs/DeleteLabelGloballyResponse.md +2 -2
- package/docs/EstimateRange.md +0 -1
- package/docs/{ForecasterPairStatus.md → ForecastPairStatus.md} +8 -8
- package/docs/ForecastStats.md +16 -16
- package/docs/ForecasterApi.md +612 -0
- package/docs/ForecasterStatus.md +1 -1
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +527 -0
- package/docs/Infra.md +2 -0
- package/docs/{VmInspectionStatus.md → InspectionStatus.md} +6 -8
- package/docs/InspectorApi.md +336 -0
- package/docs/InventoriesApi.md +136 -0
- package/docs/Inventory.md +2 -10
- package/docs/{GetInventory200Response.md → Inventory1.md} +4 -8
- package/docs/PairCapabilityRequest.md +1 -3
- package/docs/RightsizingApi.md +148 -0
- package/docs/{ForecasterStartRequest.md → StartForecasterRequest.md} +5 -7
- 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 +9 -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/VirtualMachineInspectionResults.md +35 -0
- 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 +984 -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 +429 -0
- package/src/apis/CollectorApi.ts +306 -0
- package/src/apis/CredentialsApi.ts +308 -0
- package/src/apis/ForecasterApi.ts +721 -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 +1216 -0
- package/src/apis/index.ts +12 -1
- package/src/models/AgentModeRequest.ts +2 -2
- package/src/models/AgentStatus.ts +19 -20
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- package/src/models/ApplicationListResponse.ts +1 -1
- package/src/models/ApplicationOverview.ts +4 -4
- package/src/models/ApplicationVM.ts +3 -3
- package/src/models/BatchUpdateExclusionRequest.ts +1 -1
- package/src/models/BenchmarkRun.ts +14 -13
- package/src/models/CapabilityStatus.ts +1 -1
- package/src/models/CapabilityStatusCapabilities.ts +1 -1
- package/src/models/ClusterFeatures.ts +6 -6
- package/src/models/ClusterUtilization.ts +1 -1
- 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 +3 -2
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- package/src/models/CreateGroupRequest.ts +4 -4
- package/src/models/CredentialStatus.ts +1 -1
- package/src/models/Datastore.ts +1 -1
- package/src/models/DatastoreDetail.ts +7 -20
- package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -15
- package/src/models/DeleteLabelGloballyResponse.ts +8 -8
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimateRange.ts +14 -11
- package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -37
- package/src/models/ForecastStats.ts +35 -27
- package/src/models/ForecasterStatus.ts +15 -14
- package/src/models/Group.ts +9 -9
- package/src/models/GroupListResponse.ts +4 -4
- package/src/models/GroupResponse.ts +13 -13
- package/src/models/GuestNetwork.ts +6 -6
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Infra.ts +7 -1
- package/src/models/InspectionStatus.ts +90 -0
- package/src/models/InspectorStatus.ts +2 -2
- package/src/models/Inventory.ts +11 -36
- package/src/models/Inventory1.ts +97 -0
- package/src/models/InventoryData.ts +1 -1
- package/src/models/IssuesBreakdown.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/Network.ts +2 -2
- package/src/models/OperationCapability.ts +1 -1
- package/src/models/OsInfo.ts +2 -2
- package/src/models/PairCapability.ts +3 -16
- package/src/models/PairCapabilityRequest.ts +10 -23
- package/src/models/Process.ts +1 -1
- package/src/models/RightsizingClusterResponse.ts +2 -2
- package/src/models/RightsizingClusterUtilization.ts +13 -15
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StartInspectionRequest.ts +3 -17
- package/src/models/StopForecasterPair202Response.ts +2 -2
- package/src/models/StorageIoConfiguration.ts +2 -2
- package/src/models/UpdateGroupRequest.ts +4 -4
- package/src/models/UpdateInventory.ts +10 -10
- package/src/models/UpdateLabelVMsRequest.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMFilterOptionsResponse.ts +1 -1
- package/src/models/VMLabelsResponse.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VcenterCredentials.ts +1 -1
- package/src/models/VddkProperties.ts +2 -2
- package/src/models/VersionInfo.ts +4 -4
- package/src/models/VirtualMachine.ts +27 -20
- package/src/models/VirtualMachineDetail.ts +93 -73
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -17
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -12
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -6
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -1
- package/src/models/VmUtilizationDetails.ts +8 -8
- package/src/models/index.ts +20 -23
- package/src/runtime.ts +54 -3
- package/dist/apis/DefaultApi.d.ts +0 -1988
- package/dist/apis/DefaultApi.js +0 -2066
- package/dist/esm/apis/DefaultApi.d.ts +0 -1988
- package/dist/esm/apis/DefaultApi.js +0 -2062
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -46
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastorePair.d.ts +0 -42
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -48
- package/dist/esm/models/GetInventory200Response.d.ts +0 -23
- package/dist/esm/models/GetInventory200Response.js +0 -51
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -34
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -63
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -45
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/VMDevice.d.ts +0 -30
- package/dist/esm/models/VMDisk.d.ts +0 -54
- package/dist/esm/models/VMIssue.d.ts +0 -50
- package/dist/esm/models/VMNIC.d.ts +0 -46
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -38
- package/dist/esm/models/VmInspectionResults.d.ts +0 -31
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -53
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/CollectorStartRequest.d.ts +0 -46
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastorePair.d.ts +0 -42
- package/dist/models/ExportInventory400Response.d.ts +0 -30
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -30
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/models/ForecasterStartRequest.d.ts +0 -48
- package/dist/models/ForecasterStartRequest.js +0 -60
- package/dist/models/GetInventory200Response.d.ts +0 -23
- package/dist/models/GetInventory200Response.js +0 -57
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -34
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -63
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -45
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/VMDevice.d.ts +0 -30
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -54
- package/dist/models/VMIssue.d.ts +0 -50
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -46
- package/dist/models/VmInspectionConcern.d.ts +0 -38
- package/dist/models/VmInspectionResults.d.ts +0 -31
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -53
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DefaultApi.md +0 -3361
- 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/src/apis/DefaultApi.ts +0 -3986
- package/src/models/CollectorStartRequest.ts +0 -87
- package/src/models/ExportInventory400Response.ts +0 -63
- package/src/models/ExportInventory500Response.ts +0 -63
- package/src/models/ForecasterDatastoresRequest.ts +0 -71
- package/src/models/ForecasterStartRequest.ts +0 -103
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PutForecasterCredentials403Response.ts +0 -69
- package/src/models/RightsizingClusterListResponse.ts +0 -79
- package/src/models/RightsizingCollectRequest.ts +0 -109
- package/src/models/RightsizingMetricStats.ts +0 -99
- package/src/models/RightsizingReport.ts +0 -128
- package/src/models/RightsizingReportListResponse.ts +0 -79
- package/src/models/RightsizingReportSummary.ts +0 -113
- package/src/models/RightsizingVMReport.ts +0 -93
- package/src/models/VMDevice.ts +0 -63
- package/src/models/VMIssue.ts +0 -93
- package/src/models/VMNIC.ts +0 -87
- package/src/models/VmInspectionResults.ts +0 -71
- package/src/models/VmInspectionStatus.ts +0 -97
package/src/apis/DefaultApi.ts
DELETED
|
@@ -1,3986 +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 * as runtime from '../runtime.js';
|
|
16
|
-
import {
|
|
17
|
-
type AgentModeRequest,
|
|
18
|
-
AgentModeRequestFromJSON,
|
|
19
|
-
AgentModeRequestToJSON,
|
|
20
|
-
} from '../models/AgentModeRequest.js';
|
|
21
|
-
import {
|
|
22
|
-
type AgentStatus,
|
|
23
|
-
AgentStatusFromJSON,
|
|
24
|
-
AgentStatusToJSON,
|
|
25
|
-
} from '../models/AgentStatus.js';
|
|
26
|
-
import {
|
|
27
|
-
type ApplicationListResponse,
|
|
28
|
-
ApplicationListResponseFromJSON,
|
|
29
|
-
ApplicationListResponseToJSON,
|
|
30
|
-
} from '../models/ApplicationListResponse.js';
|
|
31
|
-
import {
|
|
32
|
-
type BatchUpdateExclusionRequest,
|
|
33
|
-
BatchUpdateExclusionRequestFromJSON,
|
|
34
|
-
BatchUpdateExclusionRequestToJSON,
|
|
35
|
-
} from '../models/BatchUpdateExclusionRequest.js';
|
|
36
|
-
import {
|
|
37
|
-
type BenchmarkRun,
|
|
38
|
-
BenchmarkRunFromJSON,
|
|
39
|
-
BenchmarkRunToJSON,
|
|
40
|
-
} from '../models/BenchmarkRun.js';
|
|
41
|
-
import {
|
|
42
|
-
type CapabilityStatus,
|
|
43
|
-
CapabilityStatusFromJSON,
|
|
44
|
-
CapabilityStatusToJSON,
|
|
45
|
-
} from '../models/CapabilityStatus.js';
|
|
46
|
-
import {
|
|
47
|
-
type CollectorStartRequest,
|
|
48
|
-
CollectorStartRequestFromJSON,
|
|
49
|
-
CollectorStartRequestToJSON,
|
|
50
|
-
} from '../models/CollectorStartRequest.js';
|
|
51
|
-
import {
|
|
52
|
-
type CollectorStatus,
|
|
53
|
-
CollectorStatusFromJSON,
|
|
54
|
-
CollectorStatusToJSON,
|
|
55
|
-
} from '../models/CollectorStatus.js';
|
|
56
|
-
import {
|
|
57
|
-
type CreateGroupRequest,
|
|
58
|
-
CreateGroupRequestFromJSON,
|
|
59
|
-
CreateGroupRequestToJSON,
|
|
60
|
-
} from '../models/CreateGroupRequest.js';
|
|
61
|
-
import {
|
|
62
|
-
type CredentialStatus,
|
|
63
|
-
CredentialStatusFromJSON,
|
|
64
|
-
CredentialStatusToJSON,
|
|
65
|
-
} from '../models/CredentialStatus.js';
|
|
66
|
-
import {
|
|
67
|
-
type DatastoreDetail,
|
|
68
|
-
DatastoreDetailFromJSON,
|
|
69
|
-
DatastoreDetailToJSON,
|
|
70
|
-
} from '../models/DatastoreDetail.js';
|
|
71
|
-
import {
|
|
72
|
-
type DeleteLabelGloballyResponse,
|
|
73
|
-
DeleteLabelGloballyResponseFromJSON,
|
|
74
|
-
DeleteLabelGloballyResponseToJSON,
|
|
75
|
-
} from '../models/DeleteLabelGloballyResponse.js';
|
|
76
|
-
import {
|
|
77
|
-
type ExportInventory400Response,
|
|
78
|
-
ExportInventory400ResponseFromJSON,
|
|
79
|
-
ExportInventory400ResponseToJSON,
|
|
80
|
-
} from '../models/ExportInventory400Response.js';
|
|
81
|
-
import {
|
|
82
|
-
type ExportInventory500Response,
|
|
83
|
-
ExportInventory500ResponseFromJSON,
|
|
84
|
-
ExportInventory500ResponseToJSON,
|
|
85
|
-
} from '../models/ExportInventory500Response.js';
|
|
86
|
-
import {
|
|
87
|
-
type ForecastStats,
|
|
88
|
-
ForecastStatsFromJSON,
|
|
89
|
-
ForecastStatsToJSON,
|
|
90
|
-
} from '../models/ForecastStats.js';
|
|
91
|
-
import {
|
|
92
|
-
type ForecasterDatastoresRequest,
|
|
93
|
-
ForecasterDatastoresRequestFromJSON,
|
|
94
|
-
ForecasterDatastoresRequestToJSON,
|
|
95
|
-
} from '../models/ForecasterDatastoresRequest.js';
|
|
96
|
-
import {
|
|
97
|
-
type ForecasterStartRequest,
|
|
98
|
-
ForecasterStartRequestFromJSON,
|
|
99
|
-
ForecasterStartRequestToJSON,
|
|
100
|
-
} from '../models/ForecasterStartRequest.js';
|
|
101
|
-
import {
|
|
102
|
-
type ForecasterStatus,
|
|
103
|
-
ForecasterStatusFromJSON,
|
|
104
|
-
ForecasterStatusToJSON,
|
|
105
|
-
} from '../models/ForecasterStatus.js';
|
|
106
|
-
import {
|
|
107
|
-
type GetInventory200Response,
|
|
108
|
-
GetInventory200ResponseFromJSON,
|
|
109
|
-
GetInventory200ResponseToJSON,
|
|
110
|
-
} from '../models/GetInventory200Response.js';
|
|
111
|
-
import {
|
|
112
|
-
type Group,
|
|
113
|
-
GroupFromJSON,
|
|
114
|
-
GroupToJSON,
|
|
115
|
-
} from '../models/Group.js';
|
|
116
|
-
import {
|
|
117
|
-
type GroupListResponse,
|
|
118
|
-
GroupListResponseFromJSON,
|
|
119
|
-
GroupListResponseToJSON,
|
|
120
|
-
} from '../models/GroupListResponse.js';
|
|
121
|
-
import {
|
|
122
|
-
type GroupResponse,
|
|
123
|
-
GroupResponseFromJSON,
|
|
124
|
-
GroupResponseToJSON,
|
|
125
|
-
} from '../models/GroupResponse.js';
|
|
126
|
-
import {
|
|
127
|
-
type InspectorStatus,
|
|
128
|
-
InspectorStatusFromJSON,
|
|
129
|
-
InspectorStatusToJSON,
|
|
130
|
-
} from '../models/InspectorStatus.js';
|
|
131
|
-
import {
|
|
132
|
-
type PairCapability,
|
|
133
|
-
PairCapabilityFromJSON,
|
|
134
|
-
PairCapabilityToJSON,
|
|
135
|
-
} from '../models/PairCapability.js';
|
|
136
|
-
import {
|
|
137
|
-
type PairCapabilityRequest,
|
|
138
|
-
PairCapabilityRequestFromJSON,
|
|
139
|
-
PairCapabilityRequestToJSON,
|
|
140
|
-
} from '../models/PairCapabilityRequest.js';
|
|
141
|
-
import {
|
|
142
|
-
type PutForecasterCredentials403Response,
|
|
143
|
-
PutForecasterCredentials403ResponseFromJSON,
|
|
144
|
-
PutForecasterCredentials403ResponseToJSON,
|
|
145
|
-
} from '../models/PutForecasterCredentials403Response.js';
|
|
146
|
-
import {
|
|
147
|
-
type RightsizingClusterListResponse,
|
|
148
|
-
RightsizingClusterListResponseFromJSON,
|
|
149
|
-
RightsizingClusterListResponseToJSON,
|
|
150
|
-
} from '../models/RightsizingClusterListResponse.js';
|
|
151
|
-
import {
|
|
152
|
-
type RightsizingClusterResponse,
|
|
153
|
-
RightsizingClusterResponseFromJSON,
|
|
154
|
-
RightsizingClusterResponseToJSON,
|
|
155
|
-
} from '../models/RightsizingClusterResponse.js';
|
|
156
|
-
import {
|
|
157
|
-
type RightsizingCollectRequest,
|
|
158
|
-
RightsizingCollectRequestFromJSON,
|
|
159
|
-
RightsizingCollectRequestToJSON,
|
|
160
|
-
} from '../models/RightsizingCollectRequest.js';
|
|
161
|
-
import {
|
|
162
|
-
type RightsizingReport,
|
|
163
|
-
RightsizingReportFromJSON,
|
|
164
|
-
RightsizingReportToJSON,
|
|
165
|
-
} from '../models/RightsizingReport.js';
|
|
166
|
-
import {
|
|
167
|
-
type RightsizingReportListResponse,
|
|
168
|
-
RightsizingReportListResponseFromJSON,
|
|
169
|
-
RightsizingReportListResponseToJSON,
|
|
170
|
-
} from '../models/RightsizingReportListResponse.js';
|
|
171
|
-
import {
|
|
172
|
-
type RightsizingReportSummary,
|
|
173
|
-
RightsizingReportSummaryFromJSON,
|
|
174
|
-
RightsizingReportSummaryToJSON,
|
|
175
|
-
} from '../models/RightsizingReportSummary.js';
|
|
176
|
-
import {
|
|
177
|
-
type StartInspectionRequest,
|
|
178
|
-
StartInspectionRequestFromJSON,
|
|
179
|
-
StartInspectionRequestToJSON,
|
|
180
|
-
} from '../models/StartInspectionRequest.js';
|
|
181
|
-
import {
|
|
182
|
-
type StopForecasterPair202Response,
|
|
183
|
-
StopForecasterPair202ResponseFromJSON,
|
|
184
|
-
StopForecasterPair202ResponseToJSON,
|
|
185
|
-
} from '../models/StopForecasterPair202Response.js';
|
|
186
|
-
import {
|
|
187
|
-
type UpdateGroupRequest,
|
|
188
|
-
UpdateGroupRequestFromJSON,
|
|
189
|
-
UpdateGroupRequestToJSON,
|
|
190
|
-
} from '../models/UpdateGroupRequest.js';
|
|
191
|
-
import {
|
|
192
|
-
type UpdateLabelVMsRequest,
|
|
193
|
-
UpdateLabelVMsRequestFromJSON,
|
|
194
|
-
UpdateLabelVMsRequestToJSON,
|
|
195
|
-
} from '../models/UpdateLabelVMsRequest.js';
|
|
196
|
-
import {
|
|
197
|
-
type VMFilterOptionsResponse,
|
|
198
|
-
VMFilterOptionsResponseFromJSON,
|
|
199
|
-
VMFilterOptionsResponseToJSON,
|
|
200
|
-
} from '../models/VMFilterOptionsResponse.js';
|
|
201
|
-
import {
|
|
202
|
-
type VMLabelsResponse,
|
|
203
|
-
VMLabelsResponseFromJSON,
|
|
204
|
-
VMLabelsResponseToJSON,
|
|
205
|
-
} from '../models/VMLabelsResponse.js';
|
|
206
|
-
import {
|
|
207
|
-
type VcenterCredentials,
|
|
208
|
-
VcenterCredentialsFromJSON,
|
|
209
|
-
VcenterCredentialsToJSON,
|
|
210
|
-
} from '../models/VcenterCredentials.js';
|
|
211
|
-
import {
|
|
212
|
-
type VddkProperties,
|
|
213
|
-
VddkPropertiesFromJSON,
|
|
214
|
-
VddkPropertiesToJSON,
|
|
215
|
-
} from '../models/VddkProperties.js';
|
|
216
|
-
import {
|
|
217
|
-
type VersionInfo,
|
|
218
|
-
VersionInfoFromJSON,
|
|
219
|
-
VersionInfoToJSON,
|
|
220
|
-
} from '../models/VersionInfo.js';
|
|
221
|
-
import {
|
|
222
|
-
type VirtualMachineDetail,
|
|
223
|
-
VirtualMachineDetailFromJSON,
|
|
224
|
-
VirtualMachineDetailToJSON,
|
|
225
|
-
} from '../models/VirtualMachineDetail.js';
|
|
226
|
-
import {
|
|
227
|
-
type VirtualMachineListResponse,
|
|
228
|
-
VirtualMachineListResponseFromJSON,
|
|
229
|
-
VirtualMachineListResponseToJSON,
|
|
230
|
-
} from '../models/VirtualMachineListResponse.js';
|
|
231
|
-
import {
|
|
232
|
-
type VirtualMachineUpdateRequest,
|
|
233
|
-
VirtualMachineUpdateRequestFromJSON,
|
|
234
|
-
VirtualMachineUpdateRequestToJSON,
|
|
235
|
-
} from '../models/VirtualMachineUpdateRequest.js';
|
|
236
|
-
import {
|
|
237
|
-
type VmInspectionStatus,
|
|
238
|
-
VmInspectionStatusFromJSON,
|
|
239
|
-
VmInspectionStatusToJSON,
|
|
240
|
-
} from '../models/VmInspectionStatus.js';
|
|
241
|
-
import {
|
|
242
|
-
type VmUtilizationDetails,
|
|
243
|
-
VmUtilizationDetailsFromJSON,
|
|
244
|
-
VmUtilizationDetailsToJSON,
|
|
245
|
-
} from '../models/VmUtilizationDetails.js';
|
|
246
|
-
|
|
247
|
-
export interface BatchUpdateVMExclusionRequest {
|
|
248
|
-
/**
|
|
249
|
-
*
|
|
250
|
-
*/
|
|
251
|
-
batchUpdateExclusionRequest: BatchUpdateExclusionRequest;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
export interface CreateGroupOperationRequest {
|
|
255
|
-
/**
|
|
256
|
-
*
|
|
257
|
-
*/
|
|
258
|
-
createGroupRequest: CreateGroupRequest;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export interface DeleteForecasterRunRequest {
|
|
262
|
-
/**
|
|
263
|
-
* Run ID
|
|
264
|
-
*/
|
|
265
|
-
id: number;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
export interface DeleteGroupRequest {
|
|
269
|
-
/**
|
|
270
|
-
* Group ID
|
|
271
|
-
*/
|
|
272
|
-
id: string;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
export interface DeleteLabelGloballyRequest {
|
|
276
|
-
/**
|
|
277
|
-
* The label to remove from all VMs
|
|
278
|
-
*/
|
|
279
|
-
label: string;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
export interface ExportInventoryRequest {
|
|
283
|
-
/**
|
|
284
|
-
* Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
285
|
-
*/
|
|
286
|
-
scope?: string;
|
|
287
|
-
/**
|
|
288
|
-
* Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
289
|
-
*/
|
|
290
|
-
format?: ExportInventoryFormatEnum;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
export interface GetClusterUtilizationRequest {
|
|
294
|
-
/**
|
|
295
|
-
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
296
|
-
*/
|
|
297
|
-
clusterId: string;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
export interface GetForecasterDatastoresRequest {
|
|
301
|
-
/**
|
|
302
|
-
*
|
|
303
|
-
*/
|
|
304
|
-
forecasterDatastoresRequest?: ForecasterDatastoresRequest;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
export interface GetForecasterRunsRequest {
|
|
308
|
-
/**
|
|
309
|
-
* Filter runs by pair name
|
|
310
|
-
*/
|
|
311
|
-
pairName?: string;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
export interface GetForecasterStatsRequest {
|
|
315
|
-
/**
|
|
316
|
-
* Pair name to get statistics for
|
|
317
|
-
*/
|
|
318
|
-
pairName: string;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
export interface GetGroupRequest {
|
|
322
|
-
/**
|
|
323
|
-
* Group ID
|
|
324
|
-
*/
|
|
325
|
-
id: string;
|
|
326
|
-
/**
|
|
327
|
-
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
328
|
-
*/
|
|
329
|
-
sort?: Array<string>;
|
|
330
|
-
/**
|
|
331
|
-
* Page number for pagination
|
|
332
|
-
*/
|
|
333
|
-
page?: number;
|
|
334
|
-
/**
|
|
335
|
-
* Number of items per page
|
|
336
|
-
*/
|
|
337
|
-
pageSize?: number;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
export interface GetInspectorStatusRequest {
|
|
341
|
-
/**
|
|
342
|
-
* If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
343
|
-
*/
|
|
344
|
-
includeVddk?: boolean;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
export interface GetInventoryRequest {
|
|
348
|
-
/**
|
|
349
|
-
* If true, include the agentId in the response (Compatible with manual inventory upload).
|
|
350
|
-
*/
|
|
351
|
-
withAgentId?: boolean;
|
|
352
|
-
/**
|
|
353
|
-
* Filter inventory to VMs matching this group's filter expression
|
|
354
|
-
*/
|
|
355
|
-
groupId?: string;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
export interface GetRightsizingReportRequest {
|
|
359
|
-
/**
|
|
360
|
-
* Report UUID
|
|
361
|
-
*/
|
|
362
|
-
reportId: string;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
export interface GetRightsizingReportClusterRequest {
|
|
366
|
-
/**
|
|
367
|
-
* Rightsizing report UUID
|
|
368
|
-
*/
|
|
369
|
-
reportId: string;
|
|
370
|
-
/**
|
|
371
|
-
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
372
|
-
*/
|
|
373
|
-
clusterId: string;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
export interface GetVMRequest {
|
|
377
|
-
/**
|
|
378
|
-
* VirtualMachine id
|
|
379
|
-
*/
|
|
380
|
-
id: string;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
export interface GetVMUtilizationRequest {
|
|
384
|
-
/**
|
|
385
|
-
* VirtualMachine MoRef ID
|
|
386
|
-
*/
|
|
387
|
-
id: string;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
export interface GetVMsRequest {
|
|
391
|
-
/**
|
|
392
|
-
* Filter by expression (matches VMs with the provided expression)
|
|
393
|
-
*/
|
|
394
|
-
byExpression?: string;
|
|
395
|
-
/**
|
|
396
|
-
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
397
|
-
*/
|
|
398
|
-
sort?: Array<string>;
|
|
399
|
-
/**
|
|
400
|
-
* Page number for pagination
|
|
401
|
-
*/
|
|
402
|
-
page?: number;
|
|
403
|
-
/**
|
|
404
|
-
* Number of items per page
|
|
405
|
-
*/
|
|
406
|
-
pageSize?: number;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
export interface ListGroupsRequest {
|
|
410
|
-
/**
|
|
411
|
-
* Filter groups by name (case-insensitive substring match)
|
|
412
|
-
*/
|
|
413
|
-
byName?: string;
|
|
414
|
-
/**
|
|
415
|
-
* Page number (1-indexed)
|
|
416
|
-
*/
|
|
417
|
-
page?: number;
|
|
418
|
-
/**
|
|
419
|
-
* Number of groups per page
|
|
420
|
-
*/
|
|
421
|
-
pageSize?: number;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
export interface ListRightsizingReportClustersRequest {
|
|
425
|
-
/**
|
|
426
|
-
* Rightsizing report UUID
|
|
427
|
-
*/
|
|
428
|
-
reportId: string;
|
|
429
|
-
/**
|
|
430
|
-
* Filter DSL expression (e.g. "cluster_id = 'domain-c123'"). Omit to return all clusters.
|
|
431
|
-
*/
|
|
432
|
-
byExpression?: string;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
export interface PostForecasterPairCapabilitiesRequest {
|
|
436
|
-
/**
|
|
437
|
-
*
|
|
438
|
-
*/
|
|
439
|
-
pairCapabilityRequest: PairCapabilityRequest;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
export interface PutCredentialsRequest {
|
|
443
|
-
/**
|
|
444
|
-
*
|
|
445
|
-
*/
|
|
446
|
-
vcenterCredentials: VcenterCredentials;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
export interface PutForecasterCredentialsRequest {
|
|
450
|
-
/**
|
|
451
|
-
*
|
|
452
|
-
*/
|
|
453
|
-
vcenterCredentials: VcenterCredentials;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
export interface PutInspectorVddkRequest {
|
|
457
|
-
/**
|
|
458
|
-
* VDDK tarball
|
|
459
|
-
*/
|
|
460
|
-
file: Blob;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
export interface RemoveVMFromInspectionRequest {
|
|
464
|
-
/**
|
|
465
|
-
*
|
|
466
|
-
*/
|
|
467
|
-
id: string;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
export interface SetAgentModeRequest {
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
*/
|
|
474
|
-
agentModeRequest: AgentModeRequest;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
export interface StartCollectorRequest {
|
|
478
|
-
/**
|
|
479
|
-
*
|
|
480
|
-
*/
|
|
481
|
-
collectorStartRequest: CollectorStartRequest;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
export interface StartForecasterRequest {
|
|
485
|
-
/**
|
|
486
|
-
*
|
|
487
|
-
*/
|
|
488
|
-
forecasterStartRequest: ForecasterStartRequest;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
export interface StartInspectionOperationRequest {
|
|
492
|
-
/**
|
|
493
|
-
*
|
|
494
|
-
*/
|
|
495
|
-
startInspectionRequest: StartInspectionRequest;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export interface StopForecasterPairRequest {
|
|
499
|
-
/**
|
|
500
|
-
* Pair name as specified in the start request
|
|
501
|
-
*/
|
|
502
|
-
name: string;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export interface TriggerRightsizingCollectionRequest {
|
|
506
|
-
/**
|
|
507
|
-
*
|
|
508
|
-
*/
|
|
509
|
-
rightsizingCollectRequest: RightsizingCollectRequest;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
export interface UpdateGroupOperationRequest {
|
|
513
|
-
/**
|
|
514
|
-
* Group ID
|
|
515
|
-
*/
|
|
516
|
-
id: string;
|
|
517
|
-
/**
|
|
518
|
-
*
|
|
519
|
-
*/
|
|
520
|
-
updateGroupRequest: UpdateGroupRequest;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
export interface UpdateLabelVMsOperationRequest {
|
|
524
|
-
/**
|
|
525
|
-
* The label to modify
|
|
526
|
-
*/
|
|
527
|
-
label: string;
|
|
528
|
-
/**
|
|
529
|
-
*
|
|
530
|
-
*/
|
|
531
|
-
updateLabelVMsRequest: UpdateLabelVMsRequest;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
export interface UpdateVMRequest {
|
|
535
|
-
/**
|
|
536
|
-
* VirtualMachine id
|
|
537
|
-
*/
|
|
538
|
-
id: string;
|
|
539
|
-
/**
|
|
540
|
-
*
|
|
541
|
-
*/
|
|
542
|
-
virtualMachineUpdateRequest: VirtualMachineUpdateRequest;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
export interface ValidateInspectorCredentialsRequest {
|
|
546
|
-
/**
|
|
547
|
-
*
|
|
548
|
-
*/
|
|
549
|
-
vcenterCredentials: VcenterCredentials;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* DefaultApi - interface
|
|
554
|
-
*
|
|
555
|
-
* @export
|
|
556
|
-
* @interface DefaultApiInterface
|
|
557
|
-
*/
|
|
558
|
-
export interface DefaultApiInterface {
|
|
559
|
-
/**
|
|
560
|
-
* Creates request options for batchUpdateVMExclusion without sending the request
|
|
561
|
-
* @param {BatchUpdateExclusionRequest} batchUpdateExclusionRequest
|
|
562
|
-
* @throws {RequiredError}
|
|
563
|
-
* @memberof DefaultApiInterface
|
|
564
|
-
*/
|
|
565
|
-
batchUpdateVMExclusionRequestOpts(requestParameters: BatchUpdateVMExclusionRequest): Promise<runtime.RequestOpts>;
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
*
|
|
569
|
-
* @summary Batch update VM exclusion status
|
|
570
|
-
* @param {BatchUpdateExclusionRequest} batchUpdateExclusionRequest
|
|
571
|
-
* @param {*} [options] Override http request option.
|
|
572
|
-
* @throws {RequiredError}
|
|
573
|
-
* @memberof DefaultApiInterface
|
|
574
|
-
*/
|
|
575
|
-
batchUpdateVMExclusionRaw(requestParameters: BatchUpdateVMExclusionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Batch update VM exclusion status
|
|
579
|
-
*/
|
|
580
|
-
batchUpdateVMExclusion(requestParameters: BatchUpdateVMExclusionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* Creates request options for createGroup without sending the request
|
|
584
|
-
* @param {CreateGroupRequest} createGroupRequest
|
|
585
|
-
* @throws {RequiredError}
|
|
586
|
-
* @memberof DefaultApiInterface
|
|
587
|
-
*/
|
|
588
|
-
createGroupRequestOpts(requestParameters: CreateGroupOperationRequest): Promise<runtime.RequestOpts>;
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
592
|
-
* @summary Create a new group
|
|
593
|
-
* @param {CreateGroupRequest} createGroupRequest
|
|
594
|
-
* @param {*} [options] Override http request option.
|
|
595
|
-
* @throws {RequiredError}
|
|
596
|
-
* @memberof DefaultApiInterface
|
|
597
|
-
*/
|
|
598
|
-
createGroupRaw(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Group>>;
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* Create a new group
|
|
602
|
-
*/
|
|
603
|
-
createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
604
|
-
|
|
605
|
-
/**
|
|
606
|
-
* Creates request options for deleteCredentials without sending the request
|
|
607
|
-
* @throws {RequiredError}
|
|
608
|
-
* @memberof DefaultApiInterface
|
|
609
|
-
*/
|
|
610
|
-
deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* Removes all stored vCenter credentials from the database.
|
|
614
|
-
* @summary Delete stored credentials
|
|
615
|
-
* @param {*} [options] Override http request option.
|
|
616
|
-
* @throws {RequiredError}
|
|
617
|
-
* @memberof DefaultApiInterface
|
|
618
|
-
*/
|
|
619
|
-
deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
620
|
-
|
|
621
|
-
/**
|
|
622
|
-
* Removes all stored vCenter credentials from the database.
|
|
623
|
-
* Delete stored credentials
|
|
624
|
-
*/
|
|
625
|
-
deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Creates request options for deleteForecasterRun without sending the request
|
|
629
|
-
* @param {number} id Run ID
|
|
630
|
-
* @throws {RequiredError}
|
|
631
|
-
* @memberof DefaultApiInterface
|
|
632
|
-
*/
|
|
633
|
-
deleteForecasterRunRequestOpts(requestParameters: DeleteForecasterRunRequest): Promise<runtime.RequestOpts>;
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
*
|
|
637
|
-
* @summary Delete a benchmark run
|
|
638
|
-
* @param {number} id Run ID
|
|
639
|
-
* @param {*} [options] Override http request option.
|
|
640
|
-
* @throws {RequiredError}
|
|
641
|
-
* @memberof DefaultApiInterface
|
|
642
|
-
*/
|
|
643
|
-
deleteForecasterRunRaw(requestParameters: DeleteForecasterRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* Delete a benchmark run
|
|
647
|
-
*/
|
|
648
|
-
deleteForecasterRun(requestParameters: DeleteForecasterRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Creates request options for deleteGroup without sending the request
|
|
652
|
-
* @param {string} id Group ID
|
|
653
|
-
* @throws {RequiredError}
|
|
654
|
-
* @memberof DefaultApiInterface
|
|
655
|
-
*/
|
|
656
|
-
deleteGroupRequestOpts(requestParameters: DeleteGroupRequest): Promise<runtime.RequestOpts>;
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
*
|
|
660
|
-
* @summary Delete group
|
|
661
|
-
* @param {string} id Group ID
|
|
662
|
-
* @param {*} [options] Override http request option.
|
|
663
|
-
* @throws {RequiredError}
|
|
664
|
-
* @memberof DefaultApiInterface
|
|
665
|
-
*/
|
|
666
|
-
deleteGroupRaw(requestParameters: DeleteGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* Delete group
|
|
670
|
-
*/
|
|
671
|
-
deleteGroup(requestParameters: DeleteGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* Creates request options for deleteLabelGlobally without sending the request
|
|
675
|
-
* @param {string} label The label to remove from all VMs
|
|
676
|
-
* @throws {RequiredError}
|
|
677
|
-
* @memberof DefaultApiInterface
|
|
678
|
-
*/
|
|
679
|
-
deleteLabelGloballyRequestOpts(requestParameters: DeleteLabelGloballyRequest): Promise<runtime.RequestOpts>;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
*
|
|
683
|
-
* @summary Delete label from all VMs
|
|
684
|
-
* @param {string} label The label to remove from all VMs
|
|
685
|
-
* @param {*} [options] Override http request option.
|
|
686
|
-
* @throws {RequiredError}
|
|
687
|
-
* @memberof DefaultApiInterface
|
|
688
|
-
*/
|
|
689
|
-
deleteLabelGloballyRaw(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteLabelGloballyResponse>>;
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* Delete label from all VMs
|
|
693
|
-
*/
|
|
694
|
-
deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* Creates request options for exportInventory without sending the request
|
|
698
|
-
* @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
699
|
-
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
700
|
-
* @throws {RequiredError}
|
|
701
|
-
* @memberof DefaultApiInterface
|
|
702
|
-
*/
|
|
703
|
-
exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts>;
|
|
704
|
-
|
|
705
|
-
/**
|
|
706
|
-
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
707
|
-
* @summary Export VM inventory and migration planning data
|
|
708
|
-
* @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
709
|
-
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
710
|
-
* @param {*} [options] Override http request option.
|
|
711
|
-
* @throws {RequiredError}
|
|
712
|
-
* @memberof DefaultApiInterface
|
|
713
|
-
*/
|
|
714
|
-
exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
718
|
-
* Export VM inventory and migration planning data
|
|
719
|
-
*/
|
|
720
|
-
exportInventory(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* Creates request options for getAgentStatus without sending the request
|
|
724
|
-
* @throws {RequiredError}
|
|
725
|
-
* @memberof DefaultApiInterface
|
|
726
|
-
*/
|
|
727
|
-
getAgentStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
*
|
|
731
|
-
* @summary Get agent status
|
|
732
|
-
* @param {*} [options] Override http request option.
|
|
733
|
-
* @throws {RequiredError}
|
|
734
|
-
* @memberof DefaultApiInterface
|
|
735
|
-
*/
|
|
736
|
-
getAgentStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>>;
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* Get agent status
|
|
740
|
-
*/
|
|
741
|
-
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* Creates request options for getApplications without sending the request
|
|
745
|
-
* @throws {RequiredError}
|
|
746
|
-
* @memberof DefaultApiInterface
|
|
747
|
-
*/
|
|
748
|
-
getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
*
|
|
752
|
-
* @summary List detected applications running on VMs
|
|
753
|
-
* @param {*} [options] Override http request option.
|
|
754
|
-
* @throws {RequiredError}
|
|
755
|
-
* @memberof DefaultApiInterface
|
|
756
|
-
*/
|
|
757
|
-
getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* List detected applications running on VMs
|
|
761
|
-
*/
|
|
762
|
-
getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* Creates request options for getClusterUtilization without sending the request
|
|
766
|
-
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
767
|
-
* @throws {RequiredError}
|
|
768
|
-
* @memberof DefaultApiInterface
|
|
769
|
-
*/
|
|
770
|
-
getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
*
|
|
774
|
-
* @summary Get latest cluster utilization by cluster ID
|
|
775
|
-
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
776
|
-
* @param {*} [options] Override http request option.
|
|
777
|
-
* @throws {RequiredError}
|
|
778
|
-
* @memberof DefaultApiInterface
|
|
779
|
-
*/
|
|
780
|
-
getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* Get latest cluster utilization by cluster ID
|
|
784
|
-
*/
|
|
785
|
-
getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
* Creates request options for getCollectorStatus without sending the request
|
|
789
|
-
* @throws {RequiredError}
|
|
790
|
-
* @memberof DefaultApiInterface
|
|
791
|
-
*/
|
|
792
|
-
getCollectorStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
*
|
|
796
|
-
* @summary Get collector status
|
|
797
|
-
* @param {*} [options] Override http request option.
|
|
798
|
-
* @throws {RequiredError}
|
|
799
|
-
* @memberof DefaultApiInterface
|
|
800
|
-
*/
|
|
801
|
-
getCollectorStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>>;
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* Get collector status
|
|
805
|
-
*/
|
|
806
|
-
getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* Creates request options for getCredentialCapabilities without sending the request
|
|
810
|
-
* @throws {RequiredError}
|
|
811
|
-
* @memberof DefaultApiInterface
|
|
812
|
-
*/
|
|
813
|
-
getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
817
|
-
* @summary Check vSphere operation capabilities
|
|
818
|
-
* @param {*} [options] Override http request option.
|
|
819
|
-
* @throws {RequiredError}
|
|
820
|
-
* @memberof DefaultApiInterface
|
|
821
|
-
*/
|
|
822
|
-
getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
826
|
-
* Check vSphere operation capabilities
|
|
827
|
-
*/
|
|
828
|
-
getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* Creates request options for getCredentials without sending the request
|
|
832
|
-
* @throws {RequiredError}
|
|
833
|
-
* @memberof DefaultApiInterface
|
|
834
|
-
*/
|
|
835
|
-
getCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
839
|
-
* @summary Get stored credential status
|
|
840
|
-
* @param {*} [options] Override http request option.
|
|
841
|
-
* @throws {RequiredError}
|
|
842
|
-
* @memberof DefaultApiInterface
|
|
843
|
-
*/
|
|
844
|
-
getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
845
|
-
|
|
846
|
-
/**
|
|
847
|
-
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
848
|
-
* Get stored credential status
|
|
849
|
-
*/
|
|
850
|
-
getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* Creates request options for getForecasterDatastores without sending the request
|
|
854
|
-
* @param {ForecasterDatastoresRequest} [forecasterDatastoresRequest]
|
|
855
|
-
* @throws {RequiredError}
|
|
856
|
-
* @memberof DefaultApiInterface
|
|
857
|
-
*/
|
|
858
|
-
getForecasterDatastoresRequestOpts(requestParameters: GetForecasterDatastoresRequest): Promise<runtime.RequestOpts>;
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* Returns datastores from the forklift-collected inventory with storage vendor and capability information derived from NAA device identifiers. No vSphere credentials are required.
|
|
862
|
-
* @summary List available datastores
|
|
863
|
-
* @param {ForecasterDatastoresRequest} [forecasterDatastoresRequest]
|
|
864
|
-
* @param {*} [options] Override http request option.
|
|
865
|
-
* @throws {RequiredError}
|
|
866
|
-
* @memberof DefaultApiInterface
|
|
867
|
-
*/
|
|
868
|
-
getForecasterDatastoresRaw(requestParameters: GetForecasterDatastoresRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DatastoreDetail>>>;
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* Returns datastores from the forklift-collected inventory with storage vendor and capability information derived from NAA device identifiers. No vSphere credentials are required.
|
|
872
|
-
* List available datastores
|
|
873
|
-
*/
|
|
874
|
-
getForecasterDatastores(requestParameters: GetForecasterDatastoresRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DatastoreDetail>>;
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* Creates request options for getForecasterRuns without sending the request
|
|
878
|
-
* @param {string} [pairName] Filter runs by pair name
|
|
879
|
-
* @throws {RequiredError}
|
|
880
|
-
* @memberof DefaultApiInterface
|
|
881
|
-
*/
|
|
882
|
-
getForecasterRunsRequestOpts(requestParameters: GetForecasterRunsRequest): Promise<runtime.RequestOpts>;
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* Returns individual benchmark iterations. Optionally filtered by pair name.
|
|
886
|
-
* @summary List benchmark runs
|
|
887
|
-
* @param {string} [pairName] Filter runs by pair name
|
|
888
|
-
* @param {*} [options] Override http request option.
|
|
889
|
-
* @throws {RequiredError}
|
|
890
|
-
* @memberof DefaultApiInterface
|
|
891
|
-
*/
|
|
892
|
-
getForecasterRunsRaw(requestParameters: GetForecasterRunsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<BenchmarkRun>>>;
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
* Returns individual benchmark iterations. Optionally filtered by pair name.
|
|
896
|
-
* List benchmark runs
|
|
897
|
-
*/
|
|
898
|
-
getForecasterRuns(requestParameters: GetForecasterRunsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<BenchmarkRun>>;
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* Creates request options for getForecasterStats without sending the request
|
|
902
|
-
* @param {string} pairName Pair name to get statistics for
|
|
903
|
-
* @throws {RequiredError}
|
|
904
|
-
* @memberof DefaultApiInterface
|
|
905
|
-
*/
|
|
906
|
-
getForecasterStatsRequestOpts(requestParameters: GetForecasterStatsRequest): Promise<runtime.RequestOpts>;
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* Returns computed statistics for a datastore pair\'s benchmark results. Primary endpoint for the UI to display migration time estimates.
|
|
910
|
-
* @summary Get throughput statistics
|
|
911
|
-
* @param {string} pairName Pair name to get statistics for
|
|
912
|
-
* @param {*} [options] Override http request option.
|
|
913
|
-
* @throws {RequiredError}
|
|
914
|
-
* @memberof DefaultApiInterface
|
|
915
|
-
*/
|
|
916
|
-
getForecasterStatsRaw(requestParameters: GetForecasterStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecastStats>>;
|
|
917
|
-
|
|
918
|
-
/**
|
|
919
|
-
* Returns computed statistics for a datastore pair\'s benchmark results. Primary endpoint for the UI to display migration time estimates.
|
|
920
|
-
* Get throughput statistics
|
|
921
|
-
*/
|
|
922
|
-
getForecasterStats(requestParameters: GetForecasterStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecastStats>;
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* Creates request options for getForecasterStatus without sending the request
|
|
926
|
-
* @throws {RequiredError}
|
|
927
|
-
* @memberof DefaultApiInterface
|
|
928
|
-
*/
|
|
929
|
-
getForecasterStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
930
|
-
|
|
931
|
-
/**
|
|
932
|
-
* Returns current service state with per-pair progress details.
|
|
933
|
-
* @summary Poll forecaster status
|
|
934
|
-
* @param {*} [options] Override http request option.
|
|
935
|
-
* @throws {RequiredError}
|
|
936
|
-
* @memberof DefaultApiInterface
|
|
937
|
-
*/
|
|
938
|
-
getForecasterStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecasterStatus>>;
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Returns current service state with per-pair progress details.
|
|
942
|
-
* Poll forecaster status
|
|
943
|
-
*/
|
|
944
|
-
getForecasterStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecasterStatus>;
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
* Creates request options for getGroup without sending the request
|
|
948
|
-
* @param {string} id Group ID
|
|
949
|
-
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
950
|
-
* @param {number} [page] Page number for pagination
|
|
951
|
-
* @param {number} [pageSize] Number of items per page
|
|
952
|
-
* @throws {RequiredError}
|
|
953
|
-
* @memberof DefaultApiInterface
|
|
954
|
-
*/
|
|
955
|
-
getGroupRequestOpts(requestParameters: GetGroupRequest): Promise<runtime.RequestOpts>;
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
*
|
|
959
|
-
* @summary Get group by ID with its VMs
|
|
960
|
-
* @param {string} id Group ID
|
|
961
|
-
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
962
|
-
* @param {number} [page] Page number for pagination
|
|
963
|
-
* @param {number} [pageSize] Number of items per page
|
|
964
|
-
* @param {*} [options] Override http request option.
|
|
965
|
-
* @throws {RequiredError}
|
|
966
|
-
* @memberof DefaultApiInterface
|
|
967
|
-
*/
|
|
968
|
-
getGroupRaw(requestParameters: GetGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GroupResponse>>;
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* Get group by ID with its VMs
|
|
972
|
-
*/
|
|
973
|
-
getGroup(requestParameters: GetGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupResponse>;
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* Creates request options for getInspectorStatus without sending the request
|
|
977
|
-
* @param {boolean} [includeVddk] If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
978
|
-
* @throws {RequiredError}
|
|
979
|
-
* @memberof DefaultApiInterface
|
|
980
|
-
*/
|
|
981
|
-
getInspectorStatusRequestOpts(requestParameters: GetInspectorStatusRequest): Promise<runtime.RequestOpts>;
|
|
982
|
-
|
|
983
|
-
/**
|
|
984
|
-
*
|
|
985
|
-
* @summary Get inspector status
|
|
986
|
-
* @param {boolean} [includeVddk] If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
987
|
-
* @param {*} [options] Override http request option.
|
|
988
|
-
* @throws {RequiredError}
|
|
989
|
-
* @memberof DefaultApiInterface
|
|
990
|
-
*/
|
|
991
|
-
getInspectorStatusRaw(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* Get inspector status
|
|
995
|
-
*/
|
|
996
|
-
getInspectorStatus(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* Creates request options for getInspectorVddkStatus without sending the request
|
|
1000
|
-
* @throws {RequiredError}
|
|
1001
|
-
* @memberof DefaultApiInterface
|
|
1002
|
-
*/
|
|
1003
|
-
getInspectorVddkStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
*
|
|
1007
|
-
* @summary Get VDDK status
|
|
1008
|
-
* @param {*} [options] Override http request option.
|
|
1009
|
-
* @throws {RequiredError}
|
|
1010
|
-
* @memberof DefaultApiInterface
|
|
1011
|
-
*/
|
|
1012
|
-
getInspectorVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
1013
|
-
|
|
1014
|
-
/**
|
|
1015
|
-
* Get VDDK status
|
|
1016
|
-
*/
|
|
1017
|
-
getInspectorVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* Creates request options for getInventory without sending the request
|
|
1021
|
-
* @param {boolean} [withAgentId] If true, include the agentId in the response (Compatible with manual inventory upload).
|
|
1022
|
-
* @param {string} [groupId] Filter inventory to VMs matching this group\'s filter expression
|
|
1023
|
-
* @throws {RequiredError}
|
|
1024
|
-
* @memberof DefaultApiInterface
|
|
1025
|
-
*/
|
|
1026
|
-
getInventoryRequestOpts(requestParameters: GetInventoryRequest): Promise<runtime.RequestOpts>;
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
*
|
|
1030
|
-
* @summary Get collected inventory
|
|
1031
|
-
* @param {boolean} [withAgentId] If true, include the agentId in the response (Compatible with manual inventory upload).
|
|
1032
|
-
* @param {string} [groupId] Filter inventory to VMs matching this group\'s filter expression
|
|
1033
|
-
* @param {*} [options] Override http request option.
|
|
1034
|
-
* @throws {RequiredError}
|
|
1035
|
-
* @memberof DefaultApiInterface
|
|
1036
|
-
*/
|
|
1037
|
-
getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetInventory200Response>>;
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* Get collected inventory
|
|
1041
|
-
*/
|
|
1042
|
-
getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* Creates request options for getRightsizingReport without sending the request
|
|
1046
|
-
* @param {string} reportId Report UUID
|
|
1047
|
-
* @throws {RequiredError}
|
|
1048
|
-
* @memberof DefaultApiInterface
|
|
1049
|
-
*/
|
|
1050
|
-
getRightsizingReportRequestOpts(requestParameters: GetRightsizingReportRequest): Promise<runtime.RequestOpts>;
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1053
|
-
*
|
|
1054
|
-
* @summary Get a specific rightsizing report with full VM metrics
|
|
1055
|
-
* @param {string} reportId Report UUID
|
|
1056
|
-
* @param {*} [options] Override http request option.
|
|
1057
|
-
* @throws {RequiredError}
|
|
1058
|
-
* @memberof DefaultApiInterface
|
|
1059
|
-
*/
|
|
1060
|
-
getRightsizingReportRaw(requestParameters: GetRightsizingReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingReport>>;
|
|
1061
|
-
|
|
1062
|
-
/**
|
|
1063
|
-
* Get a specific rightsizing report with full VM metrics
|
|
1064
|
-
*/
|
|
1065
|
-
getRightsizingReport(requestParameters: GetRightsizingReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReport>;
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* Creates request options for getRightsizingReportCluster without sending the request
|
|
1069
|
-
* @param {string} reportId Rightsizing report UUID
|
|
1070
|
-
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
1071
|
-
* @throws {RequiredError}
|
|
1072
|
-
* @memberof DefaultApiInterface
|
|
1073
|
-
*/
|
|
1074
|
-
getRightsizingReportClusterRequestOpts(requestParameters: GetRightsizingReportClusterRequest): Promise<runtime.RequestOpts>;
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
*
|
|
1078
|
-
* @summary Get utilization for a specific cluster from a specific report
|
|
1079
|
-
* @param {string} reportId Rightsizing report UUID
|
|
1080
|
-
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
1081
|
-
* @param {*} [options] Override http request option.
|
|
1082
|
-
* @throws {RequiredError}
|
|
1083
|
-
* @memberof DefaultApiInterface
|
|
1084
|
-
*/
|
|
1085
|
-
getRightsizingReportClusterRaw(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
1086
|
-
|
|
1087
|
-
/**
|
|
1088
|
-
* Get utilization for a specific cluster from a specific report
|
|
1089
|
-
*/
|
|
1090
|
-
getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
1091
|
-
|
|
1092
|
-
/**
|
|
1093
|
-
* Creates request options for getVM without sending the request
|
|
1094
|
-
* @param {string} id VirtualMachine id
|
|
1095
|
-
* @throws {RequiredError}
|
|
1096
|
-
* @memberof DefaultApiInterface
|
|
1097
|
-
*/
|
|
1098
|
-
getVMRequestOpts(requestParameters: GetVMRequest): Promise<runtime.RequestOpts>;
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
*
|
|
1102
|
-
* @summary Get details about a vm
|
|
1103
|
-
* @param {string} id VirtualMachine id
|
|
1104
|
-
* @param {*} [options] Override http request option.
|
|
1105
|
-
* @throws {RequiredError}
|
|
1106
|
-
* @memberof DefaultApiInterface
|
|
1107
|
-
*/
|
|
1108
|
-
getVMRaw(requestParameters: GetVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VirtualMachineDetail>>;
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* Get details about a vm
|
|
1112
|
-
*/
|
|
1113
|
-
getVM(requestParameters: GetVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineDetail>;
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* Creates request options for getVMLabels without sending the request
|
|
1117
|
-
* @throws {RequiredError}
|
|
1118
|
-
* @memberof DefaultApiInterface
|
|
1119
|
-
*/
|
|
1120
|
-
getVMLabelsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
*
|
|
1124
|
-
* @summary Get all distinct labels in use across VMs
|
|
1125
|
-
* @param {*} [options] Override http request option.
|
|
1126
|
-
* @throws {RequiredError}
|
|
1127
|
-
* @memberof DefaultApiInterface
|
|
1128
|
-
*/
|
|
1129
|
-
getVMLabelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMLabelsResponse>>;
|
|
1130
|
-
|
|
1131
|
-
/**
|
|
1132
|
-
* Get all distinct labels in use across VMs
|
|
1133
|
-
*/
|
|
1134
|
-
getVMLabels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMLabelsResponse>;
|
|
1135
|
-
|
|
1136
|
-
/**
|
|
1137
|
-
* Creates request options for getVMUtilization without sending the request
|
|
1138
|
-
* @param {string} id VirtualMachine MoRef ID
|
|
1139
|
-
* @throws {RequiredError}
|
|
1140
|
-
* @memberof DefaultApiInterface
|
|
1141
|
-
*/
|
|
1142
|
-
getVMUtilizationRequestOpts(requestParameters: GetVMUtilizationRequest): Promise<runtime.RequestOpts>;
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
*
|
|
1146
|
-
* @summary Get utilization breakdown for a specific VM
|
|
1147
|
-
* @param {string} id VirtualMachine MoRef ID
|
|
1148
|
-
* @param {*} [options] Override http request option.
|
|
1149
|
-
* @throws {RequiredError}
|
|
1150
|
-
* @memberof DefaultApiInterface
|
|
1151
|
-
*/
|
|
1152
|
-
getVMUtilizationRaw(requestParameters: GetVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmUtilizationDetails>>;
|
|
1153
|
-
|
|
1154
|
-
/**
|
|
1155
|
-
* Get utilization breakdown for a specific VM
|
|
1156
|
-
*/
|
|
1157
|
-
getVMUtilization(requestParameters: GetVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmUtilizationDetails>;
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* Creates request options for getVMs without sending the request
|
|
1161
|
-
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
1162
|
-
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
1163
|
-
* @param {number} [page] Page number for pagination
|
|
1164
|
-
* @param {number} [pageSize] Number of items per page
|
|
1165
|
-
* @throws {RequiredError}
|
|
1166
|
-
* @memberof DefaultApiInterface
|
|
1167
|
-
*/
|
|
1168
|
-
getVMsRequestOpts(requestParameters: GetVMsRequest): Promise<runtime.RequestOpts>;
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
*
|
|
1172
|
-
* @summary Get list of VMs with filtering and pagination
|
|
1173
|
-
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
1174
|
-
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
1175
|
-
* @param {number} [page] Page number for pagination
|
|
1176
|
-
* @param {number} [pageSize] Number of items per page
|
|
1177
|
-
* @param {*} [options] Override http request option.
|
|
1178
|
-
* @throws {RequiredError}
|
|
1179
|
-
* @memberof DefaultApiInterface
|
|
1180
|
-
*/
|
|
1181
|
-
getVMsRaw(requestParameters: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VirtualMachineListResponse>>;
|
|
1182
|
-
|
|
1183
|
-
/**
|
|
1184
|
-
* Get list of VMs with filtering and pagination
|
|
1185
|
-
*/
|
|
1186
|
-
getVMs(requestParameters: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse>;
|
|
1187
|
-
|
|
1188
|
-
/**
|
|
1189
|
-
* Creates request options for getVMsFilterOptions without sending the request
|
|
1190
|
-
* @throws {RequiredError}
|
|
1191
|
-
* @memberof DefaultApiInterface
|
|
1192
|
-
*/
|
|
1193
|
-
getVMsFilterOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
*
|
|
1197
|
-
* @summary Get distinct filter option values for VMs
|
|
1198
|
-
* @param {*} [options] Override http request option.
|
|
1199
|
-
* @throws {RequiredError}
|
|
1200
|
-
* @memberof DefaultApiInterface
|
|
1201
|
-
*/
|
|
1202
|
-
getVMsFilterOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMFilterOptionsResponse>>;
|
|
1203
|
-
|
|
1204
|
-
/**
|
|
1205
|
-
* Get distinct filter option values for VMs
|
|
1206
|
-
*/
|
|
1207
|
-
getVMsFilterOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMFilterOptionsResponse>;
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* Creates request options for getVersion without sending the request
|
|
1211
|
-
* @throws {RequiredError}
|
|
1212
|
-
* @memberof DefaultApiInterface
|
|
1213
|
-
*/
|
|
1214
|
-
getVersionRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
*
|
|
1218
|
-
* @summary Get agent version information
|
|
1219
|
-
* @param {*} [options] Override http request option.
|
|
1220
|
-
* @throws {RequiredError}
|
|
1221
|
-
* @memberof DefaultApiInterface
|
|
1222
|
-
*/
|
|
1223
|
-
getVersionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VersionInfo>>;
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* Get agent version information
|
|
1227
|
-
*/
|
|
1228
|
-
getVersion(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VersionInfo>;
|
|
1229
|
-
|
|
1230
|
-
/**
|
|
1231
|
-
* Creates request options for listGroups without sending the request
|
|
1232
|
-
* @param {string} [byName] Filter groups by name (case-insensitive substring match)
|
|
1233
|
-
* @param {number} [page] Page number (1-indexed)
|
|
1234
|
-
* @param {number} [pageSize] Number of groups per page
|
|
1235
|
-
* @throws {RequiredError}
|
|
1236
|
-
* @memberof DefaultApiInterface
|
|
1237
|
-
*/
|
|
1238
|
-
listGroupsRequestOpts(requestParameters: ListGroupsRequest): Promise<runtime.RequestOpts>;
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
*
|
|
1242
|
-
* @summary List all groups
|
|
1243
|
-
* @param {string} [byName] Filter groups by name (case-insensitive substring match)
|
|
1244
|
-
* @param {number} [page] Page number (1-indexed)
|
|
1245
|
-
* @param {number} [pageSize] Number of groups per page
|
|
1246
|
-
* @param {*} [options] Override http request option.
|
|
1247
|
-
* @throws {RequiredError}
|
|
1248
|
-
* @memberof DefaultApiInterface
|
|
1249
|
-
*/
|
|
1250
|
-
listGroupsRaw(requestParameters: ListGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GroupListResponse>>;
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* List all groups
|
|
1254
|
-
*/
|
|
1255
|
-
listGroups(requestParameters: ListGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupListResponse>;
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* Creates request options for listRightsizingReportClusters without sending the request
|
|
1259
|
-
* @param {string} reportId Rightsizing report UUID
|
|
1260
|
-
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
1261
|
-
* @throws {RequiredError}
|
|
1262
|
-
* @memberof DefaultApiInterface
|
|
1263
|
-
*/
|
|
1264
|
-
listRightsizingReportClustersRequestOpts(requestParameters: ListRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
|
|
1265
|
-
|
|
1266
|
-
/**
|
|
1267
|
-
*
|
|
1268
|
-
* @summary Get cluster-level utilization aggregates for a specific report
|
|
1269
|
-
* @param {string} reportId Rightsizing report UUID
|
|
1270
|
-
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
1271
|
-
* @param {*} [options] Override http request option.
|
|
1272
|
-
* @throws {RequiredError}
|
|
1273
|
-
* @memberof DefaultApiInterface
|
|
1274
|
-
*/
|
|
1275
|
-
listRightsizingReportClustersRaw(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* Get cluster-level utilization aggregates for a specific report
|
|
1279
|
-
*/
|
|
1280
|
-
listRightsizingReportClusters(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* Creates request options for listRightsizingReports without sending the request
|
|
1284
|
-
* @throws {RequiredError}
|
|
1285
|
-
* @memberof DefaultApiInterface
|
|
1286
|
-
*/
|
|
1287
|
-
listRightsizingReportsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
*
|
|
1291
|
-
* @summary List all rightsizing reports
|
|
1292
|
-
* @param {*} [options] Override http request option.
|
|
1293
|
-
* @throws {RequiredError}
|
|
1294
|
-
* @memberof DefaultApiInterface
|
|
1295
|
-
*/
|
|
1296
|
-
listRightsizingReportsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingReportListResponse>>;
|
|
1297
|
-
|
|
1298
|
-
/**
|
|
1299
|
-
* List all rightsizing reports
|
|
1300
|
-
*/
|
|
1301
|
-
listRightsizingReports(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReportListResponse>;
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* Creates request options for postForecasterPairCapabilities without sending the request
|
|
1305
|
-
* @param {PairCapabilityRequest} pairCapabilityRequest
|
|
1306
|
-
* @throws {RequiredError}
|
|
1307
|
-
* @memberof DefaultApiInterface
|
|
1308
|
-
*/
|
|
1309
|
-
postForecasterPairCapabilitiesRequestOpts(requestParameters: PostForecasterPairCapabilitiesRequest): Promise<runtime.RequestOpts>;
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
* Computes which offload methods are feasible for specific source-target datastore pairs based on vendor support and storage array topology derived from the forklift-collected inventory. No vSphere credentials are required.
|
|
1313
|
-
* @summary Compute pair capabilities
|
|
1314
|
-
* @param {PairCapabilityRequest} pairCapabilityRequest
|
|
1315
|
-
* @param {*} [options] Override http request option.
|
|
1316
|
-
* @throws {RequiredError}
|
|
1317
|
-
* @memberof DefaultApiInterface
|
|
1318
|
-
*/
|
|
1319
|
-
postForecasterPairCapabilitiesRaw(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PairCapability>>>;
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* Computes which offload methods are feasible for specific source-target datastore pairs based on vendor support and storage array topology derived from the forklift-collected inventory. No vSphere credentials are required.
|
|
1323
|
-
* Compute pair capabilities
|
|
1324
|
-
*/
|
|
1325
|
-
postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>>;
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
* Creates request options for putCredentials without sending the request
|
|
1329
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
1330
|
-
* @throws {RequiredError}
|
|
1331
|
-
* @memberof DefaultApiInterface
|
|
1332
|
-
*/
|
|
1333
|
-
putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
1337
|
-
* @summary Store vCenter credentials
|
|
1338
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
1339
|
-
* @param {*} [options] Override http request option.
|
|
1340
|
-
* @throws {RequiredError}
|
|
1341
|
-
* @memberof DefaultApiInterface
|
|
1342
|
-
*/
|
|
1343
|
-
putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
1347
|
-
* Store vCenter credentials
|
|
1348
|
-
*/
|
|
1349
|
-
putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
1350
|
-
|
|
1351
|
-
/**
|
|
1352
|
-
* Creates request options for putForecasterCredentials without sending the request
|
|
1353
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
1354
|
-
* @throws {RequiredError}
|
|
1355
|
-
* @memberof DefaultApiInterface
|
|
1356
|
-
*/
|
|
1357
|
-
putForecasterCredentialsRequestOpts(requestParameters: PutForecasterCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* Validates vCenter connectivity and verifies the user has the required vSphere privileges for forecaster operations (datastore file management, VM provisioning, disk cloning). Verification only — credentials are not saved.
|
|
1361
|
-
* @summary Verify vCenter credentials and permissions
|
|
1362
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
1363
|
-
* @param {*} [options] Override http request option.
|
|
1364
|
-
* @throws {RequiredError}
|
|
1365
|
-
* @memberof DefaultApiInterface
|
|
1366
|
-
*/
|
|
1367
|
-
putForecasterCredentialsRaw(requestParameters: PutForecasterCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1368
|
-
|
|
1369
|
-
/**
|
|
1370
|
-
* Validates vCenter connectivity and verifies the user has the required vSphere privileges for forecaster operations (datastore file management, VM provisioning, disk cloning). Verification only — credentials are not saved.
|
|
1371
|
-
* Verify vCenter credentials and permissions
|
|
1372
|
-
*/
|
|
1373
|
-
putForecasterCredentials(requestParameters: PutForecasterCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1374
|
-
|
|
1375
|
-
/**
|
|
1376
|
-
* Creates request options for putInspectorVddk without sending the request
|
|
1377
|
-
* @param {Blob} file VDDK tarball
|
|
1378
|
-
* @throws {RequiredError}
|
|
1379
|
-
* @memberof DefaultApiInterface
|
|
1380
|
-
*/
|
|
1381
|
-
putInspectorVddkRequestOpts(requestParameters: PutInspectorVddkRequest): Promise<runtime.RequestOpts>;
|
|
1382
|
-
|
|
1383
|
-
/**
|
|
1384
|
-
*
|
|
1385
|
-
* @summary Upload VDDK tarball
|
|
1386
|
-
* @param {Blob} file VDDK tarball
|
|
1387
|
-
* @param {*} [options] Override http request option.
|
|
1388
|
-
* @throws {RequiredError}
|
|
1389
|
-
* @memberof DefaultApiInterface
|
|
1390
|
-
*/
|
|
1391
|
-
putInspectorVddkRaw(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
* Upload VDDK tarball
|
|
1395
|
-
*/
|
|
1396
|
-
putInspectorVddk(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* Creates request options for removeVMFromInspection without sending the request
|
|
1400
|
-
* @param {string} id
|
|
1401
|
-
* @throws {RequiredError}
|
|
1402
|
-
* @memberof DefaultApiInterface
|
|
1403
|
-
*/
|
|
1404
|
-
removeVMFromInspectionRequestOpts(requestParameters: RemoveVMFromInspectionRequest): Promise<runtime.RequestOpts>;
|
|
1405
|
-
|
|
1406
|
-
/**
|
|
1407
|
-
*
|
|
1408
|
-
* @summary Remove VirtualMachine from inspection queue
|
|
1409
|
-
* @param {string} id
|
|
1410
|
-
* @param {*} [options] Override http request option.
|
|
1411
|
-
* @throws {RequiredError}
|
|
1412
|
-
* @memberof DefaultApiInterface
|
|
1413
|
-
*/
|
|
1414
|
-
removeVMFromInspectionRaw(requestParameters: RemoveVMFromInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmInspectionStatus>>;
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* Remove VirtualMachine from inspection queue
|
|
1418
|
-
*/
|
|
1419
|
-
removeVMFromInspection(requestParameters: RemoveVMFromInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmInspectionStatus>;
|
|
1420
|
-
|
|
1421
|
-
/**
|
|
1422
|
-
* Creates request options for setAgentMode without sending the request
|
|
1423
|
-
* @param {AgentModeRequest} agentModeRequest
|
|
1424
|
-
* @throws {RequiredError}
|
|
1425
|
-
* @memberof DefaultApiInterface
|
|
1426
|
-
*/
|
|
1427
|
-
setAgentModeRequestOpts(requestParameters: SetAgentModeRequest): Promise<runtime.RequestOpts>;
|
|
1428
|
-
|
|
1429
|
-
/**
|
|
1430
|
-
*
|
|
1431
|
-
* @summary Change agent mode
|
|
1432
|
-
* @param {AgentModeRequest} agentModeRequest
|
|
1433
|
-
* @param {*} [options] Override http request option.
|
|
1434
|
-
* @throws {RequiredError}
|
|
1435
|
-
* @memberof DefaultApiInterface
|
|
1436
|
-
*/
|
|
1437
|
-
setAgentModeRaw(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>>;
|
|
1438
|
-
|
|
1439
|
-
/**
|
|
1440
|
-
* Change agent mode
|
|
1441
|
-
*/
|
|
1442
|
-
setAgentMode(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
1443
|
-
|
|
1444
|
-
/**
|
|
1445
|
-
* Creates request options for startCollector without sending the request
|
|
1446
|
-
* @param {CollectorStartRequest} collectorStartRequest
|
|
1447
|
-
* @throws {RequiredError}
|
|
1448
|
-
* @memberof DefaultApiInterface
|
|
1449
|
-
*/
|
|
1450
|
-
startCollectorRequestOpts(requestParameters: StartCollectorRequest): Promise<runtime.RequestOpts>;
|
|
1451
|
-
|
|
1452
|
-
/**
|
|
1453
|
-
*
|
|
1454
|
-
* @summary Start inventory collection
|
|
1455
|
-
* @param {CollectorStartRequest} collectorStartRequest
|
|
1456
|
-
* @param {*} [options] Override http request option.
|
|
1457
|
-
* @throws {RequiredError}
|
|
1458
|
-
* @memberof DefaultApiInterface
|
|
1459
|
-
*/
|
|
1460
|
-
startCollectorRaw(requestParameters: StartCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>>;
|
|
1461
|
-
|
|
1462
|
-
/**
|
|
1463
|
-
* Start inventory collection
|
|
1464
|
-
*/
|
|
1465
|
-
startCollector(requestParameters: StartCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
1466
|
-
|
|
1467
|
-
/**
|
|
1468
|
-
* Creates request options for startForecaster without sending the request
|
|
1469
|
-
* @param {ForecasterStartRequest} forecasterStartRequest
|
|
1470
|
-
* @throws {RequiredError}
|
|
1471
|
-
* @memberof DefaultApiInterface
|
|
1472
|
-
*/
|
|
1473
|
-
startForecasterRequestOpts(requestParameters: StartForecasterRequest): Promise<runtime.RequestOpts>;
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* Starts async benchmarking for one or more datastore pairs. Credentials can be passed inline or omitted if previously provided in an earlier request.
|
|
1477
|
-
* @summary Start benchmark
|
|
1478
|
-
* @param {ForecasterStartRequest} forecasterStartRequest
|
|
1479
|
-
* @param {*} [options] Override http request option.
|
|
1480
|
-
* @throws {RequiredError}
|
|
1481
|
-
* @memberof DefaultApiInterface
|
|
1482
|
-
*/
|
|
1483
|
-
startForecasterRaw(requestParameters: StartForecasterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecasterStatus>>;
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
* Starts async benchmarking for one or more datastore pairs. Credentials can be passed inline or omitted if previously provided in an earlier request.
|
|
1487
|
-
* Start benchmark
|
|
1488
|
-
*/
|
|
1489
|
-
startForecaster(requestParameters: StartForecasterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecasterStatus>;
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* Creates request options for startInspection without sending the request
|
|
1493
|
-
* @param {StartInspectionRequest} startInspectionRequest
|
|
1494
|
-
* @throws {RequiredError}
|
|
1495
|
-
* @memberof DefaultApiInterface
|
|
1496
|
-
*/
|
|
1497
|
-
startInspectionRequestOpts(requestParameters: StartInspectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
1498
|
-
|
|
1499
|
-
/**
|
|
1500
|
-
*
|
|
1501
|
-
* @summary Start inspection for VMs
|
|
1502
|
-
* @param {StartInspectionRequest} startInspectionRequest
|
|
1503
|
-
* @param {*} [options] Override http request option.
|
|
1504
|
-
* @throws {RequiredError}
|
|
1505
|
-
* @memberof DefaultApiInterface
|
|
1506
|
-
*/
|
|
1507
|
-
startInspectionRaw(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
1508
|
-
|
|
1509
|
-
/**
|
|
1510
|
-
* Start inspection for VMs
|
|
1511
|
-
*/
|
|
1512
|
-
startInspection(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
1513
|
-
|
|
1514
|
-
/**
|
|
1515
|
-
* Creates request options for stopCollector without sending the request
|
|
1516
|
-
* @throws {RequiredError}
|
|
1517
|
-
* @memberof DefaultApiInterface
|
|
1518
|
-
*/
|
|
1519
|
-
stopCollectorRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1520
|
-
|
|
1521
|
-
/**
|
|
1522
|
-
*
|
|
1523
|
-
* @summary Stop collection
|
|
1524
|
-
* @param {*} [options] Override http request option.
|
|
1525
|
-
* @throws {RequiredError}
|
|
1526
|
-
* @memberof DefaultApiInterface
|
|
1527
|
-
*/
|
|
1528
|
-
stopCollectorRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1529
|
-
|
|
1530
|
-
/**
|
|
1531
|
-
* Stop collection
|
|
1532
|
-
*/
|
|
1533
|
-
stopCollector(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1534
|
-
|
|
1535
|
-
/**
|
|
1536
|
-
* Creates request options for stopForecaster without sending the request
|
|
1537
|
-
* @throws {RequiredError}
|
|
1538
|
-
* @memberof DefaultApiInterface
|
|
1539
|
-
*/
|
|
1540
|
-
stopForecasterRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1541
|
-
|
|
1542
|
-
/**
|
|
1543
|
-
* Stops the running benchmark. Already-completed runs are preserved in the database.
|
|
1544
|
-
* @summary Cancel benchmark
|
|
1545
|
-
* @param {*} [options] Override http request option.
|
|
1546
|
-
* @throws {RequiredError}
|
|
1547
|
-
* @memberof DefaultApiInterface
|
|
1548
|
-
*/
|
|
1549
|
-
stopForecasterRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecasterStatus>>;
|
|
1550
|
-
|
|
1551
|
-
/**
|
|
1552
|
-
* Stops the running benchmark. Already-completed runs are preserved in the database.
|
|
1553
|
-
* Cancel benchmark
|
|
1554
|
-
*/
|
|
1555
|
-
stopForecaster(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecasterStatus>;
|
|
1556
|
-
|
|
1557
|
-
/**
|
|
1558
|
-
* Creates request options for stopForecasterPair without sending the request
|
|
1559
|
-
* @param {string} name Pair name as specified in the start request
|
|
1560
|
-
* @throws {RequiredError}
|
|
1561
|
-
* @memberof DefaultApiInterface
|
|
1562
|
-
*/
|
|
1563
|
-
stopForecasterPairRequestOpts(requestParameters: StopForecasterPairRequest): Promise<runtime.RequestOpts>;
|
|
1564
|
-
|
|
1565
|
-
/**
|
|
1566
|
-
* Cancels the benchmark for a specific pair by name. The forecaster continues running if other pairs are still active.
|
|
1567
|
-
* @summary Cancel a single pair
|
|
1568
|
-
* @param {string} name Pair name as specified in the start request
|
|
1569
|
-
* @param {*} [options] Override http request option.
|
|
1570
|
-
* @throws {RequiredError}
|
|
1571
|
-
* @memberof DefaultApiInterface
|
|
1572
|
-
*/
|
|
1573
|
-
stopForecasterPairRaw(requestParameters: StopForecasterPairRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StopForecasterPair202Response>>;
|
|
1574
|
-
|
|
1575
|
-
/**
|
|
1576
|
-
* Cancels the benchmark for a specific pair by name. The forecaster continues running if other pairs are still active.
|
|
1577
|
-
* Cancel a single pair
|
|
1578
|
-
*/
|
|
1579
|
-
stopForecasterPair(requestParameters: StopForecasterPairRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StopForecasterPair202Response>;
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* Creates request options for stopInspection without sending the request
|
|
1583
|
-
* @throws {RequiredError}
|
|
1584
|
-
* @memberof DefaultApiInterface
|
|
1585
|
-
*/
|
|
1586
|
-
stopInspectionRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
*
|
|
1590
|
-
* @summary Stop inspector entirely
|
|
1591
|
-
* @param {*} [options] Override http request option.
|
|
1592
|
-
* @throws {RequiredError}
|
|
1593
|
-
* @memberof DefaultApiInterface
|
|
1594
|
-
*/
|
|
1595
|
-
stopInspectionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* Stop inspector entirely
|
|
1599
|
-
*/
|
|
1600
|
-
stopInspection(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* Creates request options for triggerRightsizingCollection without sending the request
|
|
1604
|
-
* @param {RightsizingCollectRequest} rightsizingCollectRequest
|
|
1605
|
-
* @throws {RequiredError}
|
|
1606
|
-
* @memberof DefaultApiInterface
|
|
1607
|
-
*/
|
|
1608
|
-
triggerRightsizingCollectionRequestOpts(requestParameters: TriggerRightsizingCollectionRequest): Promise<runtime.RequestOpts>;
|
|
1609
|
-
|
|
1610
|
-
/**
|
|
1611
|
-
*
|
|
1612
|
-
* @summary Trigger rightsizing metrics collection
|
|
1613
|
-
* @param {RightsizingCollectRequest} rightsizingCollectRequest
|
|
1614
|
-
* @param {*} [options] Override http request option.
|
|
1615
|
-
* @throws {RequiredError}
|
|
1616
|
-
* @memberof DefaultApiInterface
|
|
1617
|
-
*/
|
|
1618
|
-
triggerRightsizingCollectionRaw(requestParameters: TriggerRightsizingCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingReportSummary>>;
|
|
1619
|
-
|
|
1620
|
-
/**
|
|
1621
|
-
* Trigger rightsizing metrics collection
|
|
1622
|
-
*/
|
|
1623
|
-
triggerRightsizingCollection(requestParameters: TriggerRightsizingCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReportSummary>;
|
|
1624
|
-
|
|
1625
|
-
/**
|
|
1626
|
-
* Creates request options for updateGroup without sending the request
|
|
1627
|
-
* @param {string} id Group ID
|
|
1628
|
-
* @param {UpdateGroupRequest} updateGroupRequest
|
|
1629
|
-
* @throws {RequiredError}
|
|
1630
|
-
* @memberof DefaultApiInterface
|
|
1631
|
-
*/
|
|
1632
|
-
updateGroupRequestOpts(requestParameters: UpdateGroupOperationRequest): Promise<runtime.RequestOpts>;
|
|
1633
|
-
|
|
1634
|
-
/**
|
|
1635
|
-
*
|
|
1636
|
-
* @summary Update group
|
|
1637
|
-
* @param {string} id Group ID
|
|
1638
|
-
* @param {UpdateGroupRequest} updateGroupRequest
|
|
1639
|
-
* @param {*} [options] Override http request option.
|
|
1640
|
-
* @throws {RequiredError}
|
|
1641
|
-
* @memberof DefaultApiInterface
|
|
1642
|
-
*/
|
|
1643
|
-
updateGroupRaw(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Group>>;
|
|
1644
|
-
|
|
1645
|
-
/**
|
|
1646
|
-
* Update group
|
|
1647
|
-
*/
|
|
1648
|
-
updateGroup(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* Creates request options for updateLabelVMs without sending the request
|
|
1652
|
-
* @param {string} label The label to modify
|
|
1653
|
-
* @param {UpdateLabelVMsRequest} updateLabelVMsRequest
|
|
1654
|
-
* @throws {RequiredError}
|
|
1655
|
-
* @memberof DefaultApiInterface
|
|
1656
|
-
*/
|
|
1657
|
-
updateLabelVMsRequestOpts(requestParameters: UpdateLabelVMsOperationRequest): Promise<runtime.RequestOpts>;
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
*
|
|
1661
|
-
* @summary Modify label VM membership (add/remove label to/from VMs)
|
|
1662
|
-
* @param {string} label The label to modify
|
|
1663
|
-
* @param {UpdateLabelVMsRequest} updateLabelVMsRequest
|
|
1664
|
-
* @param {*} [options] Override http request option.
|
|
1665
|
-
* @throws {RequiredError}
|
|
1666
|
-
* @memberof DefaultApiInterface
|
|
1667
|
-
*/
|
|
1668
|
-
updateLabelVMsRaw(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1669
|
-
|
|
1670
|
-
/**
|
|
1671
|
-
* Modify label VM membership (add/remove label to/from VMs)
|
|
1672
|
-
*/
|
|
1673
|
-
updateLabelVMs(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1674
|
-
|
|
1675
|
-
/**
|
|
1676
|
-
* Creates request options for updateVM without sending the request
|
|
1677
|
-
* @param {string} id VirtualMachine id
|
|
1678
|
-
* @param {VirtualMachineUpdateRequest} virtualMachineUpdateRequest
|
|
1679
|
-
* @throws {RequiredError}
|
|
1680
|
-
* @memberof DefaultApiInterface
|
|
1681
|
-
*/
|
|
1682
|
-
updateVMRequestOpts(requestParameters: UpdateVMRequest): Promise<runtime.RequestOpts>;
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
*
|
|
1686
|
-
* @summary Update VM properties
|
|
1687
|
-
* @param {string} id VirtualMachine id
|
|
1688
|
-
* @param {VirtualMachineUpdateRequest} virtualMachineUpdateRequest
|
|
1689
|
-
* @param {*} [options] Override http request option.
|
|
1690
|
-
* @throws {RequiredError}
|
|
1691
|
-
* @memberof DefaultApiInterface
|
|
1692
|
-
*/
|
|
1693
|
-
updateVMRaw(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1694
|
-
|
|
1695
|
-
/**
|
|
1696
|
-
* Update VM properties
|
|
1697
|
-
*/
|
|
1698
|
-
updateVM(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1699
|
-
|
|
1700
|
-
/**
|
|
1701
|
-
* Creates request options for validateInspectorCredentials without sending the request
|
|
1702
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
1703
|
-
* @throws {RequiredError}
|
|
1704
|
-
* @memberof DefaultApiInterface
|
|
1705
|
-
*/
|
|
1706
|
-
validateInspectorCredentialsRequestOpts(requestParameters: ValidateInspectorCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1707
|
-
|
|
1708
|
-
/**
|
|
1709
|
-
*
|
|
1710
|
-
* @summary Validate vCenter credentials for inspector
|
|
1711
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
1712
|
-
* @param {*} [options] Override http request option.
|
|
1713
|
-
* @throws {RequiredError}
|
|
1714
|
-
* @memberof DefaultApiInterface
|
|
1715
|
-
*/
|
|
1716
|
-
validateInspectorCredentialsRaw(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* Validate vCenter credentials for inspector
|
|
1720
|
-
*/
|
|
1721
|
-
validateInspectorCredentials(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1722
|
-
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
/**
|
|
1726
|
-
*
|
|
1727
|
-
*/
|
|
1728
|
-
export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* Creates request options for batchUpdateVMExclusion without sending the request
|
|
1732
|
-
*/
|
|
1733
|
-
async batchUpdateVMExclusionRequestOpts(requestParameters: BatchUpdateVMExclusionRequest): Promise<runtime.RequestOpts> {
|
|
1734
|
-
if (requestParameters['batchUpdateExclusionRequest'] == null) {
|
|
1735
|
-
throw new runtime.RequiredError(
|
|
1736
|
-
'batchUpdateExclusionRequest',
|
|
1737
|
-
'Required parameter "batchUpdateExclusionRequest" was null or undefined when calling batchUpdateVMExclusion().'
|
|
1738
|
-
);
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
const queryParameters: any = {};
|
|
1742
|
-
|
|
1743
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1744
|
-
|
|
1745
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
let urlPath = `/vms/batch-update-exclusion`;
|
|
1749
|
-
|
|
1750
|
-
return {
|
|
1751
|
-
path: urlPath,
|
|
1752
|
-
method: 'POST',
|
|
1753
|
-
headers: headerParameters,
|
|
1754
|
-
query: queryParameters,
|
|
1755
|
-
body: BatchUpdateExclusionRequestToJSON(requestParameters['batchUpdateExclusionRequest']),
|
|
1756
|
-
};
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
/**
|
|
1760
|
-
* Batch update VM exclusion status
|
|
1761
|
-
*/
|
|
1762
|
-
async batchUpdateVMExclusionRaw(requestParameters: BatchUpdateVMExclusionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1763
|
-
const requestOptions = await this.batchUpdateVMExclusionRequestOpts(requestParameters);
|
|
1764
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1765
|
-
|
|
1766
|
-
return new runtime.VoidApiResponse(response);
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
/**
|
|
1770
|
-
* Batch update VM exclusion status
|
|
1771
|
-
*/
|
|
1772
|
-
async batchUpdateVMExclusion(requestParameters: BatchUpdateVMExclusionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1773
|
-
await this.batchUpdateVMExclusionRaw(requestParameters, initOverrides);
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* Creates request options for createGroup without sending the request
|
|
1778
|
-
*/
|
|
1779
|
-
async createGroupRequestOpts(requestParameters: CreateGroupOperationRequest): Promise<runtime.RequestOpts> {
|
|
1780
|
-
if (requestParameters['createGroupRequest'] == null) {
|
|
1781
|
-
throw new runtime.RequiredError(
|
|
1782
|
-
'createGroupRequest',
|
|
1783
|
-
'Required parameter "createGroupRequest" was null or undefined when calling createGroup().'
|
|
1784
|
-
);
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
const queryParameters: any = {};
|
|
1788
|
-
|
|
1789
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1790
|
-
|
|
1791
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
let urlPath = `/groups`;
|
|
1795
|
-
|
|
1796
|
-
return {
|
|
1797
|
-
path: urlPath,
|
|
1798
|
-
method: 'POST',
|
|
1799
|
-
headers: headerParameters,
|
|
1800
|
-
query: queryParameters,
|
|
1801
|
-
body: CreateGroupRequestToJSON(requestParameters['createGroupRequest']),
|
|
1802
|
-
};
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* Create a new group
|
|
1807
|
-
*/
|
|
1808
|
-
async createGroupRaw(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Group>> {
|
|
1809
|
-
const requestOptions = await this.createGroupRequestOpts(requestParameters);
|
|
1810
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1811
|
-
|
|
1812
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GroupFromJSON(jsonValue));
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
/**
|
|
1816
|
-
* Create a new group
|
|
1817
|
-
*/
|
|
1818
|
-
async createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group> {
|
|
1819
|
-
const response = await this.createGroupRaw(requestParameters, initOverrides);
|
|
1820
|
-
return await response.value();
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
/**
|
|
1824
|
-
* Creates request options for deleteCredentials without sending the request
|
|
1825
|
-
*/
|
|
1826
|
-
async deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
1827
|
-
const queryParameters: any = {};
|
|
1828
|
-
|
|
1829
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
let urlPath = `/credentials`;
|
|
1833
|
-
|
|
1834
|
-
return {
|
|
1835
|
-
path: urlPath,
|
|
1836
|
-
method: 'DELETE',
|
|
1837
|
-
headers: headerParameters,
|
|
1838
|
-
query: queryParameters,
|
|
1839
|
-
};
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
/**
|
|
1843
|
-
* Removes all stored vCenter credentials from the database.
|
|
1844
|
-
* Delete stored credentials
|
|
1845
|
-
*/
|
|
1846
|
-
async deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1847
|
-
const requestOptions = await this.deleteCredentialsRequestOpts();
|
|
1848
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1849
|
-
|
|
1850
|
-
return new runtime.VoidApiResponse(response);
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
/**
|
|
1854
|
-
* Removes all stored vCenter credentials from the database.
|
|
1855
|
-
* Delete stored credentials
|
|
1856
|
-
*/
|
|
1857
|
-
async deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1858
|
-
await this.deleteCredentialsRaw(initOverrides);
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
/**
|
|
1862
|
-
* Creates request options for deleteForecasterRun without sending the request
|
|
1863
|
-
*/
|
|
1864
|
-
async deleteForecasterRunRequestOpts(requestParameters: DeleteForecasterRunRequest): Promise<runtime.RequestOpts> {
|
|
1865
|
-
if (requestParameters['id'] == null) {
|
|
1866
|
-
throw new runtime.RequiredError(
|
|
1867
|
-
'id',
|
|
1868
|
-
'Required parameter "id" was null or undefined when calling deleteForecasterRun().'
|
|
1869
|
-
);
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
const queryParameters: any = {};
|
|
1873
|
-
|
|
1874
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
let urlPath = `/forecaster/runs/{id}`;
|
|
1878
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
1879
|
-
|
|
1880
|
-
return {
|
|
1881
|
-
path: urlPath,
|
|
1882
|
-
method: 'DELETE',
|
|
1883
|
-
headers: headerParameters,
|
|
1884
|
-
query: queryParameters,
|
|
1885
|
-
};
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* Delete a benchmark run
|
|
1890
|
-
*/
|
|
1891
|
-
async deleteForecasterRunRaw(requestParameters: DeleteForecasterRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1892
|
-
const requestOptions = await this.deleteForecasterRunRequestOpts(requestParameters);
|
|
1893
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1894
|
-
|
|
1895
|
-
return new runtime.VoidApiResponse(response);
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
/**
|
|
1899
|
-
* Delete a benchmark run
|
|
1900
|
-
*/
|
|
1901
|
-
async deleteForecasterRun(requestParameters: DeleteForecasterRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1902
|
-
await this.deleteForecasterRunRaw(requestParameters, initOverrides);
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
/**
|
|
1906
|
-
* Creates request options for deleteGroup without sending the request
|
|
1907
|
-
*/
|
|
1908
|
-
async deleteGroupRequestOpts(requestParameters: DeleteGroupRequest): Promise<runtime.RequestOpts> {
|
|
1909
|
-
if (requestParameters['id'] == null) {
|
|
1910
|
-
throw new runtime.RequiredError(
|
|
1911
|
-
'id',
|
|
1912
|
-
'Required parameter "id" was null or undefined when calling deleteGroup().'
|
|
1913
|
-
);
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
|
-
const queryParameters: any = {};
|
|
1917
|
-
|
|
1918
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
let urlPath = `/groups/{id}`;
|
|
1922
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
1923
|
-
|
|
1924
|
-
return {
|
|
1925
|
-
path: urlPath,
|
|
1926
|
-
method: 'DELETE',
|
|
1927
|
-
headers: headerParameters,
|
|
1928
|
-
query: queryParameters,
|
|
1929
|
-
};
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
/**
|
|
1933
|
-
* Delete group
|
|
1934
|
-
*/
|
|
1935
|
-
async deleteGroupRaw(requestParameters: DeleteGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1936
|
-
const requestOptions = await this.deleteGroupRequestOpts(requestParameters);
|
|
1937
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1938
|
-
|
|
1939
|
-
return new runtime.VoidApiResponse(response);
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
/**
|
|
1943
|
-
* Delete group
|
|
1944
|
-
*/
|
|
1945
|
-
async deleteGroup(requestParameters: DeleteGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1946
|
-
await this.deleteGroupRaw(requestParameters, initOverrides);
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
/**
|
|
1950
|
-
* Creates request options for deleteLabelGlobally without sending the request
|
|
1951
|
-
*/
|
|
1952
|
-
async deleteLabelGloballyRequestOpts(requestParameters: DeleteLabelGloballyRequest): Promise<runtime.RequestOpts> {
|
|
1953
|
-
if (requestParameters['label'] == null) {
|
|
1954
|
-
throw new runtime.RequiredError(
|
|
1955
|
-
'label',
|
|
1956
|
-
'Required parameter "label" was null or undefined when calling deleteLabelGlobally().'
|
|
1957
|
-
);
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
const queryParameters: any = {};
|
|
1961
|
-
|
|
1962
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
let urlPath = `/vms/labels/{label}`;
|
|
1966
|
-
urlPath = urlPath.replace('{label}', encodeURIComponent(String(requestParameters['label'])));
|
|
1967
|
-
|
|
1968
|
-
return {
|
|
1969
|
-
path: urlPath,
|
|
1970
|
-
method: 'DELETE',
|
|
1971
|
-
headers: headerParameters,
|
|
1972
|
-
query: queryParameters,
|
|
1973
|
-
};
|
|
1974
|
-
}
|
|
1975
|
-
|
|
1976
|
-
/**
|
|
1977
|
-
* Delete label from all VMs
|
|
1978
|
-
*/
|
|
1979
|
-
async deleteLabelGloballyRaw(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteLabelGloballyResponse>> {
|
|
1980
|
-
const requestOptions = await this.deleteLabelGloballyRequestOpts(requestParameters);
|
|
1981
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1982
|
-
|
|
1983
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => DeleteLabelGloballyResponseFromJSON(jsonValue));
|
|
1984
|
-
}
|
|
1985
|
-
|
|
1986
|
-
/**
|
|
1987
|
-
* Delete label from all VMs
|
|
1988
|
-
*/
|
|
1989
|
-
async deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse> {
|
|
1990
|
-
const response = await this.deleteLabelGloballyRaw(requestParameters, initOverrides);
|
|
1991
|
-
return await response.value();
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
|
-
/**
|
|
1995
|
-
* Creates request options for exportInventory without sending the request
|
|
1996
|
-
*/
|
|
1997
|
-
async exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts> {
|
|
1998
|
-
const queryParameters: any = {};
|
|
1999
|
-
|
|
2000
|
-
if (requestParameters['scope'] != null) {
|
|
2001
|
-
queryParameters['scope'] = requestParameters['scope'];
|
|
2002
|
-
}
|
|
2003
|
-
|
|
2004
|
-
if (requestParameters['format'] != null) {
|
|
2005
|
-
queryParameters['format'] = requestParameters['format'];
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
let urlPath = `/export`;
|
|
2012
|
-
|
|
2013
|
-
return {
|
|
2014
|
-
path: urlPath,
|
|
2015
|
-
method: 'GET',
|
|
2016
|
-
headers: headerParameters,
|
|
2017
|
-
query: queryParameters,
|
|
2018
|
-
};
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
|
-
/**
|
|
2022
|
-
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
2023
|
-
* Export VM inventory and migration planning data
|
|
2024
|
-
*/
|
|
2025
|
-
async exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>> {
|
|
2026
|
-
const requestOptions = await this.exportInventoryRequestOpts(requestParameters);
|
|
2027
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2028
|
-
|
|
2029
|
-
return new runtime.BlobApiResponse(response);
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
/**
|
|
2033
|
-
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
2034
|
-
* Export VM inventory and migration planning data
|
|
2035
|
-
*/
|
|
2036
|
-
async exportInventory(requestParameters: ExportInventoryRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob> {
|
|
2037
|
-
const response = await this.exportInventoryRaw(requestParameters, initOverrides);
|
|
2038
|
-
return await response.value();
|
|
2039
|
-
}
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* Creates request options for getAgentStatus without sending the request
|
|
2043
|
-
*/
|
|
2044
|
-
async getAgentStatusRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2045
|
-
const queryParameters: any = {};
|
|
2046
|
-
|
|
2047
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
let urlPath = `/agent`;
|
|
2051
|
-
|
|
2052
|
-
return {
|
|
2053
|
-
path: urlPath,
|
|
2054
|
-
method: 'GET',
|
|
2055
|
-
headers: headerParameters,
|
|
2056
|
-
query: queryParameters,
|
|
2057
|
-
};
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
/**
|
|
2061
|
-
* Get agent status
|
|
2062
|
-
*/
|
|
2063
|
-
async getAgentStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>> {
|
|
2064
|
-
const requestOptions = await this.getAgentStatusRequestOpts();
|
|
2065
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2066
|
-
|
|
2067
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => AgentStatusFromJSON(jsonValue));
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
/**
|
|
2071
|
-
* Get agent status
|
|
2072
|
-
*/
|
|
2073
|
-
async getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus> {
|
|
2074
|
-
const response = await this.getAgentStatusRaw(initOverrides);
|
|
2075
|
-
return await response.value();
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
|
-
/**
|
|
2079
|
-
* Creates request options for getApplications without sending the request
|
|
2080
|
-
*/
|
|
2081
|
-
async getApplicationsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2082
|
-
const queryParameters: any = {};
|
|
2083
|
-
|
|
2084
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
let urlPath = `/applications`;
|
|
2088
|
-
|
|
2089
|
-
return {
|
|
2090
|
-
path: urlPath,
|
|
2091
|
-
method: 'GET',
|
|
2092
|
-
headers: headerParameters,
|
|
2093
|
-
query: queryParameters,
|
|
2094
|
-
};
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
/**
|
|
2098
|
-
* List detected applications running on VMs
|
|
2099
|
-
*/
|
|
2100
|
-
async getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>> {
|
|
2101
|
-
const requestOptions = await this.getApplicationsRequestOpts();
|
|
2102
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2103
|
-
|
|
2104
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ApplicationListResponseFromJSON(jsonValue));
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
/**
|
|
2108
|
-
* List detected applications running on VMs
|
|
2109
|
-
*/
|
|
2110
|
-
async getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse> {
|
|
2111
|
-
const response = await this.getApplicationsRaw(initOverrides);
|
|
2112
|
-
return await response.value();
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
|
-
/**
|
|
2116
|
-
* Creates request options for getClusterUtilization without sending the request
|
|
2117
|
-
*/
|
|
2118
|
-
async getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts> {
|
|
2119
|
-
if (requestParameters['clusterId'] == null) {
|
|
2120
|
-
throw new runtime.RequiredError(
|
|
2121
|
-
'clusterId',
|
|
2122
|
-
'Required parameter "clusterId" was null or undefined when calling getClusterUtilization().'
|
|
2123
|
-
);
|
|
2124
|
-
}
|
|
2125
|
-
|
|
2126
|
-
const queryParameters: any = {};
|
|
2127
|
-
|
|
2128
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
let urlPath = `/clusters/{cluster_id}/utilization`;
|
|
2132
|
-
urlPath = urlPath.replace('{cluster_id}', encodeURIComponent(String(requestParameters['clusterId'])));
|
|
2133
|
-
|
|
2134
|
-
return {
|
|
2135
|
-
path: urlPath,
|
|
2136
|
-
method: 'GET',
|
|
2137
|
-
headers: headerParameters,
|
|
2138
|
-
query: queryParameters,
|
|
2139
|
-
};
|
|
2140
|
-
}
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* Get latest cluster utilization by cluster ID
|
|
2144
|
-
*/
|
|
2145
|
-
async getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>> {
|
|
2146
|
-
const requestOptions = await this.getClusterUtilizationRequestOpts(requestParameters);
|
|
2147
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2148
|
-
|
|
2149
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterResponseFromJSON(jsonValue));
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
* Get latest cluster utilization by cluster ID
|
|
2154
|
-
*/
|
|
2155
|
-
async getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse> {
|
|
2156
|
-
const response = await this.getClusterUtilizationRaw(requestParameters, initOverrides);
|
|
2157
|
-
return await response.value();
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
|
-
/**
|
|
2161
|
-
* Creates request options for getCollectorStatus without sending the request
|
|
2162
|
-
*/
|
|
2163
|
-
async getCollectorStatusRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2164
|
-
const queryParameters: any = {};
|
|
2165
|
-
|
|
2166
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
let urlPath = `/collector`;
|
|
2170
|
-
|
|
2171
|
-
return {
|
|
2172
|
-
path: urlPath,
|
|
2173
|
-
method: 'GET',
|
|
2174
|
-
headers: headerParameters,
|
|
2175
|
-
query: queryParameters,
|
|
2176
|
-
};
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
/**
|
|
2180
|
-
* Get collector status
|
|
2181
|
-
*/
|
|
2182
|
-
async getCollectorStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>> {
|
|
2183
|
-
const requestOptions = await this.getCollectorStatusRequestOpts();
|
|
2184
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2185
|
-
|
|
2186
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => CollectorStatusFromJSON(jsonValue));
|
|
2187
|
-
}
|
|
2188
|
-
|
|
2189
|
-
/**
|
|
2190
|
-
* Get collector status
|
|
2191
|
-
*/
|
|
2192
|
-
async getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus> {
|
|
2193
|
-
const response = await this.getCollectorStatusRaw(initOverrides);
|
|
2194
|
-
return await response.value();
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
/**
|
|
2198
|
-
* Creates request options for getCredentialCapabilities without sending the request
|
|
2199
|
-
*/
|
|
2200
|
-
async getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2201
|
-
const queryParameters: any = {};
|
|
2202
|
-
|
|
2203
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
let urlPath = `/credentials/capabilities`;
|
|
2207
|
-
|
|
2208
|
-
return {
|
|
2209
|
-
path: urlPath,
|
|
2210
|
-
method: 'GET',
|
|
2211
|
-
headers: headerParameters,
|
|
2212
|
-
query: queryParameters,
|
|
2213
|
-
};
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
/**
|
|
2217
|
-
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
2218
|
-
* Check vSphere operation capabilities
|
|
2219
|
-
*/
|
|
2220
|
-
async getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>> {
|
|
2221
|
-
const requestOptions = await this.getCredentialCapabilitiesRequestOpts();
|
|
2222
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2223
|
-
|
|
2224
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityStatusFromJSON(jsonValue));
|
|
2225
|
-
}
|
|
2226
|
-
|
|
2227
|
-
/**
|
|
2228
|
-
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
2229
|
-
* Check vSphere operation capabilities
|
|
2230
|
-
*/
|
|
2231
|
-
async getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus> {
|
|
2232
|
-
const response = await this.getCredentialCapabilitiesRaw(initOverrides);
|
|
2233
|
-
return await response.value();
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
/**
|
|
2237
|
-
* Creates request options for getCredentials without sending the request
|
|
2238
|
-
*/
|
|
2239
|
-
async getCredentialsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2240
|
-
const queryParameters: any = {};
|
|
2241
|
-
|
|
2242
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
let urlPath = `/credentials`;
|
|
2246
|
-
|
|
2247
|
-
return {
|
|
2248
|
-
path: urlPath,
|
|
2249
|
-
method: 'GET',
|
|
2250
|
-
headers: headerParameters,
|
|
2251
|
-
query: queryParameters,
|
|
2252
|
-
};
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
|
-
/**
|
|
2256
|
-
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
2257
|
-
* Get stored credential status
|
|
2258
|
-
*/
|
|
2259
|
-
async getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>> {
|
|
2260
|
-
const requestOptions = await this.getCredentialsRequestOpts();
|
|
2261
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2262
|
-
|
|
2263
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => CredentialStatusFromJSON(jsonValue));
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
/**
|
|
2267
|
-
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
2268
|
-
* Get stored credential status
|
|
2269
|
-
*/
|
|
2270
|
-
async getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus> {
|
|
2271
|
-
const response = await this.getCredentialsRaw(initOverrides);
|
|
2272
|
-
return await response.value();
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
/**
|
|
2276
|
-
* Creates request options for getForecasterDatastores without sending the request
|
|
2277
|
-
*/
|
|
2278
|
-
async getForecasterDatastoresRequestOpts(requestParameters: GetForecasterDatastoresRequest): Promise<runtime.RequestOpts> {
|
|
2279
|
-
const queryParameters: any = {};
|
|
2280
|
-
|
|
2281
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2282
|
-
|
|
2283
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
let urlPath = `/forecaster/datastores`;
|
|
2287
|
-
|
|
2288
|
-
return {
|
|
2289
|
-
path: urlPath,
|
|
2290
|
-
method: 'POST',
|
|
2291
|
-
headers: headerParameters,
|
|
2292
|
-
query: queryParameters,
|
|
2293
|
-
body: ForecasterDatastoresRequestToJSON(requestParameters['forecasterDatastoresRequest']),
|
|
2294
|
-
};
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
/**
|
|
2298
|
-
* Returns datastores from the forklift-collected inventory with storage vendor and capability information derived from NAA device identifiers. No vSphere credentials are required.
|
|
2299
|
-
* List available datastores
|
|
2300
|
-
*/
|
|
2301
|
-
async getForecasterDatastoresRaw(requestParameters: GetForecasterDatastoresRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DatastoreDetail>>> {
|
|
2302
|
-
const requestOptions = await this.getForecasterDatastoresRequestOpts(requestParameters);
|
|
2303
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2304
|
-
|
|
2305
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(DatastoreDetailFromJSON));
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
/**
|
|
2309
|
-
* Returns datastores from the forklift-collected inventory with storage vendor and capability information derived from NAA device identifiers. No vSphere credentials are required.
|
|
2310
|
-
* List available datastores
|
|
2311
|
-
*/
|
|
2312
|
-
async getForecasterDatastores(requestParameters: GetForecasterDatastoresRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DatastoreDetail>> {
|
|
2313
|
-
const response = await this.getForecasterDatastoresRaw(requestParameters, initOverrides);
|
|
2314
|
-
return await response.value();
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
|
-
/**
|
|
2318
|
-
* Creates request options for getForecasterRuns without sending the request
|
|
2319
|
-
*/
|
|
2320
|
-
async getForecasterRunsRequestOpts(requestParameters: GetForecasterRunsRequest): Promise<runtime.RequestOpts> {
|
|
2321
|
-
const queryParameters: any = {};
|
|
2322
|
-
|
|
2323
|
-
if (requestParameters['pairName'] != null) {
|
|
2324
|
-
queryParameters['pairName'] = requestParameters['pairName'];
|
|
2325
|
-
}
|
|
2326
|
-
|
|
2327
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
let urlPath = `/forecaster/runs`;
|
|
2331
|
-
|
|
2332
|
-
return {
|
|
2333
|
-
path: urlPath,
|
|
2334
|
-
method: 'GET',
|
|
2335
|
-
headers: headerParameters,
|
|
2336
|
-
query: queryParameters,
|
|
2337
|
-
};
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
|
-
/**
|
|
2341
|
-
* Returns individual benchmark iterations. Optionally filtered by pair name.
|
|
2342
|
-
* List benchmark runs
|
|
2343
|
-
*/
|
|
2344
|
-
async getForecasterRunsRaw(requestParameters: GetForecasterRunsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<BenchmarkRun>>> {
|
|
2345
|
-
const requestOptions = await this.getForecasterRunsRequestOpts(requestParameters);
|
|
2346
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2347
|
-
|
|
2348
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(BenchmarkRunFromJSON));
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
|
-
/**
|
|
2352
|
-
* Returns individual benchmark iterations. Optionally filtered by pair name.
|
|
2353
|
-
* List benchmark runs
|
|
2354
|
-
*/
|
|
2355
|
-
async getForecasterRuns(requestParameters: GetForecasterRunsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<BenchmarkRun>> {
|
|
2356
|
-
const response = await this.getForecasterRunsRaw(requestParameters, initOverrides);
|
|
2357
|
-
return await response.value();
|
|
2358
|
-
}
|
|
2359
|
-
|
|
2360
|
-
/**
|
|
2361
|
-
* Creates request options for getForecasterStats without sending the request
|
|
2362
|
-
*/
|
|
2363
|
-
async getForecasterStatsRequestOpts(requestParameters: GetForecasterStatsRequest): Promise<runtime.RequestOpts> {
|
|
2364
|
-
if (requestParameters['pairName'] == null) {
|
|
2365
|
-
throw new runtime.RequiredError(
|
|
2366
|
-
'pairName',
|
|
2367
|
-
'Required parameter "pairName" was null or undefined when calling getForecasterStats().'
|
|
2368
|
-
);
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
|
-
const queryParameters: any = {};
|
|
2372
|
-
|
|
2373
|
-
if (requestParameters['pairName'] != null) {
|
|
2374
|
-
queryParameters['pairName'] = requestParameters['pairName'];
|
|
2375
|
-
}
|
|
2376
|
-
|
|
2377
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
let urlPath = `/forecaster/stats`;
|
|
2381
|
-
|
|
2382
|
-
return {
|
|
2383
|
-
path: urlPath,
|
|
2384
|
-
method: 'GET',
|
|
2385
|
-
headers: headerParameters,
|
|
2386
|
-
query: queryParameters,
|
|
2387
|
-
};
|
|
2388
|
-
}
|
|
2389
|
-
|
|
2390
|
-
/**
|
|
2391
|
-
* Returns computed statistics for a datastore pair\'s benchmark results. Primary endpoint for the UI to display migration time estimates.
|
|
2392
|
-
* Get throughput statistics
|
|
2393
|
-
*/
|
|
2394
|
-
async getForecasterStatsRaw(requestParameters: GetForecasterStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecastStats>> {
|
|
2395
|
-
const requestOptions = await this.getForecasterStatsRequestOpts(requestParameters);
|
|
2396
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2397
|
-
|
|
2398
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ForecastStatsFromJSON(jsonValue));
|
|
2399
|
-
}
|
|
2400
|
-
|
|
2401
|
-
/**
|
|
2402
|
-
* Returns computed statistics for a datastore pair\'s benchmark results. Primary endpoint for the UI to display migration time estimates.
|
|
2403
|
-
* Get throughput statistics
|
|
2404
|
-
*/
|
|
2405
|
-
async getForecasterStats(requestParameters: GetForecasterStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecastStats> {
|
|
2406
|
-
const response = await this.getForecasterStatsRaw(requestParameters, initOverrides);
|
|
2407
|
-
return await response.value();
|
|
2408
|
-
}
|
|
2409
|
-
|
|
2410
|
-
/**
|
|
2411
|
-
* Creates request options for getForecasterStatus without sending the request
|
|
2412
|
-
*/
|
|
2413
|
-
async getForecasterStatusRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2414
|
-
const queryParameters: any = {};
|
|
2415
|
-
|
|
2416
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
let urlPath = `/forecaster`;
|
|
2420
|
-
|
|
2421
|
-
return {
|
|
2422
|
-
path: urlPath,
|
|
2423
|
-
method: 'GET',
|
|
2424
|
-
headers: headerParameters,
|
|
2425
|
-
query: queryParameters,
|
|
2426
|
-
};
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
/**
|
|
2430
|
-
* Returns current service state with per-pair progress details.
|
|
2431
|
-
* Poll forecaster status
|
|
2432
|
-
*/
|
|
2433
|
-
async getForecasterStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecasterStatus>> {
|
|
2434
|
-
const requestOptions = await this.getForecasterStatusRequestOpts();
|
|
2435
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2436
|
-
|
|
2437
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ForecasterStatusFromJSON(jsonValue));
|
|
2438
|
-
}
|
|
2439
|
-
|
|
2440
|
-
/**
|
|
2441
|
-
* Returns current service state with per-pair progress details.
|
|
2442
|
-
* Poll forecaster status
|
|
2443
|
-
*/
|
|
2444
|
-
async getForecasterStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecasterStatus> {
|
|
2445
|
-
const response = await this.getForecasterStatusRaw(initOverrides);
|
|
2446
|
-
return await response.value();
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
/**
|
|
2450
|
-
* Creates request options for getGroup without sending the request
|
|
2451
|
-
*/
|
|
2452
|
-
async getGroupRequestOpts(requestParameters: GetGroupRequest): Promise<runtime.RequestOpts> {
|
|
2453
|
-
if (requestParameters['id'] == null) {
|
|
2454
|
-
throw new runtime.RequiredError(
|
|
2455
|
-
'id',
|
|
2456
|
-
'Required parameter "id" was null or undefined when calling getGroup().'
|
|
2457
|
-
);
|
|
2458
|
-
}
|
|
2459
|
-
|
|
2460
|
-
const queryParameters: any = {};
|
|
2461
|
-
|
|
2462
|
-
if (requestParameters['sort'] != null) {
|
|
2463
|
-
queryParameters['sort'] = requestParameters['sort'];
|
|
2464
|
-
}
|
|
2465
|
-
|
|
2466
|
-
if (requestParameters['page'] != null) {
|
|
2467
|
-
queryParameters['page'] = requestParameters['page'];
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
if (requestParameters['pageSize'] != null) {
|
|
2471
|
-
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
let urlPath = `/groups/{id}`;
|
|
2478
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
2479
|
-
|
|
2480
|
-
return {
|
|
2481
|
-
path: urlPath,
|
|
2482
|
-
method: 'GET',
|
|
2483
|
-
headers: headerParameters,
|
|
2484
|
-
query: queryParameters,
|
|
2485
|
-
};
|
|
2486
|
-
}
|
|
2487
|
-
|
|
2488
|
-
/**
|
|
2489
|
-
* Get group by ID with its VMs
|
|
2490
|
-
*/
|
|
2491
|
-
async getGroupRaw(requestParameters: GetGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GroupResponse>> {
|
|
2492
|
-
const requestOptions = await this.getGroupRequestOpts(requestParameters);
|
|
2493
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2494
|
-
|
|
2495
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GroupResponseFromJSON(jsonValue));
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
/**
|
|
2499
|
-
* Get group by ID with its VMs
|
|
2500
|
-
*/
|
|
2501
|
-
async getGroup(requestParameters: GetGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupResponse> {
|
|
2502
|
-
const response = await this.getGroupRaw(requestParameters, initOverrides);
|
|
2503
|
-
return await response.value();
|
|
2504
|
-
}
|
|
2505
|
-
|
|
2506
|
-
/**
|
|
2507
|
-
* Creates request options for getInspectorStatus without sending the request
|
|
2508
|
-
*/
|
|
2509
|
-
async getInspectorStatusRequestOpts(requestParameters: GetInspectorStatusRequest): Promise<runtime.RequestOpts> {
|
|
2510
|
-
const queryParameters: any = {};
|
|
2511
|
-
|
|
2512
|
-
if (requestParameters['includeVddk'] != null) {
|
|
2513
|
-
queryParameters['includeVddk'] = requestParameters['includeVddk'];
|
|
2514
|
-
}
|
|
2515
|
-
|
|
2516
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
let urlPath = `/inspector`;
|
|
2520
|
-
|
|
2521
|
-
return {
|
|
2522
|
-
path: urlPath,
|
|
2523
|
-
method: 'GET',
|
|
2524
|
-
headers: headerParameters,
|
|
2525
|
-
query: queryParameters,
|
|
2526
|
-
};
|
|
2527
|
-
}
|
|
2528
|
-
|
|
2529
|
-
/**
|
|
2530
|
-
* Get inspector status
|
|
2531
|
-
*/
|
|
2532
|
-
async getInspectorStatusRaw(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>> {
|
|
2533
|
-
const requestOptions = await this.getInspectorStatusRequestOpts(requestParameters);
|
|
2534
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2535
|
-
|
|
2536
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
|
|
2537
|
-
}
|
|
2538
|
-
|
|
2539
|
-
/**
|
|
2540
|
-
* Get inspector status
|
|
2541
|
-
*/
|
|
2542
|
-
async getInspectorStatus(requestParameters: GetInspectorStatusRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus> {
|
|
2543
|
-
const response = await this.getInspectorStatusRaw(requestParameters, initOverrides);
|
|
2544
|
-
return await response.value();
|
|
2545
|
-
}
|
|
2546
|
-
|
|
2547
|
-
/**
|
|
2548
|
-
* Creates request options for getInspectorVddkStatus without sending the request
|
|
2549
|
-
*/
|
|
2550
|
-
async getInspectorVddkStatusRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2551
|
-
const queryParameters: any = {};
|
|
2552
|
-
|
|
2553
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
let urlPath = `/inspector/vddk`;
|
|
2557
|
-
|
|
2558
|
-
return {
|
|
2559
|
-
path: urlPath,
|
|
2560
|
-
method: 'GET',
|
|
2561
|
-
headers: headerParameters,
|
|
2562
|
-
query: queryParameters,
|
|
2563
|
-
};
|
|
2564
|
-
}
|
|
2565
|
-
|
|
2566
|
-
/**
|
|
2567
|
-
* Get VDDK status
|
|
2568
|
-
*/
|
|
2569
|
-
async getInspectorVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>> {
|
|
2570
|
-
const requestOptions = await this.getInspectorVddkStatusRequestOpts();
|
|
2571
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2572
|
-
|
|
2573
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VddkPropertiesFromJSON(jsonValue));
|
|
2574
|
-
}
|
|
2575
|
-
|
|
2576
|
-
/**
|
|
2577
|
-
* Get VDDK status
|
|
2578
|
-
*/
|
|
2579
|
-
async getInspectorVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties> {
|
|
2580
|
-
const response = await this.getInspectorVddkStatusRaw(initOverrides);
|
|
2581
|
-
return await response.value();
|
|
2582
|
-
}
|
|
2583
|
-
|
|
2584
|
-
/**
|
|
2585
|
-
* Creates request options for getInventory without sending the request
|
|
2586
|
-
*/
|
|
2587
|
-
async getInventoryRequestOpts(requestParameters: GetInventoryRequest): Promise<runtime.RequestOpts> {
|
|
2588
|
-
const queryParameters: any = {};
|
|
2589
|
-
|
|
2590
|
-
if (requestParameters['withAgentId'] != null) {
|
|
2591
|
-
queryParameters['withAgentId'] = requestParameters['withAgentId'];
|
|
2592
|
-
}
|
|
2593
|
-
|
|
2594
|
-
if (requestParameters['groupId'] != null) {
|
|
2595
|
-
queryParameters['group_id'] = requestParameters['groupId'];
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
let urlPath = `/inventory`;
|
|
2602
|
-
|
|
2603
|
-
return {
|
|
2604
|
-
path: urlPath,
|
|
2605
|
-
method: 'GET',
|
|
2606
|
-
headers: headerParameters,
|
|
2607
|
-
query: queryParameters,
|
|
2608
|
-
};
|
|
2609
|
-
}
|
|
2610
|
-
|
|
2611
|
-
/**
|
|
2612
|
-
* Get collected inventory
|
|
2613
|
-
*/
|
|
2614
|
-
async getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetInventory200Response>> {
|
|
2615
|
-
const requestOptions = await this.getInventoryRequestOpts(requestParameters);
|
|
2616
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2617
|
-
|
|
2618
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetInventory200ResponseFromJSON(jsonValue));
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* Get collected inventory
|
|
2623
|
-
*/
|
|
2624
|
-
async getInventory(requestParameters: GetInventoryRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response> {
|
|
2625
|
-
const response = await this.getInventoryRaw(requestParameters, initOverrides);
|
|
2626
|
-
return await response.value();
|
|
2627
|
-
}
|
|
2628
|
-
|
|
2629
|
-
/**
|
|
2630
|
-
* Creates request options for getRightsizingReport without sending the request
|
|
2631
|
-
*/
|
|
2632
|
-
async getRightsizingReportRequestOpts(requestParameters: GetRightsizingReportRequest): Promise<runtime.RequestOpts> {
|
|
2633
|
-
if (requestParameters['reportId'] == null) {
|
|
2634
|
-
throw new runtime.RequiredError(
|
|
2635
|
-
'reportId',
|
|
2636
|
-
'Required parameter "reportId" was null or undefined when calling getRightsizingReport().'
|
|
2637
|
-
);
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
const queryParameters: any = {};
|
|
2641
|
-
|
|
2642
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
let urlPath = `/rightsizing/{report_id}`;
|
|
2646
|
-
urlPath = urlPath.replace('{report_id}', encodeURIComponent(String(requestParameters['reportId'])));
|
|
2647
|
-
|
|
2648
|
-
return {
|
|
2649
|
-
path: urlPath,
|
|
2650
|
-
method: 'GET',
|
|
2651
|
-
headers: headerParameters,
|
|
2652
|
-
query: queryParameters,
|
|
2653
|
-
};
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
|
-
/**
|
|
2657
|
-
* Get a specific rightsizing report with full VM metrics
|
|
2658
|
-
*/
|
|
2659
|
-
async getRightsizingReportRaw(requestParameters: GetRightsizingReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingReport>> {
|
|
2660
|
-
const requestOptions = await this.getRightsizingReportRequestOpts(requestParameters);
|
|
2661
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2662
|
-
|
|
2663
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingReportFromJSON(jsonValue));
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
/**
|
|
2667
|
-
* Get a specific rightsizing report with full VM metrics
|
|
2668
|
-
*/
|
|
2669
|
-
async getRightsizingReport(requestParameters: GetRightsizingReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReport> {
|
|
2670
|
-
const response = await this.getRightsizingReportRaw(requestParameters, initOverrides);
|
|
2671
|
-
return await response.value();
|
|
2672
|
-
}
|
|
2673
|
-
|
|
2674
|
-
/**
|
|
2675
|
-
* Creates request options for getRightsizingReportCluster without sending the request
|
|
2676
|
-
*/
|
|
2677
|
-
async getRightsizingReportClusterRequestOpts(requestParameters: GetRightsizingReportClusterRequest): Promise<runtime.RequestOpts> {
|
|
2678
|
-
if (requestParameters['reportId'] == null) {
|
|
2679
|
-
throw new runtime.RequiredError(
|
|
2680
|
-
'reportId',
|
|
2681
|
-
'Required parameter "reportId" was null or undefined when calling getRightsizingReportCluster().'
|
|
2682
|
-
);
|
|
2683
|
-
}
|
|
2684
|
-
|
|
2685
|
-
if (requestParameters['clusterId'] == null) {
|
|
2686
|
-
throw new runtime.RequiredError(
|
|
2687
|
-
'clusterId',
|
|
2688
|
-
'Required parameter "clusterId" was null or undefined when calling getRightsizingReportCluster().'
|
|
2689
|
-
);
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
|
-
const queryParameters: any = {};
|
|
2693
|
-
|
|
2694
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
let urlPath = `/rightsizing/{report_id}/clusters/{cluster_id}`;
|
|
2698
|
-
urlPath = urlPath.replace('{report_id}', encodeURIComponent(String(requestParameters['reportId'])));
|
|
2699
|
-
urlPath = urlPath.replace('{cluster_id}', encodeURIComponent(String(requestParameters['clusterId'])));
|
|
2700
|
-
|
|
2701
|
-
return {
|
|
2702
|
-
path: urlPath,
|
|
2703
|
-
method: 'GET',
|
|
2704
|
-
headers: headerParameters,
|
|
2705
|
-
query: queryParameters,
|
|
2706
|
-
};
|
|
2707
|
-
}
|
|
2708
|
-
|
|
2709
|
-
/**
|
|
2710
|
-
* Get utilization for a specific cluster from a specific report
|
|
2711
|
-
*/
|
|
2712
|
-
async getRightsizingReportClusterRaw(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>> {
|
|
2713
|
-
const requestOptions = await this.getRightsizingReportClusterRequestOpts(requestParameters);
|
|
2714
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2715
|
-
|
|
2716
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterResponseFromJSON(jsonValue));
|
|
2717
|
-
}
|
|
2718
|
-
|
|
2719
|
-
/**
|
|
2720
|
-
* Get utilization for a specific cluster from a specific report
|
|
2721
|
-
*/
|
|
2722
|
-
async getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse> {
|
|
2723
|
-
const response = await this.getRightsizingReportClusterRaw(requestParameters, initOverrides);
|
|
2724
|
-
return await response.value();
|
|
2725
|
-
}
|
|
2726
|
-
|
|
2727
|
-
/**
|
|
2728
|
-
* Creates request options for getVM without sending the request
|
|
2729
|
-
*/
|
|
2730
|
-
async getVMRequestOpts(requestParameters: GetVMRequest): Promise<runtime.RequestOpts> {
|
|
2731
|
-
if (requestParameters['id'] == null) {
|
|
2732
|
-
throw new runtime.RequiredError(
|
|
2733
|
-
'id',
|
|
2734
|
-
'Required parameter "id" was null or undefined when calling getVM().'
|
|
2735
|
-
);
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2738
|
-
const queryParameters: any = {};
|
|
2739
|
-
|
|
2740
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
let urlPath = `/vms/{id}`;
|
|
2744
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
2745
|
-
|
|
2746
|
-
return {
|
|
2747
|
-
path: urlPath,
|
|
2748
|
-
method: 'GET',
|
|
2749
|
-
headers: headerParameters,
|
|
2750
|
-
query: queryParameters,
|
|
2751
|
-
};
|
|
2752
|
-
}
|
|
2753
|
-
|
|
2754
|
-
/**
|
|
2755
|
-
* Get details about a vm
|
|
2756
|
-
*/
|
|
2757
|
-
async getVMRaw(requestParameters: GetVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VirtualMachineDetail>> {
|
|
2758
|
-
const requestOptions = await this.getVMRequestOpts(requestParameters);
|
|
2759
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2760
|
-
|
|
2761
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VirtualMachineDetailFromJSON(jsonValue));
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
|
-
/**
|
|
2765
|
-
* Get details about a vm
|
|
2766
|
-
*/
|
|
2767
|
-
async getVM(requestParameters: GetVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineDetail> {
|
|
2768
|
-
const response = await this.getVMRaw(requestParameters, initOverrides);
|
|
2769
|
-
return await response.value();
|
|
2770
|
-
}
|
|
2771
|
-
|
|
2772
|
-
/**
|
|
2773
|
-
* Creates request options for getVMLabels without sending the request
|
|
2774
|
-
*/
|
|
2775
|
-
async getVMLabelsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2776
|
-
const queryParameters: any = {};
|
|
2777
|
-
|
|
2778
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
let urlPath = `/vms/labels`;
|
|
2782
|
-
|
|
2783
|
-
return {
|
|
2784
|
-
path: urlPath,
|
|
2785
|
-
method: 'GET',
|
|
2786
|
-
headers: headerParameters,
|
|
2787
|
-
query: queryParameters,
|
|
2788
|
-
};
|
|
2789
|
-
}
|
|
2790
|
-
|
|
2791
|
-
/**
|
|
2792
|
-
* Get all distinct labels in use across VMs
|
|
2793
|
-
*/
|
|
2794
|
-
async getVMLabelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMLabelsResponse>> {
|
|
2795
|
-
const requestOptions = await this.getVMLabelsRequestOpts();
|
|
2796
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2797
|
-
|
|
2798
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VMLabelsResponseFromJSON(jsonValue));
|
|
2799
|
-
}
|
|
2800
|
-
|
|
2801
|
-
/**
|
|
2802
|
-
* Get all distinct labels in use across VMs
|
|
2803
|
-
*/
|
|
2804
|
-
async getVMLabels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMLabelsResponse> {
|
|
2805
|
-
const response = await this.getVMLabelsRaw(initOverrides);
|
|
2806
|
-
return await response.value();
|
|
2807
|
-
}
|
|
2808
|
-
|
|
2809
|
-
/**
|
|
2810
|
-
* Creates request options for getVMUtilization without sending the request
|
|
2811
|
-
*/
|
|
2812
|
-
async getVMUtilizationRequestOpts(requestParameters: GetVMUtilizationRequest): Promise<runtime.RequestOpts> {
|
|
2813
|
-
if (requestParameters['id'] == null) {
|
|
2814
|
-
throw new runtime.RequiredError(
|
|
2815
|
-
'id',
|
|
2816
|
-
'Required parameter "id" was null or undefined when calling getVMUtilization().'
|
|
2817
|
-
);
|
|
2818
|
-
}
|
|
2819
|
-
|
|
2820
|
-
const queryParameters: any = {};
|
|
2821
|
-
|
|
2822
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
let urlPath = `/vms/{id}/utilization`;
|
|
2826
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
2827
|
-
|
|
2828
|
-
return {
|
|
2829
|
-
path: urlPath,
|
|
2830
|
-
method: 'GET',
|
|
2831
|
-
headers: headerParameters,
|
|
2832
|
-
query: queryParameters,
|
|
2833
|
-
};
|
|
2834
|
-
}
|
|
2835
|
-
|
|
2836
|
-
/**
|
|
2837
|
-
* Get utilization breakdown for a specific VM
|
|
2838
|
-
*/
|
|
2839
|
-
async getVMUtilizationRaw(requestParameters: GetVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmUtilizationDetails>> {
|
|
2840
|
-
const requestOptions = await this.getVMUtilizationRequestOpts(requestParameters);
|
|
2841
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2842
|
-
|
|
2843
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VmUtilizationDetailsFromJSON(jsonValue));
|
|
2844
|
-
}
|
|
2845
|
-
|
|
2846
|
-
/**
|
|
2847
|
-
* Get utilization breakdown for a specific VM
|
|
2848
|
-
*/
|
|
2849
|
-
async getVMUtilization(requestParameters: GetVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmUtilizationDetails> {
|
|
2850
|
-
const response = await this.getVMUtilizationRaw(requestParameters, initOverrides);
|
|
2851
|
-
return await response.value();
|
|
2852
|
-
}
|
|
2853
|
-
|
|
2854
|
-
/**
|
|
2855
|
-
* Creates request options for getVMs without sending the request
|
|
2856
|
-
*/
|
|
2857
|
-
async getVMsRequestOpts(requestParameters: GetVMsRequest): Promise<runtime.RequestOpts> {
|
|
2858
|
-
const queryParameters: any = {};
|
|
2859
|
-
|
|
2860
|
-
if (requestParameters['byExpression'] != null) {
|
|
2861
|
-
queryParameters['byExpression'] = requestParameters['byExpression'];
|
|
2862
|
-
}
|
|
2863
|
-
|
|
2864
|
-
if (requestParameters['sort'] != null) {
|
|
2865
|
-
queryParameters['sort'] = requestParameters['sort'];
|
|
2866
|
-
}
|
|
2867
|
-
|
|
2868
|
-
if (requestParameters['page'] != null) {
|
|
2869
|
-
queryParameters['page'] = requestParameters['page'];
|
|
2870
|
-
}
|
|
2871
|
-
|
|
2872
|
-
if (requestParameters['pageSize'] != null) {
|
|
2873
|
-
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
let urlPath = `/vms`;
|
|
2880
|
-
|
|
2881
|
-
return {
|
|
2882
|
-
path: urlPath,
|
|
2883
|
-
method: 'GET',
|
|
2884
|
-
headers: headerParameters,
|
|
2885
|
-
query: queryParameters,
|
|
2886
|
-
};
|
|
2887
|
-
}
|
|
2888
|
-
|
|
2889
|
-
/**
|
|
2890
|
-
* Get list of VMs with filtering and pagination
|
|
2891
|
-
*/
|
|
2892
|
-
async getVMsRaw(requestParameters: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VirtualMachineListResponse>> {
|
|
2893
|
-
const requestOptions = await this.getVMsRequestOpts(requestParameters);
|
|
2894
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2895
|
-
|
|
2896
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VirtualMachineListResponseFromJSON(jsonValue));
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
|
-
/**
|
|
2900
|
-
* Get list of VMs with filtering and pagination
|
|
2901
|
-
*/
|
|
2902
|
-
async getVMs(requestParameters: GetVMsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse> {
|
|
2903
|
-
const response = await this.getVMsRaw(requestParameters, initOverrides);
|
|
2904
|
-
return await response.value();
|
|
2905
|
-
}
|
|
2906
|
-
|
|
2907
|
-
/**
|
|
2908
|
-
* Creates request options for getVMsFilterOptions without sending the request
|
|
2909
|
-
*/
|
|
2910
|
-
async getVMsFilterOptionsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2911
|
-
const queryParameters: any = {};
|
|
2912
|
-
|
|
2913
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
let urlPath = `/vms/filter-options`;
|
|
2917
|
-
|
|
2918
|
-
return {
|
|
2919
|
-
path: urlPath,
|
|
2920
|
-
method: 'GET',
|
|
2921
|
-
headers: headerParameters,
|
|
2922
|
-
query: queryParameters,
|
|
2923
|
-
};
|
|
2924
|
-
}
|
|
2925
|
-
|
|
2926
|
-
/**
|
|
2927
|
-
* Get distinct filter option values for VMs
|
|
2928
|
-
*/
|
|
2929
|
-
async getVMsFilterOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMFilterOptionsResponse>> {
|
|
2930
|
-
const requestOptions = await this.getVMsFilterOptionsRequestOpts();
|
|
2931
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2932
|
-
|
|
2933
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VMFilterOptionsResponseFromJSON(jsonValue));
|
|
2934
|
-
}
|
|
2935
|
-
|
|
2936
|
-
/**
|
|
2937
|
-
* Get distinct filter option values for VMs
|
|
2938
|
-
*/
|
|
2939
|
-
async getVMsFilterOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMFilterOptionsResponse> {
|
|
2940
|
-
const response = await this.getVMsFilterOptionsRaw(initOverrides);
|
|
2941
|
-
return await response.value();
|
|
2942
|
-
}
|
|
2943
|
-
|
|
2944
|
-
/**
|
|
2945
|
-
* Creates request options for getVersion without sending the request
|
|
2946
|
-
*/
|
|
2947
|
-
async getVersionRequestOpts(): Promise<runtime.RequestOpts> {
|
|
2948
|
-
const queryParameters: any = {};
|
|
2949
|
-
|
|
2950
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
let urlPath = `/version`;
|
|
2954
|
-
|
|
2955
|
-
return {
|
|
2956
|
-
path: urlPath,
|
|
2957
|
-
method: 'GET',
|
|
2958
|
-
headers: headerParameters,
|
|
2959
|
-
query: queryParameters,
|
|
2960
|
-
};
|
|
2961
|
-
}
|
|
2962
|
-
|
|
2963
|
-
/**
|
|
2964
|
-
* Get agent version information
|
|
2965
|
-
*/
|
|
2966
|
-
async getVersionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VersionInfo>> {
|
|
2967
|
-
const requestOptions = await this.getVersionRequestOpts();
|
|
2968
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2969
|
-
|
|
2970
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VersionInfoFromJSON(jsonValue));
|
|
2971
|
-
}
|
|
2972
|
-
|
|
2973
|
-
/**
|
|
2974
|
-
* Get agent version information
|
|
2975
|
-
*/
|
|
2976
|
-
async getVersion(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VersionInfo> {
|
|
2977
|
-
const response = await this.getVersionRaw(initOverrides);
|
|
2978
|
-
return await response.value();
|
|
2979
|
-
}
|
|
2980
|
-
|
|
2981
|
-
/**
|
|
2982
|
-
* Creates request options for listGroups without sending the request
|
|
2983
|
-
*/
|
|
2984
|
-
async listGroupsRequestOpts(requestParameters: ListGroupsRequest): Promise<runtime.RequestOpts> {
|
|
2985
|
-
const queryParameters: any = {};
|
|
2986
|
-
|
|
2987
|
-
if (requestParameters['byName'] != null) {
|
|
2988
|
-
queryParameters['byName'] = requestParameters['byName'];
|
|
2989
|
-
}
|
|
2990
|
-
|
|
2991
|
-
if (requestParameters['page'] != null) {
|
|
2992
|
-
queryParameters['page'] = requestParameters['page'];
|
|
2993
|
-
}
|
|
2994
|
-
|
|
2995
|
-
if (requestParameters['pageSize'] != null) {
|
|
2996
|
-
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
2997
|
-
}
|
|
2998
|
-
|
|
2999
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
let urlPath = `/groups`;
|
|
3003
|
-
|
|
3004
|
-
return {
|
|
3005
|
-
path: urlPath,
|
|
3006
|
-
method: 'GET',
|
|
3007
|
-
headers: headerParameters,
|
|
3008
|
-
query: queryParameters,
|
|
3009
|
-
};
|
|
3010
|
-
}
|
|
3011
|
-
|
|
3012
|
-
/**
|
|
3013
|
-
* List all groups
|
|
3014
|
-
*/
|
|
3015
|
-
async listGroupsRaw(requestParameters: ListGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GroupListResponse>> {
|
|
3016
|
-
const requestOptions = await this.listGroupsRequestOpts(requestParameters);
|
|
3017
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3018
|
-
|
|
3019
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GroupListResponseFromJSON(jsonValue));
|
|
3020
|
-
}
|
|
3021
|
-
|
|
3022
|
-
/**
|
|
3023
|
-
* List all groups
|
|
3024
|
-
*/
|
|
3025
|
-
async listGroups(requestParameters: ListGroupsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupListResponse> {
|
|
3026
|
-
const response = await this.listGroupsRaw(requestParameters, initOverrides);
|
|
3027
|
-
return await response.value();
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
|
-
/**
|
|
3031
|
-
* Creates request options for listRightsizingReportClusters without sending the request
|
|
3032
|
-
*/
|
|
3033
|
-
async listRightsizingReportClustersRequestOpts(requestParameters: ListRightsizingReportClustersRequest): Promise<runtime.RequestOpts> {
|
|
3034
|
-
if (requestParameters['reportId'] == null) {
|
|
3035
|
-
throw new runtime.RequiredError(
|
|
3036
|
-
'reportId',
|
|
3037
|
-
'Required parameter "reportId" was null or undefined when calling listRightsizingReportClusters().'
|
|
3038
|
-
);
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
const queryParameters: any = {};
|
|
3042
|
-
|
|
3043
|
-
if (requestParameters['byExpression'] != null) {
|
|
3044
|
-
queryParameters['byExpression'] = requestParameters['byExpression'];
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
let urlPath = `/rightsizing/{report_id}/clusters`;
|
|
3051
|
-
urlPath = urlPath.replace('{report_id}', encodeURIComponent(String(requestParameters['reportId'])));
|
|
3052
|
-
|
|
3053
|
-
return {
|
|
3054
|
-
path: urlPath,
|
|
3055
|
-
method: 'GET',
|
|
3056
|
-
headers: headerParameters,
|
|
3057
|
-
query: queryParameters,
|
|
3058
|
-
};
|
|
3059
|
-
}
|
|
3060
|
-
|
|
3061
|
-
/**
|
|
3062
|
-
* Get cluster-level utilization aggregates for a specific report
|
|
3063
|
-
*/
|
|
3064
|
-
async listRightsizingReportClustersRaw(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>> {
|
|
3065
|
-
const requestOptions = await this.listRightsizingReportClustersRequestOpts(requestParameters);
|
|
3066
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3067
|
-
|
|
3068
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterListResponseFromJSON(jsonValue));
|
|
3069
|
-
}
|
|
3070
|
-
|
|
3071
|
-
/**
|
|
3072
|
-
* Get cluster-level utilization aggregates for a specific report
|
|
3073
|
-
*/
|
|
3074
|
-
async listRightsizingReportClusters(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse> {
|
|
3075
|
-
const response = await this.listRightsizingReportClustersRaw(requestParameters, initOverrides);
|
|
3076
|
-
return await response.value();
|
|
3077
|
-
}
|
|
3078
|
-
|
|
3079
|
-
/**
|
|
3080
|
-
* Creates request options for listRightsizingReports without sending the request
|
|
3081
|
-
*/
|
|
3082
|
-
async listRightsizingReportsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
3083
|
-
const queryParameters: any = {};
|
|
3084
|
-
|
|
3085
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
let urlPath = `/rightsizing`;
|
|
3089
|
-
|
|
3090
|
-
return {
|
|
3091
|
-
path: urlPath,
|
|
3092
|
-
method: 'GET',
|
|
3093
|
-
headers: headerParameters,
|
|
3094
|
-
query: queryParameters,
|
|
3095
|
-
};
|
|
3096
|
-
}
|
|
3097
|
-
|
|
3098
|
-
/**
|
|
3099
|
-
* List all rightsizing reports
|
|
3100
|
-
*/
|
|
3101
|
-
async listRightsizingReportsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingReportListResponse>> {
|
|
3102
|
-
const requestOptions = await this.listRightsizingReportsRequestOpts();
|
|
3103
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3104
|
-
|
|
3105
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingReportListResponseFromJSON(jsonValue));
|
|
3106
|
-
}
|
|
3107
|
-
|
|
3108
|
-
/**
|
|
3109
|
-
* List all rightsizing reports
|
|
3110
|
-
*/
|
|
3111
|
-
async listRightsizingReports(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReportListResponse> {
|
|
3112
|
-
const response = await this.listRightsizingReportsRaw(initOverrides);
|
|
3113
|
-
return await response.value();
|
|
3114
|
-
}
|
|
3115
|
-
|
|
3116
|
-
/**
|
|
3117
|
-
* Creates request options for postForecasterPairCapabilities without sending the request
|
|
3118
|
-
*/
|
|
3119
|
-
async postForecasterPairCapabilitiesRequestOpts(requestParameters: PostForecasterPairCapabilitiesRequest): Promise<runtime.RequestOpts> {
|
|
3120
|
-
if (requestParameters['pairCapabilityRequest'] == null) {
|
|
3121
|
-
throw new runtime.RequiredError(
|
|
3122
|
-
'pairCapabilityRequest',
|
|
3123
|
-
'Required parameter "pairCapabilityRequest" was null or undefined when calling postForecasterPairCapabilities().'
|
|
3124
|
-
);
|
|
3125
|
-
}
|
|
3126
|
-
|
|
3127
|
-
const queryParameters: any = {};
|
|
3128
|
-
|
|
3129
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3130
|
-
|
|
3131
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
let urlPath = `/forecaster/capabilities`;
|
|
3135
|
-
|
|
3136
|
-
return {
|
|
3137
|
-
path: urlPath,
|
|
3138
|
-
method: 'POST',
|
|
3139
|
-
headers: headerParameters,
|
|
3140
|
-
query: queryParameters,
|
|
3141
|
-
body: PairCapabilityRequestToJSON(requestParameters['pairCapabilityRequest']),
|
|
3142
|
-
};
|
|
3143
|
-
}
|
|
3144
|
-
|
|
3145
|
-
/**
|
|
3146
|
-
* Computes which offload methods are feasible for specific source-target datastore pairs based on vendor support and storage array topology derived from the forklift-collected inventory. No vSphere credentials are required.
|
|
3147
|
-
* Compute pair capabilities
|
|
3148
|
-
*/
|
|
3149
|
-
async postForecasterPairCapabilitiesRaw(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PairCapability>>> {
|
|
3150
|
-
const requestOptions = await this.postForecasterPairCapabilitiesRequestOpts(requestParameters);
|
|
3151
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3152
|
-
|
|
3153
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(PairCapabilityFromJSON));
|
|
3154
|
-
}
|
|
3155
|
-
|
|
3156
|
-
/**
|
|
3157
|
-
* Computes which offload methods are feasible for specific source-target datastore pairs based on vendor support and storage array topology derived from the forklift-collected inventory. No vSphere credentials are required.
|
|
3158
|
-
* Compute pair capabilities
|
|
3159
|
-
*/
|
|
3160
|
-
async postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>> {
|
|
3161
|
-
const response = await this.postForecasterPairCapabilitiesRaw(requestParameters, initOverrides);
|
|
3162
|
-
return await response.value();
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
/**
|
|
3166
|
-
* Creates request options for putCredentials without sending the request
|
|
3167
|
-
*/
|
|
3168
|
-
async putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts> {
|
|
3169
|
-
if (requestParameters['vcenterCredentials'] == null) {
|
|
3170
|
-
throw new runtime.RequiredError(
|
|
3171
|
-
'vcenterCredentials',
|
|
3172
|
-
'Required parameter "vcenterCredentials" was null or undefined when calling putCredentials().'
|
|
3173
|
-
);
|
|
3174
|
-
}
|
|
3175
|
-
|
|
3176
|
-
const queryParameters: any = {};
|
|
3177
|
-
|
|
3178
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3179
|
-
|
|
3180
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
let urlPath = `/credentials`;
|
|
3184
|
-
|
|
3185
|
-
return {
|
|
3186
|
-
path: urlPath,
|
|
3187
|
-
method: 'PUT',
|
|
3188
|
-
headers: headerParameters,
|
|
3189
|
-
query: queryParameters,
|
|
3190
|
-
body: VcenterCredentialsToJSON(requestParameters['vcenterCredentials']),
|
|
3191
|
-
};
|
|
3192
|
-
}
|
|
3193
|
-
|
|
3194
|
-
/**
|
|
3195
|
-
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
3196
|
-
* Store vCenter credentials
|
|
3197
|
-
*/
|
|
3198
|
-
async putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>> {
|
|
3199
|
-
const requestOptions = await this.putCredentialsRequestOpts(requestParameters);
|
|
3200
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3201
|
-
|
|
3202
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => CredentialStatusFromJSON(jsonValue));
|
|
3203
|
-
}
|
|
3204
|
-
|
|
3205
|
-
/**
|
|
3206
|
-
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
3207
|
-
* Store vCenter credentials
|
|
3208
|
-
*/
|
|
3209
|
-
async putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus> {
|
|
3210
|
-
const response = await this.putCredentialsRaw(requestParameters, initOverrides);
|
|
3211
|
-
return await response.value();
|
|
3212
|
-
}
|
|
3213
|
-
|
|
3214
|
-
/**
|
|
3215
|
-
* Creates request options for putForecasterCredentials without sending the request
|
|
3216
|
-
*/
|
|
3217
|
-
async putForecasterCredentialsRequestOpts(requestParameters: PutForecasterCredentialsRequest): Promise<runtime.RequestOpts> {
|
|
3218
|
-
if (requestParameters['vcenterCredentials'] == null) {
|
|
3219
|
-
throw new runtime.RequiredError(
|
|
3220
|
-
'vcenterCredentials',
|
|
3221
|
-
'Required parameter "vcenterCredentials" was null or undefined when calling putForecasterCredentials().'
|
|
3222
|
-
);
|
|
3223
|
-
}
|
|
3224
|
-
|
|
3225
|
-
const queryParameters: any = {};
|
|
3226
|
-
|
|
3227
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3228
|
-
|
|
3229
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
let urlPath = `/forecaster/credentials`;
|
|
3233
|
-
|
|
3234
|
-
return {
|
|
3235
|
-
path: urlPath,
|
|
3236
|
-
method: 'PUT',
|
|
3237
|
-
headers: headerParameters,
|
|
3238
|
-
query: queryParameters,
|
|
3239
|
-
body: VcenterCredentialsToJSON(requestParameters['vcenterCredentials']),
|
|
3240
|
-
};
|
|
3241
|
-
}
|
|
3242
|
-
|
|
3243
|
-
/**
|
|
3244
|
-
* Validates vCenter connectivity and verifies the user has the required vSphere privileges for forecaster operations (datastore file management, VM provisioning, disk cloning). Verification only — credentials are not saved.
|
|
3245
|
-
* Verify vCenter credentials and permissions
|
|
3246
|
-
*/
|
|
3247
|
-
async putForecasterCredentialsRaw(requestParameters: PutForecasterCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
3248
|
-
const requestOptions = await this.putForecasterCredentialsRequestOpts(requestParameters);
|
|
3249
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3250
|
-
|
|
3251
|
-
return new runtime.VoidApiResponse(response);
|
|
3252
|
-
}
|
|
3253
|
-
|
|
3254
|
-
/**
|
|
3255
|
-
* Validates vCenter connectivity and verifies the user has the required vSphere privileges for forecaster operations (datastore file management, VM provisioning, disk cloning). Verification only — credentials are not saved.
|
|
3256
|
-
* Verify vCenter credentials and permissions
|
|
3257
|
-
*/
|
|
3258
|
-
async putForecasterCredentials(requestParameters: PutForecasterCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3259
|
-
await this.putForecasterCredentialsRaw(requestParameters, initOverrides);
|
|
3260
|
-
}
|
|
3261
|
-
|
|
3262
|
-
/**
|
|
3263
|
-
* Creates request options for putInspectorVddk without sending the request
|
|
3264
|
-
*/
|
|
3265
|
-
async putInspectorVddkRequestOpts(requestParameters: PutInspectorVddkRequest): Promise<runtime.RequestOpts> {
|
|
3266
|
-
if (requestParameters['file'] == null) {
|
|
3267
|
-
throw new runtime.RequiredError(
|
|
3268
|
-
'file',
|
|
3269
|
-
'Required parameter "file" was null or undefined when calling putInspectorVddk().'
|
|
3270
|
-
);
|
|
3271
|
-
}
|
|
3272
|
-
|
|
3273
|
-
const queryParameters: any = {};
|
|
3274
|
-
|
|
3275
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3276
|
-
|
|
3277
|
-
const consumes: runtime.Consume[] = [
|
|
3278
|
-
{ contentType: 'multipart/form-data' },
|
|
3279
|
-
];
|
|
3280
|
-
// @ts-ignore: canConsumeForm may be unused
|
|
3281
|
-
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
3282
|
-
|
|
3283
|
-
let formParams: { append(param: string, value: any): any };
|
|
3284
|
-
let useForm = false;
|
|
3285
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
3286
|
-
useForm = canConsumeForm;
|
|
3287
|
-
if (useForm) {
|
|
3288
|
-
formParams = new FormData();
|
|
3289
|
-
} else {
|
|
3290
|
-
formParams = new URLSearchParams();
|
|
3291
|
-
}
|
|
3292
|
-
|
|
3293
|
-
if (requestParameters['file'] != null) {
|
|
3294
|
-
formParams.append('file', requestParameters['file'] as any);
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
let urlPath = `/inspector/vddk`;
|
|
3299
|
-
|
|
3300
|
-
return {
|
|
3301
|
-
path: urlPath,
|
|
3302
|
-
method: 'PUT',
|
|
3303
|
-
headers: headerParameters,
|
|
3304
|
-
query: queryParameters,
|
|
3305
|
-
body: formParams,
|
|
3306
|
-
};
|
|
3307
|
-
}
|
|
3308
|
-
|
|
3309
|
-
/**
|
|
3310
|
-
* Upload VDDK tarball
|
|
3311
|
-
*/
|
|
3312
|
-
async putInspectorVddkRaw(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>> {
|
|
3313
|
-
const requestOptions = await this.putInspectorVddkRequestOpts(requestParameters);
|
|
3314
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3315
|
-
|
|
3316
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VddkPropertiesFromJSON(jsonValue));
|
|
3317
|
-
}
|
|
3318
|
-
|
|
3319
|
-
/**
|
|
3320
|
-
* Upload VDDK tarball
|
|
3321
|
-
*/
|
|
3322
|
-
async putInspectorVddk(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties> {
|
|
3323
|
-
const response = await this.putInspectorVddkRaw(requestParameters, initOverrides);
|
|
3324
|
-
return await response.value();
|
|
3325
|
-
}
|
|
3326
|
-
|
|
3327
|
-
/**
|
|
3328
|
-
* Creates request options for removeVMFromInspection without sending the request
|
|
3329
|
-
*/
|
|
3330
|
-
async removeVMFromInspectionRequestOpts(requestParameters: RemoveVMFromInspectionRequest): Promise<runtime.RequestOpts> {
|
|
3331
|
-
if (requestParameters['id'] == null) {
|
|
3332
|
-
throw new runtime.RequiredError(
|
|
3333
|
-
'id',
|
|
3334
|
-
'Required parameter "id" was null or undefined when calling removeVMFromInspection().'
|
|
3335
|
-
);
|
|
3336
|
-
}
|
|
3337
|
-
|
|
3338
|
-
const queryParameters: any = {};
|
|
3339
|
-
|
|
3340
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
let urlPath = `/vms/{id}/inspection`;
|
|
3344
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
3345
|
-
|
|
3346
|
-
return {
|
|
3347
|
-
path: urlPath,
|
|
3348
|
-
method: 'DELETE',
|
|
3349
|
-
headers: headerParameters,
|
|
3350
|
-
query: queryParameters,
|
|
3351
|
-
};
|
|
3352
|
-
}
|
|
3353
|
-
|
|
3354
|
-
/**
|
|
3355
|
-
* Remove VirtualMachine from inspection queue
|
|
3356
|
-
*/
|
|
3357
|
-
async removeVMFromInspectionRaw(requestParameters: RemoveVMFromInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmInspectionStatus>> {
|
|
3358
|
-
const requestOptions = await this.removeVMFromInspectionRequestOpts(requestParameters);
|
|
3359
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3360
|
-
|
|
3361
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VmInspectionStatusFromJSON(jsonValue));
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
|
-
/**
|
|
3365
|
-
* Remove VirtualMachine from inspection queue
|
|
3366
|
-
*/
|
|
3367
|
-
async removeVMFromInspection(requestParameters: RemoveVMFromInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmInspectionStatus> {
|
|
3368
|
-
const response = await this.removeVMFromInspectionRaw(requestParameters, initOverrides);
|
|
3369
|
-
return await response.value();
|
|
3370
|
-
}
|
|
3371
|
-
|
|
3372
|
-
/**
|
|
3373
|
-
* Creates request options for setAgentMode without sending the request
|
|
3374
|
-
*/
|
|
3375
|
-
async setAgentModeRequestOpts(requestParameters: SetAgentModeRequest): Promise<runtime.RequestOpts> {
|
|
3376
|
-
if (requestParameters['agentModeRequest'] == null) {
|
|
3377
|
-
throw new runtime.RequiredError(
|
|
3378
|
-
'agentModeRequest',
|
|
3379
|
-
'Required parameter "agentModeRequest" was null or undefined when calling setAgentMode().'
|
|
3380
|
-
);
|
|
3381
|
-
}
|
|
3382
|
-
|
|
3383
|
-
const queryParameters: any = {};
|
|
3384
|
-
|
|
3385
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3386
|
-
|
|
3387
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
let urlPath = `/agent`;
|
|
3391
|
-
|
|
3392
|
-
return {
|
|
3393
|
-
path: urlPath,
|
|
3394
|
-
method: 'POST',
|
|
3395
|
-
headers: headerParameters,
|
|
3396
|
-
query: queryParameters,
|
|
3397
|
-
body: AgentModeRequestToJSON(requestParameters['agentModeRequest']),
|
|
3398
|
-
};
|
|
3399
|
-
}
|
|
3400
|
-
|
|
3401
|
-
/**
|
|
3402
|
-
* Change agent mode
|
|
3403
|
-
*/
|
|
3404
|
-
async setAgentModeRaw(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentStatus>> {
|
|
3405
|
-
const requestOptions = await this.setAgentModeRequestOpts(requestParameters);
|
|
3406
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3407
|
-
|
|
3408
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => AgentStatusFromJSON(jsonValue));
|
|
3409
|
-
}
|
|
3410
|
-
|
|
3411
|
-
/**
|
|
3412
|
-
* Change agent mode
|
|
3413
|
-
*/
|
|
3414
|
-
async setAgentMode(requestParameters: SetAgentModeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus> {
|
|
3415
|
-
const response = await this.setAgentModeRaw(requestParameters, initOverrides);
|
|
3416
|
-
return await response.value();
|
|
3417
|
-
}
|
|
3418
|
-
|
|
3419
|
-
/**
|
|
3420
|
-
* Creates request options for startCollector without sending the request
|
|
3421
|
-
*/
|
|
3422
|
-
async startCollectorRequestOpts(requestParameters: StartCollectorRequest): Promise<runtime.RequestOpts> {
|
|
3423
|
-
if (requestParameters['collectorStartRequest'] == null) {
|
|
3424
|
-
throw new runtime.RequiredError(
|
|
3425
|
-
'collectorStartRequest',
|
|
3426
|
-
'Required parameter "collectorStartRequest" was null or undefined when calling startCollector().'
|
|
3427
|
-
);
|
|
3428
|
-
}
|
|
3429
|
-
|
|
3430
|
-
const queryParameters: any = {};
|
|
3431
|
-
|
|
3432
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3433
|
-
|
|
3434
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
let urlPath = `/collector`;
|
|
3438
|
-
|
|
3439
|
-
return {
|
|
3440
|
-
path: urlPath,
|
|
3441
|
-
method: 'POST',
|
|
3442
|
-
headers: headerParameters,
|
|
3443
|
-
query: queryParameters,
|
|
3444
|
-
body: CollectorStartRequestToJSON(requestParameters['collectorStartRequest']),
|
|
3445
|
-
};
|
|
3446
|
-
}
|
|
3447
|
-
|
|
3448
|
-
/**
|
|
3449
|
-
* Start inventory collection
|
|
3450
|
-
*/
|
|
3451
|
-
async startCollectorRaw(requestParameters: StartCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>> {
|
|
3452
|
-
const requestOptions = await this.startCollectorRequestOpts(requestParameters);
|
|
3453
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3454
|
-
|
|
3455
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => CollectorStatusFromJSON(jsonValue));
|
|
3456
|
-
}
|
|
3457
|
-
|
|
3458
|
-
/**
|
|
3459
|
-
* Start inventory collection
|
|
3460
|
-
*/
|
|
3461
|
-
async startCollector(requestParameters: StartCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus> {
|
|
3462
|
-
const response = await this.startCollectorRaw(requestParameters, initOverrides);
|
|
3463
|
-
return await response.value();
|
|
3464
|
-
}
|
|
3465
|
-
|
|
3466
|
-
/**
|
|
3467
|
-
* Creates request options for startForecaster without sending the request
|
|
3468
|
-
*/
|
|
3469
|
-
async startForecasterRequestOpts(requestParameters: StartForecasterRequest): Promise<runtime.RequestOpts> {
|
|
3470
|
-
if (requestParameters['forecasterStartRequest'] == null) {
|
|
3471
|
-
throw new runtime.RequiredError(
|
|
3472
|
-
'forecasterStartRequest',
|
|
3473
|
-
'Required parameter "forecasterStartRequest" was null or undefined when calling startForecaster().'
|
|
3474
|
-
);
|
|
3475
|
-
}
|
|
3476
|
-
|
|
3477
|
-
const queryParameters: any = {};
|
|
3478
|
-
|
|
3479
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3480
|
-
|
|
3481
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
let urlPath = `/forecaster`;
|
|
3485
|
-
|
|
3486
|
-
return {
|
|
3487
|
-
path: urlPath,
|
|
3488
|
-
method: 'POST',
|
|
3489
|
-
headers: headerParameters,
|
|
3490
|
-
query: queryParameters,
|
|
3491
|
-
body: ForecasterStartRequestToJSON(requestParameters['forecasterStartRequest']),
|
|
3492
|
-
};
|
|
3493
|
-
}
|
|
3494
|
-
|
|
3495
|
-
/**
|
|
3496
|
-
* Starts async benchmarking for one or more datastore pairs. Credentials can be passed inline or omitted if previously provided in an earlier request.
|
|
3497
|
-
* Start benchmark
|
|
3498
|
-
*/
|
|
3499
|
-
async startForecasterRaw(requestParameters: StartForecasterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecasterStatus>> {
|
|
3500
|
-
const requestOptions = await this.startForecasterRequestOpts(requestParameters);
|
|
3501
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3502
|
-
|
|
3503
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ForecasterStatusFromJSON(jsonValue));
|
|
3504
|
-
}
|
|
3505
|
-
|
|
3506
|
-
/**
|
|
3507
|
-
* Starts async benchmarking for one or more datastore pairs. Credentials can be passed inline or omitted if previously provided in an earlier request.
|
|
3508
|
-
* Start benchmark
|
|
3509
|
-
*/
|
|
3510
|
-
async startForecaster(requestParameters: StartForecasterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecasterStatus> {
|
|
3511
|
-
const response = await this.startForecasterRaw(requestParameters, initOverrides);
|
|
3512
|
-
return await response.value();
|
|
3513
|
-
}
|
|
3514
|
-
|
|
3515
|
-
/**
|
|
3516
|
-
* Creates request options for startInspection without sending the request
|
|
3517
|
-
*/
|
|
3518
|
-
async startInspectionRequestOpts(requestParameters: StartInspectionOperationRequest): Promise<runtime.RequestOpts> {
|
|
3519
|
-
if (requestParameters['startInspectionRequest'] == null) {
|
|
3520
|
-
throw new runtime.RequiredError(
|
|
3521
|
-
'startInspectionRequest',
|
|
3522
|
-
'Required parameter "startInspectionRequest" was null or undefined when calling startInspection().'
|
|
3523
|
-
);
|
|
3524
|
-
}
|
|
3525
|
-
|
|
3526
|
-
const queryParameters: any = {};
|
|
3527
|
-
|
|
3528
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3529
|
-
|
|
3530
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
let urlPath = `/inspector`;
|
|
3534
|
-
|
|
3535
|
-
return {
|
|
3536
|
-
path: urlPath,
|
|
3537
|
-
method: 'POST',
|
|
3538
|
-
headers: headerParameters,
|
|
3539
|
-
query: queryParameters,
|
|
3540
|
-
body: StartInspectionRequestToJSON(requestParameters['startInspectionRequest']),
|
|
3541
|
-
};
|
|
3542
|
-
}
|
|
3543
|
-
|
|
3544
|
-
/**
|
|
3545
|
-
* Start inspection for VMs
|
|
3546
|
-
*/
|
|
3547
|
-
async startInspectionRaw(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>> {
|
|
3548
|
-
const requestOptions = await this.startInspectionRequestOpts(requestParameters);
|
|
3549
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3550
|
-
|
|
3551
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
|
|
3552
|
-
}
|
|
3553
|
-
|
|
3554
|
-
/**
|
|
3555
|
-
* Start inspection for VMs
|
|
3556
|
-
*/
|
|
3557
|
-
async startInspection(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus> {
|
|
3558
|
-
const response = await this.startInspectionRaw(requestParameters, initOverrides);
|
|
3559
|
-
return await response.value();
|
|
3560
|
-
}
|
|
3561
|
-
|
|
3562
|
-
/**
|
|
3563
|
-
* Creates request options for stopCollector without sending the request
|
|
3564
|
-
*/
|
|
3565
|
-
async stopCollectorRequestOpts(): Promise<runtime.RequestOpts> {
|
|
3566
|
-
const queryParameters: any = {};
|
|
3567
|
-
|
|
3568
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
let urlPath = `/collector`;
|
|
3572
|
-
|
|
3573
|
-
return {
|
|
3574
|
-
path: urlPath,
|
|
3575
|
-
method: 'DELETE',
|
|
3576
|
-
headers: headerParameters,
|
|
3577
|
-
query: queryParameters,
|
|
3578
|
-
};
|
|
3579
|
-
}
|
|
3580
|
-
|
|
3581
|
-
/**
|
|
3582
|
-
* Stop collection
|
|
3583
|
-
*/
|
|
3584
|
-
async stopCollectorRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
3585
|
-
const requestOptions = await this.stopCollectorRequestOpts();
|
|
3586
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3587
|
-
|
|
3588
|
-
return new runtime.VoidApiResponse(response);
|
|
3589
|
-
}
|
|
3590
|
-
|
|
3591
|
-
/**
|
|
3592
|
-
* Stop collection
|
|
3593
|
-
*/
|
|
3594
|
-
async stopCollector(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3595
|
-
await this.stopCollectorRaw(initOverrides);
|
|
3596
|
-
}
|
|
3597
|
-
|
|
3598
|
-
/**
|
|
3599
|
-
* Creates request options for stopForecaster without sending the request
|
|
3600
|
-
*/
|
|
3601
|
-
async stopForecasterRequestOpts(): Promise<runtime.RequestOpts> {
|
|
3602
|
-
const queryParameters: any = {};
|
|
3603
|
-
|
|
3604
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
let urlPath = `/forecaster`;
|
|
3608
|
-
|
|
3609
|
-
return {
|
|
3610
|
-
path: urlPath,
|
|
3611
|
-
method: 'DELETE',
|
|
3612
|
-
headers: headerParameters,
|
|
3613
|
-
query: queryParameters,
|
|
3614
|
-
};
|
|
3615
|
-
}
|
|
3616
|
-
|
|
3617
|
-
/**
|
|
3618
|
-
* Stops the running benchmark. Already-completed runs are preserved in the database.
|
|
3619
|
-
* Cancel benchmark
|
|
3620
|
-
*/
|
|
3621
|
-
async stopForecasterRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ForecasterStatus>> {
|
|
3622
|
-
const requestOptions = await this.stopForecasterRequestOpts();
|
|
3623
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3624
|
-
|
|
3625
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ForecasterStatusFromJSON(jsonValue));
|
|
3626
|
-
}
|
|
3627
|
-
|
|
3628
|
-
/**
|
|
3629
|
-
* Stops the running benchmark. Already-completed runs are preserved in the database.
|
|
3630
|
-
* Cancel benchmark
|
|
3631
|
-
*/
|
|
3632
|
-
async stopForecaster(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ForecasterStatus> {
|
|
3633
|
-
const response = await this.stopForecasterRaw(initOverrides);
|
|
3634
|
-
return await response.value();
|
|
3635
|
-
}
|
|
3636
|
-
|
|
3637
|
-
/**
|
|
3638
|
-
* Creates request options for stopForecasterPair without sending the request
|
|
3639
|
-
*/
|
|
3640
|
-
async stopForecasterPairRequestOpts(requestParameters: StopForecasterPairRequest): Promise<runtime.RequestOpts> {
|
|
3641
|
-
if (requestParameters['name'] == null) {
|
|
3642
|
-
throw new runtime.RequiredError(
|
|
3643
|
-
'name',
|
|
3644
|
-
'Required parameter "name" was null or undefined when calling stopForecasterPair().'
|
|
3645
|
-
);
|
|
3646
|
-
}
|
|
3647
|
-
|
|
3648
|
-
const queryParameters: any = {};
|
|
3649
|
-
|
|
3650
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
let urlPath = `/forecaster/pairs/{name}`;
|
|
3654
|
-
urlPath = urlPath.replace('{name}', encodeURIComponent(String(requestParameters['name'])));
|
|
3655
|
-
|
|
3656
|
-
return {
|
|
3657
|
-
path: urlPath,
|
|
3658
|
-
method: 'DELETE',
|
|
3659
|
-
headers: headerParameters,
|
|
3660
|
-
query: queryParameters,
|
|
3661
|
-
};
|
|
3662
|
-
}
|
|
3663
|
-
|
|
3664
|
-
/**
|
|
3665
|
-
* Cancels the benchmark for a specific pair by name. The forecaster continues running if other pairs are still active.
|
|
3666
|
-
* Cancel a single pair
|
|
3667
|
-
*/
|
|
3668
|
-
async stopForecasterPairRaw(requestParameters: StopForecasterPairRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StopForecasterPair202Response>> {
|
|
3669
|
-
const requestOptions = await this.stopForecasterPairRequestOpts(requestParameters);
|
|
3670
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3671
|
-
|
|
3672
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => StopForecasterPair202ResponseFromJSON(jsonValue));
|
|
3673
|
-
}
|
|
3674
|
-
|
|
3675
|
-
/**
|
|
3676
|
-
* Cancels the benchmark for a specific pair by name. The forecaster continues running if other pairs are still active.
|
|
3677
|
-
* Cancel a single pair
|
|
3678
|
-
*/
|
|
3679
|
-
async stopForecasterPair(requestParameters: StopForecasterPairRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StopForecasterPair202Response> {
|
|
3680
|
-
const response = await this.stopForecasterPairRaw(requestParameters, initOverrides);
|
|
3681
|
-
return await response.value();
|
|
3682
|
-
}
|
|
3683
|
-
|
|
3684
|
-
/**
|
|
3685
|
-
* Creates request options for stopInspection without sending the request
|
|
3686
|
-
*/
|
|
3687
|
-
async stopInspectionRequestOpts(): Promise<runtime.RequestOpts> {
|
|
3688
|
-
const queryParameters: any = {};
|
|
3689
|
-
|
|
3690
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
let urlPath = `/inspector`;
|
|
3694
|
-
|
|
3695
|
-
return {
|
|
3696
|
-
path: urlPath,
|
|
3697
|
-
method: 'DELETE',
|
|
3698
|
-
headers: headerParameters,
|
|
3699
|
-
query: queryParameters,
|
|
3700
|
-
};
|
|
3701
|
-
}
|
|
3702
|
-
|
|
3703
|
-
/**
|
|
3704
|
-
* Stop inspector entirely
|
|
3705
|
-
*/
|
|
3706
|
-
async stopInspectionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>> {
|
|
3707
|
-
const requestOptions = await this.stopInspectionRequestOpts();
|
|
3708
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3709
|
-
|
|
3710
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
|
|
3711
|
-
}
|
|
3712
|
-
|
|
3713
|
-
/**
|
|
3714
|
-
* Stop inspector entirely
|
|
3715
|
-
*/
|
|
3716
|
-
async stopInspection(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus> {
|
|
3717
|
-
const response = await this.stopInspectionRaw(initOverrides);
|
|
3718
|
-
return await response.value();
|
|
3719
|
-
}
|
|
3720
|
-
|
|
3721
|
-
/**
|
|
3722
|
-
* Creates request options for triggerRightsizingCollection without sending the request
|
|
3723
|
-
*/
|
|
3724
|
-
async triggerRightsizingCollectionRequestOpts(requestParameters: TriggerRightsizingCollectionRequest): Promise<runtime.RequestOpts> {
|
|
3725
|
-
if (requestParameters['rightsizingCollectRequest'] == null) {
|
|
3726
|
-
throw new runtime.RequiredError(
|
|
3727
|
-
'rightsizingCollectRequest',
|
|
3728
|
-
'Required parameter "rightsizingCollectRequest" was null or undefined when calling triggerRightsizingCollection().'
|
|
3729
|
-
);
|
|
3730
|
-
}
|
|
3731
|
-
|
|
3732
|
-
const queryParameters: any = {};
|
|
3733
|
-
|
|
3734
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3735
|
-
|
|
3736
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
let urlPath = `/rightsizing`;
|
|
3740
|
-
|
|
3741
|
-
return {
|
|
3742
|
-
path: urlPath,
|
|
3743
|
-
method: 'POST',
|
|
3744
|
-
headers: headerParameters,
|
|
3745
|
-
query: queryParameters,
|
|
3746
|
-
body: RightsizingCollectRequestToJSON(requestParameters['rightsizingCollectRequest']),
|
|
3747
|
-
};
|
|
3748
|
-
}
|
|
3749
|
-
|
|
3750
|
-
/**
|
|
3751
|
-
* Trigger rightsizing metrics collection
|
|
3752
|
-
*/
|
|
3753
|
-
async triggerRightsizingCollectionRaw(requestParameters: TriggerRightsizingCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingReportSummary>> {
|
|
3754
|
-
const requestOptions = await this.triggerRightsizingCollectionRequestOpts(requestParameters);
|
|
3755
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3756
|
-
|
|
3757
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingReportSummaryFromJSON(jsonValue));
|
|
3758
|
-
}
|
|
3759
|
-
|
|
3760
|
-
/**
|
|
3761
|
-
* Trigger rightsizing metrics collection
|
|
3762
|
-
*/
|
|
3763
|
-
async triggerRightsizingCollection(requestParameters: TriggerRightsizingCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReportSummary> {
|
|
3764
|
-
const response = await this.triggerRightsizingCollectionRaw(requestParameters, initOverrides);
|
|
3765
|
-
return await response.value();
|
|
3766
|
-
}
|
|
3767
|
-
|
|
3768
|
-
/**
|
|
3769
|
-
* Creates request options for updateGroup without sending the request
|
|
3770
|
-
*/
|
|
3771
|
-
async updateGroupRequestOpts(requestParameters: UpdateGroupOperationRequest): Promise<runtime.RequestOpts> {
|
|
3772
|
-
if (requestParameters['id'] == null) {
|
|
3773
|
-
throw new runtime.RequiredError(
|
|
3774
|
-
'id',
|
|
3775
|
-
'Required parameter "id" was null or undefined when calling updateGroup().'
|
|
3776
|
-
);
|
|
3777
|
-
}
|
|
3778
|
-
|
|
3779
|
-
if (requestParameters['updateGroupRequest'] == null) {
|
|
3780
|
-
throw new runtime.RequiredError(
|
|
3781
|
-
'updateGroupRequest',
|
|
3782
|
-
'Required parameter "updateGroupRequest" was null or undefined when calling updateGroup().'
|
|
3783
|
-
);
|
|
3784
|
-
}
|
|
3785
|
-
|
|
3786
|
-
const queryParameters: any = {};
|
|
3787
|
-
|
|
3788
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3789
|
-
|
|
3790
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
let urlPath = `/groups/{id}`;
|
|
3794
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
3795
|
-
|
|
3796
|
-
return {
|
|
3797
|
-
path: urlPath,
|
|
3798
|
-
method: 'PATCH',
|
|
3799
|
-
headers: headerParameters,
|
|
3800
|
-
query: queryParameters,
|
|
3801
|
-
body: UpdateGroupRequestToJSON(requestParameters['updateGroupRequest']),
|
|
3802
|
-
};
|
|
3803
|
-
}
|
|
3804
|
-
|
|
3805
|
-
/**
|
|
3806
|
-
* Update group
|
|
3807
|
-
*/
|
|
3808
|
-
async updateGroupRaw(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Group>> {
|
|
3809
|
-
const requestOptions = await this.updateGroupRequestOpts(requestParameters);
|
|
3810
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3811
|
-
|
|
3812
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GroupFromJSON(jsonValue));
|
|
3813
|
-
}
|
|
3814
|
-
|
|
3815
|
-
/**
|
|
3816
|
-
* Update group
|
|
3817
|
-
*/
|
|
3818
|
-
async updateGroup(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group> {
|
|
3819
|
-
const response = await this.updateGroupRaw(requestParameters, initOverrides);
|
|
3820
|
-
return await response.value();
|
|
3821
|
-
}
|
|
3822
|
-
|
|
3823
|
-
/**
|
|
3824
|
-
* Creates request options for updateLabelVMs without sending the request
|
|
3825
|
-
*/
|
|
3826
|
-
async updateLabelVMsRequestOpts(requestParameters: UpdateLabelVMsOperationRequest): Promise<runtime.RequestOpts> {
|
|
3827
|
-
if (requestParameters['label'] == null) {
|
|
3828
|
-
throw new runtime.RequiredError(
|
|
3829
|
-
'label',
|
|
3830
|
-
'Required parameter "label" was null or undefined when calling updateLabelVMs().'
|
|
3831
|
-
);
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3834
|
-
if (requestParameters['updateLabelVMsRequest'] == null) {
|
|
3835
|
-
throw new runtime.RequiredError(
|
|
3836
|
-
'updateLabelVMsRequest',
|
|
3837
|
-
'Required parameter "updateLabelVMsRequest" was null or undefined when calling updateLabelVMs().'
|
|
3838
|
-
);
|
|
3839
|
-
}
|
|
3840
|
-
|
|
3841
|
-
const queryParameters: any = {};
|
|
3842
|
-
|
|
3843
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3844
|
-
|
|
3845
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
let urlPath = `/vms/labels/{label}`;
|
|
3849
|
-
urlPath = urlPath.replace('{label}', encodeURIComponent(String(requestParameters['label'])));
|
|
3850
|
-
|
|
3851
|
-
return {
|
|
3852
|
-
path: urlPath,
|
|
3853
|
-
method: 'PATCH',
|
|
3854
|
-
headers: headerParameters,
|
|
3855
|
-
query: queryParameters,
|
|
3856
|
-
body: UpdateLabelVMsRequestToJSON(requestParameters['updateLabelVMsRequest']),
|
|
3857
|
-
};
|
|
3858
|
-
}
|
|
3859
|
-
|
|
3860
|
-
/**
|
|
3861
|
-
* Modify label VM membership (add/remove label to/from VMs)
|
|
3862
|
-
*/
|
|
3863
|
-
async updateLabelVMsRaw(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
3864
|
-
const requestOptions = await this.updateLabelVMsRequestOpts(requestParameters);
|
|
3865
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3866
|
-
|
|
3867
|
-
return new runtime.VoidApiResponse(response);
|
|
3868
|
-
}
|
|
3869
|
-
|
|
3870
|
-
/**
|
|
3871
|
-
* Modify label VM membership (add/remove label to/from VMs)
|
|
3872
|
-
*/
|
|
3873
|
-
async updateLabelVMs(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3874
|
-
await this.updateLabelVMsRaw(requestParameters, initOverrides);
|
|
3875
|
-
}
|
|
3876
|
-
|
|
3877
|
-
/**
|
|
3878
|
-
* Creates request options for updateVM without sending the request
|
|
3879
|
-
*/
|
|
3880
|
-
async updateVMRequestOpts(requestParameters: UpdateVMRequest): Promise<runtime.RequestOpts> {
|
|
3881
|
-
if (requestParameters['id'] == null) {
|
|
3882
|
-
throw new runtime.RequiredError(
|
|
3883
|
-
'id',
|
|
3884
|
-
'Required parameter "id" was null or undefined when calling updateVM().'
|
|
3885
|
-
);
|
|
3886
|
-
}
|
|
3887
|
-
|
|
3888
|
-
if (requestParameters['virtualMachineUpdateRequest'] == null) {
|
|
3889
|
-
throw new runtime.RequiredError(
|
|
3890
|
-
'virtualMachineUpdateRequest',
|
|
3891
|
-
'Required parameter "virtualMachineUpdateRequest" was null or undefined when calling updateVM().'
|
|
3892
|
-
);
|
|
3893
|
-
}
|
|
3894
|
-
|
|
3895
|
-
const queryParameters: any = {};
|
|
3896
|
-
|
|
3897
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3898
|
-
|
|
3899
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
let urlPath = `/vms/{id}`;
|
|
3903
|
-
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
3904
|
-
|
|
3905
|
-
return {
|
|
3906
|
-
path: urlPath,
|
|
3907
|
-
method: 'PATCH',
|
|
3908
|
-
headers: headerParameters,
|
|
3909
|
-
query: queryParameters,
|
|
3910
|
-
body: VirtualMachineUpdateRequestToJSON(requestParameters['virtualMachineUpdateRequest']),
|
|
3911
|
-
};
|
|
3912
|
-
}
|
|
3913
|
-
|
|
3914
|
-
/**
|
|
3915
|
-
* Update VM properties
|
|
3916
|
-
*/
|
|
3917
|
-
async updateVMRaw(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
3918
|
-
const requestOptions = await this.updateVMRequestOpts(requestParameters);
|
|
3919
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3920
|
-
|
|
3921
|
-
return new runtime.VoidApiResponse(response);
|
|
3922
|
-
}
|
|
3923
|
-
|
|
3924
|
-
/**
|
|
3925
|
-
* Update VM properties
|
|
3926
|
-
*/
|
|
3927
|
-
async updateVM(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3928
|
-
await this.updateVMRaw(requestParameters, initOverrides);
|
|
3929
|
-
}
|
|
3930
|
-
|
|
3931
|
-
/**
|
|
3932
|
-
* Creates request options for validateInspectorCredentials without sending the request
|
|
3933
|
-
*/
|
|
3934
|
-
async validateInspectorCredentialsRequestOpts(requestParameters: ValidateInspectorCredentialsRequest): Promise<runtime.RequestOpts> {
|
|
3935
|
-
if (requestParameters['vcenterCredentials'] == null) {
|
|
3936
|
-
throw new runtime.RequiredError(
|
|
3937
|
-
'vcenterCredentials',
|
|
3938
|
-
'Required parameter "vcenterCredentials" was null or undefined when calling validateInspectorCredentials().'
|
|
3939
|
-
);
|
|
3940
|
-
}
|
|
3941
|
-
|
|
3942
|
-
const queryParameters: any = {};
|
|
3943
|
-
|
|
3944
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3945
|
-
|
|
3946
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
let urlPath = `/inspector/credentials`;
|
|
3950
|
-
|
|
3951
|
-
return {
|
|
3952
|
-
path: urlPath,
|
|
3953
|
-
method: 'POST',
|
|
3954
|
-
headers: headerParameters,
|
|
3955
|
-
query: queryParameters,
|
|
3956
|
-
body: VcenterCredentialsToJSON(requestParameters['vcenterCredentials']),
|
|
3957
|
-
};
|
|
3958
|
-
}
|
|
3959
|
-
|
|
3960
|
-
/**
|
|
3961
|
-
* Validate vCenter credentials for inspector
|
|
3962
|
-
*/
|
|
3963
|
-
async validateInspectorCredentialsRaw(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
3964
|
-
const requestOptions = await this.validateInspectorCredentialsRequestOpts(requestParameters);
|
|
3965
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
3966
|
-
|
|
3967
|
-
return new runtime.VoidApiResponse(response);
|
|
3968
|
-
}
|
|
3969
|
-
|
|
3970
|
-
/**
|
|
3971
|
-
* Validate vCenter credentials for inspector
|
|
3972
|
-
*/
|
|
3973
|
-
async validateInspectorCredentials(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3974
|
-
await this.validateInspectorCredentialsRaw(requestParameters, initOverrides);
|
|
3975
|
-
}
|
|
3976
|
-
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3979
|
-
/**
|
|
3980
|
-
* @export
|
|
3981
|
-
*/
|
|
3982
|
-
export const ExportInventoryFormatEnum = {
|
|
3983
|
-
Zip: 'zip',
|
|
3984
|
-
Xlsx: 'xlsx'
|
|
3985
|
-
} as const;
|
|
3986
|
-
export type ExportInventoryFormatEnum = typeof ExportInventoryFormatEnum[keyof typeof ExportInventoryFormatEnum];
|