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