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