@openshift-migration-advisor/agent-sdk 0.12.0-e6e9d25bdc36 → 0.12.0-f389e54ed2b9
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 +22 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +25 -5
- package/dist/apis/DefaultApi.d.ts +387 -51
- package/dist/apis/DefaultApi.js +422 -52
- package/dist/esm/apis/DefaultApi.d.ts +387 -51
- package/dist/esm/apis/DefaultApi.js +422 -52
- package/dist/esm/models/AgentStatus.d.ts +1 -1
- package/dist/esm/models/AgentStatus.js +3 -3
- package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
- package/dist/esm/models/ApplicationListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +51 -0
- package/dist/esm/models/ApplicationOverview.js +56 -0
- package/dist/esm/models/ApplicationVM.d.ts +38 -0
- package/dist/esm/models/ApplicationVM.js +47 -0
- package/dist/esm/models/ClusterFeatures.d.ts +54 -0
- package/dist/esm/models/ClusterFeatures.js +54 -0
- package/dist/esm/models/ClusterUtilization.d.ts +68 -0
- package/dist/esm/models/ClusterUtilization.js +67 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
- package/dist/esm/models/CollectorStartRequest.js +4 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
- package/dist/esm/models/CreateGroupRequest.js +0 -2
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
- package/dist/esm/models/Group.d.ts +0 -6
- package/dist/esm/models/Group.js +0 -2
- package/dist/esm/models/GroupResponse.d.ts +7 -0
- package/dist/esm/models/GroupResponse.js +3 -0
- package/dist/esm/models/InspectorStatus.d.ts +0 -17
- package/dist/esm/models/InspectorStatus.js +1 -10
- package/dist/esm/models/Inventory.d.ts +7 -1
- package/dist/esm/models/Inventory.js +5 -3
- package/dist/esm/models/InventoryData.d.ts +14 -0
- package/dist/esm/models/InventoryData.js +6 -0
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +1 -1
- package/dist/esm/models/RightsizingClusterListResponse.js +3 -3
- package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingClusterResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +18 -12
- package/dist/esm/models/RightsizingClusterUtilization.js +37 -33
- package/dist/esm/models/RightsizingCollectRequest.d.ts +6 -6
- package/dist/esm/models/RightsizingCollectRequest.js +12 -12
- package/dist/esm/models/RightsizingMetricStats.d.ts +1 -1
- package/dist/esm/models/RightsizingMetricStats.js +3 -3
- package/dist/esm/models/RightsizingReport.d.ts +6 -6
- package/dist/esm/models/RightsizingReport.js +18 -18
- package/dist/esm/models/RightsizingReportSummary.d.ts +6 -6
- package/dist/esm/models/RightsizingReportSummary.js +18 -18
- package/dist/esm/models/StartInspectionRequest.d.ts +8 -1
- package/dist/esm/models/StartInspectionRequest.js +5 -0
- package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/esm/models/UpdateGroupRequest.js +0 -2
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
- package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
- package/dist/esm/models/VMLabelsResponse.js +47 -0
- package/dist/esm/models/VMNIC.d.ts +12 -0
- package/dist/esm/models/VMNIC.js +4 -0
- package/dist/esm/models/VcenterCredentials.d.ts +12 -0
- package/dist/esm/models/VcenterCredentials.js +4 -0
- package/dist/esm/models/VirtualMachine.d.ts +30 -6
- package/dist/esm/models/VirtualMachine.js +18 -10
- package/dist/esm/models/VirtualMachineDetail.d.ts +19 -0
- package/dist/esm/models/VirtualMachineDetail.js +7 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
- package/dist/esm/models/VmUtilizationDetails.d.ts +12 -12
- package/dist/esm/models/VmUtilizationDetails.js +36 -36
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/runtime.js +2 -1
- package/dist/models/AgentStatus.d.ts +1 -1
- package/dist/models/AgentStatus.js +3 -3
- package/dist/models/ApplicationListResponse.d.ts +33 -0
- package/dist/models/ApplicationListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +51 -0
- package/dist/models/ApplicationOverview.js +63 -0
- package/dist/models/ApplicationVM.d.ts +38 -0
- package/dist/models/ApplicationVM.js +54 -0
- package/dist/models/ClusterFeatures.d.ts +54 -0
- package/dist/models/ClusterFeatures.js +62 -0
- package/dist/models/ClusterUtilization.d.ts +68 -0
- package/dist/models/ClusterUtilization.js +74 -0
- package/dist/models/CollectorStartRequest.d.ts +12 -0
- package/dist/models/CollectorStartRequest.js +4 -0
- package/dist/models/CreateGroupRequest.d.ts +0 -6
- package/dist/models/CreateGroupRequest.js +0 -2
- package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/models/DeleteLabelGloballyResponse.js +54 -0
- package/dist/models/Group.d.ts +0 -6
- package/dist/models/Group.js +0 -2
- package/dist/models/GroupResponse.d.ts +7 -0
- package/dist/models/GroupResponse.js +3 -0
- package/dist/models/InspectorStatus.d.ts +0 -17
- package/dist/models/InspectorStatus.js +1 -10
- package/dist/models/Inventory.d.ts +7 -1
- package/dist/models/Inventory.js +5 -3
- package/dist/models/InventoryData.d.ts +14 -0
- package/dist/models/InventoryData.js +6 -0
- package/dist/models/RightsizingClusterListResponse.d.ts +1 -1
- package/dist/models/RightsizingClusterListResponse.js +3 -3
- package/dist/models/RightsizingClusterResponse.d.ts +39 -0
- package/dist/models/RightsizingClusterResponse.js +55 -0
- package/dist/models/RightsizingClusterUtilization.d.ts +18 -12
- package/dist/models/RightsizingClusterUtilization.js +37 -33
- package/dist/models/RightsizingCollectRequest.d.ts +6 -6
- package/dist/models/RightsizingCollectRequest.js +12 -12
- package/dist/models/RightsizingMetricStats.d.ts +1 -1
- package/dist/models/RightsizingMetricStats.js +3 -3
- package/dist/models/RightsizingReport.d.ts +6 -6
- package/dist/models/RightsizingReport.js +18 -18
- package/dist/models/RightsizingReportSummary.d.ts +6 -6
- package/dist/models/RightsizingReportSummary.js +18 -18
- package/dist/models/StartInspectionRequest.d.ts +8 -1
- package/dist/models/StartInspectionRequest.js +5 -0
- package/dist/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/models/UpdateGroupRequest.js +0 -2
- package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/models/UpdateLabelVMsRequest.js +50 -0
- package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
- package/dist/models/VMFilterOptionsResponse.js +66 -0
- package/dist/models/VMLabelsResponse.d.ts +38 -0
- package/dist/models/VMLabelsResponse.js +54 -0
- package/dist/models/VMNIC.d.ts +12 -0
- package/dist/models/VMNIC.js +4 -0
- package/dist/models/VcenterCredentials.d.ts +12 -0
- package/dist/models/VcenterCredentials.js +4 -0
- package/dist/models/VirtualMachine.d.ts +30 -6
- package/dist/models/VirtualMachine.js +18 -10
- package/dist/models/VirtualMachineDetail.d.ts +19 -0
- package/dist/models/VirtualMachineDetail.js +7 -0
- package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/models/VirtualMachineUpdateRequest.js +50 -0
- package/dist/models/VmUtilizationDetails.d.ts +12 -12
- package/dist/models/VmUtilizationDetails.js +36 -36
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.js +2 -1
- package/docs/AgentStatus.md +2 -2
- package/docs/ApplicationListResponse.md +34 -0
- package/docs/ApplicationOverview.md +40 -0
- package/docs/ApplicationVM.md +36 -0
- package/docs/ClusterFeatures.md +38 -0
- package/docs/ClusterUtilization.md +46 -0
- package/docs/CollectorStartRequest.md +4 -0
- package/docs/CreateGroupRequest.md +0 -2
- package/docs/DefaultApi.md +699 -91
- package/docs/DeleteLabelGloballyResponse.md +36 -0
- package/docs/GetInventory200Response.md +4 -2
- package/docs/Group.md +0 -2
- package/docs/GroupResponse.md +2 -0
- package/docs/InspectorStatus.md +0 -4
- package/docs/Inventory.md +4 -2
- package/docs/InventoryData.md +4 -0
- package/docs/RightsizingClusterListResponse.md +2 -2
- package/docs/RightsizingClusterResponse.md +36 -0
- package/docs/RightsizingClusterUtilization.md +24 -22
- package/docs/RightsizingCollectRequest.md +12 -12
- package/docs/RightsizingMetricStats.md +2 -2
- package/docs/RightsizingReport.md +12 -12
- package/docs/RightsizingReportSummary.md +12 -12
- package/docs/StartInspectionRequest.md +3 -1
- package/docs/UpdateGroupRequest.md +0 -2
- package/docs/UpdateLabelVMsRequest.md +36 -0
- package/docs/VMFilterOptionsResponse.md +42 -0
- package/docs/VMLabelsResponse.md +36 -0
- package/docs/VMNIC.md +4 -0
- package/docs/VcenterCredentials.md +4 -0
- package/docs/VirtualMachine.md +18 -10
- package/docs/VirtualMachineDetail.md +6 -0
- package/docs/VirtualMachineUpdateRequest.md +36 -0
- package/docs/VmUtilizationDetails.md +24 -24
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +833 -128
- package/src/models/AgentStatus.ts +4 -4
- package/src/models/ApplicationListResponse.ts +74 -0
- package/src/models/ApplicationOverview.ts +101 -0
- package/src/models/ApplicationVM.ts +75 -0
- package/src/models/ClusterFeatures.ts +94 -0
- package/src/models/ClusterUtilization.ts +120 -0
- package/src/models/CollectorStartRequest.ts +16 -0
- package/src/models/CreateGroupRequest.ts +0 -8
- package/src/models/DeleteLabelGloballyResponse.ts +75 -0
- package/src/models/Group.ts +0 -8
- package/src/models/GroupResponse.ts +15 -0
- package/src/models/InspectorStatus.ts +1 -28
- package/src/models/Inventory.ts +12 -4
- package/src/models/InventoryData.ts +30 -0
- package/src/models/RightsizingClusterListResponse.ts +4 -4
- package/src/models/RightsizingClusterResponse.ts +83 -0
- package/src/models/RightsizingClusterUtilization.ts +54 -45
- package/src/models/RightsizingCollectRequest.ts +18 -18
- package/src/models/RightsizingMetricStats.ts +4 -4
- package/src/models/RightsizingReport.ts +24 -24
- package/src/models/RightsizingReportSummary.ts +24 -24
- package/src/models/StartInspectionRequest.ts +18 -1
- package/src/models/UpdateGroupRequest.ts +0 -8
- package/src/models/UpdateLabelVMsRequest.ts +73 -0
- package/src/models/VMFilterOptionsResponse.ts +102 -0
- package/src/models/VMLabelsResponse.ts +75 -0
- package/src/models/VMNIC.ts +16 -0
- package/src/models/VcenterCredentials.ts +16 -0
- package/src/models/VirtualMachine.ts +48 -16
- package/src/models/VirtualMachineDetail.ts +31 -0
- package/src/models/VirtualMachineUpdateRequest.ts +73 -0
- package/src/models/VmUtilizationDetails.ts +48 -48
- package/src/models/index.ts +11 -0
- package/src/runtime.ts +1 -1
|
@@ -12,11 +12,13 @@
|
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
13
|
import { type AgentModeRequest } from '../models/AgentModeRequest.js';
|
|
14
14
|
import { type AgentStatus } from '../models/AgentStatus.js';
|
|
15
|
+
import { type ApplicationListResponse } from '../models/ApplicationListResponse.js';
|
|
15
16
|
import { type BenchmarkRun } from '../models/BenchmarkRun.js';
|
|
16
17
|
import { type CollectorStartRequest } from '../models/CollectorStartRequest.js';
|
|
17
18
|
import { type CollectorStatus } from '../models/CollectorStatus.js';
|
|
18
19
|
import { type CreateGroupRequest } from '../models/CreateGroupRequest.js';
|
|
19
20
|
import { type DatastoreDetail } from '../models/DatastoreDetail.js';
|
|
21
|
+
import { type DeleteLabelGloballyResponse } from '../models/DeleteLabelGloballyResponse.js';
|
|
20
22
|
import { type ForecastStats } from '../models/ForecastStats.js';
|
|
21
23
|
import { type ForecasterDatastoresRequest } from '../models/ForecasterDatastoresRequest.js';
|
|
22
24
|
import { type ForecasterStartRequest } from '../models/ForecasterStartRequest.js';
|
|
@@ -29,6 +31,7 @@ import { type InspectorStatus } from '../models/InspectorStatus.js';
|
|
|
29
31
|
import { type PairCapability } from '../models/PairCapability.js';
|
|
30
32
|
import { type PairCapabilityRequest } from '../models/PairCapabilityRequest.js';
|
|
31
33
|
import { type RightsizingClusterListResponse } from '../models/RightsizingClusterListResponse.js';
|
|
34
|
+
import { type RightsizingClusterResponse } from '../models/RightsizingClusterResponse.js';
|
|
32
35
|
import { type RightsizingCollectRequest } from '../models/RightsizingCollectRequest.js';
|
|
33
36
|
import { type RightsizingReport } from '../models/RightsizingReport.js';
|
|
34
37
|
import { type RightsizingReportListResponse } from '../models/RightsizingReportListResponse.js';
|
|
@@ -36,11 +39,15 @@ import { type RightsizingReportSummary } from '../models/RightsizingReportSummar
|
|
|
36
39
|
import { type StartInspectionRequest } from '../models/StartInspectionRequest.js';
|
|
37
40
|
import { type StopForecasterPair202Response } from '../models/StopForecasterPair202Response.js';
|
|
38
41
|
import { type UpdateGroupRequest } from '../models/UpdateGroupRequest.js';
|
|
42
|
+
import { type UpdateLabelVMsRequest } from '../models/UpdateLabelVMsRequest.js';
|
|
43
|
+
import { type VMFilterOptionsResponse } from '../models/VMFilterOptionsResponse.js';
|
|
44
|
+
import { type VMLabelsResponse } from '../models/VMLabelsResponse.js';
|
|
39
45
|
import { type VcenterCredentials } from '../models/VcenterCredentials.js';
|
|
40
46
|
import { type VddkProperties } from '../models/VddkProperties.js';
|
|
41
47
|
import { type VersionInfo } from '../models/VersionInfo.js';
|
|
42
48
|
import { type VirtualMachineDetail } from '../models/VirtualMachineDetail.js';
|
|
43
49
|
import { type VirtualMachineListResponse } from '../models/VirtualMachineListResponse.js';
|
|
50
|
+
import { type VirtualMachineUpdateRequest } from '../models/VirtualMachineUpdateRequest.js';
|
|
44
51
|
import { type VmInspectionStatus } from '../models/VmInspectionStatus.js';
|
|
45
52
|
import { type VmUtilizationDetails } from '../models/VmUtilizationDetails.js';
|
|
46
53
|
export interface CreateGroupOperationRequest {
|
|
@@ -52,6 +59,12 @@ export interface DeleteForecasterRunRequest {
|
|
|
52
59
|
export interface DeleteGroupRequest {
|
|
53
60
|
id: string;
|
|
54
61
|
}
|
|
62
|
+
export interface DeleteLabelGloballyRequest {
|
|
63
|
+
label: string;
|
|
64
|
+
}
|
|
65
|
+
export interface GetClusterUtilizationRequest {
|
|
66
|
+
clusterId: string;
|
|
67
|
+
}
|
|
55
68
|
export interface GetForecasterDatastoresRequest {
|
|
56
69
|
forecasterDatastoresRequest?: ForecasterDatastoresRequest;
|
|
57
70
|
}
|
|
@@ -69,17 +82,24 @@ export interface GetGroupRequest {
|
|
|
69
82
|
}
|
|
70
83
|
export interface GetInspectorStatusRequest {
|
|
71
84
|
includeVddk?: boolean;
|
|
72
|
-
includeCredentials?: boolean;
|
|
73
85
|
}
|
|
74
86
|
export interface GetInventoryRequest {
|
|
75
87
|
withAgentId?: boolean;
|
|
76
88
|
groupId?: string;
|
|
77
89
|
}
|
|
90
|
+
export interface GetLatestRightsizingClustersRequest {
|
|
91
|
+
byExpression?: string;
|
|
92
|
+
}
|
|
78
93
|
export interface GetRightsizingReportRequest {
|
|
79
|
-
|
|
94
|
+
reportId: string;
|
|
95
|
+
}
|
|
96
|
+
export interface GetRightsizingReportClusterRequest {
|
|
97
|
+
reportId: string;
|
|
98
|
+
clusterId: string;
|
|
80
99
|
}
|
|
81
100
|
export interface GetRightsizingReportClustersRequest {
|
|
82
101
|
reportId: string;
|
|
102
|
+
byExpression?: string;
|
|
83
103
|
}
|
|
84
104
|
export interface GetVMRequest {
|
|
85
105
|
id: string;
|
|
@@ -98,15 +118,16 @@ export interface ListGroupsRequest {
|
|
|
98
118
|
page?: number;
|
|
99
119
|
pageSize?: number;
|
|
100
120
|
}
|
|
121
|
+
export interface ListRightsizingReportClustersRequest {
|
|
122
|
+
reportId: string;
|
|
123
|
+
byExpression?: string;
|
|
124
|
+
}
|
|
101
125
|
export interface PostForecasterPairCapabilitiesRequest {
|
|
102
126
|
pairCapabilityRequest: PairCapabilityRequest;
|
|
103
127
|
}
|
|
104
128
|
export interface PutForecasterCredentialsRequest {
|
|
105
129
|
vcenterCredentials: VcenterCredentials;
|
|
106
130
|
}
|
|
107
|
-
export interface PutInspectorCredentialsRequest {
|
|
108
|
-
vcenterCredentials: VcenterCredentials;
|
|
109
|
-
}
|
|
110
131
|
export interface PutInspectorVddkRequest {
|
|
111
132
|
file: Blob;
|
|
112
133
|
}
|
|
@@ -135,6 +156,17 @@ export interface UpdateGroupOperationRequest {
|
|
|
135
156
|
id: string;
|
|
136
157
|
updateGroupRequest: UpdateGroupRequest;
|
|
137
158
|
}
|
|
159
|
+
export interface UpdateLabelVMsOperationRequest {
|
|
160
|
+
label: string;
|
|
161
|
+
updateLabelVMsRequest: UpdateLabelVMsRequest;
|
|
162
|
+
}
|
|
163
|
+
export interface UpdateVMRequest {
|
|
164
|
+
id: string;
|
|
165
|
+
virtualMachineUpdateRequest: VirtualMachineUpdateRequest;
|
|
166
|
+
}
|
|
167
|
+
export interface ValidateInspectorCredentialsRequest {
|
|
168
|
+
vcenterCredentials: VcenterCredentials;
|
|
169
|
+
}
|
|
138
170
|
/**
|
|
139
171
|
* DefaultApi - interface
|
|
140
172
|
*
|
|
@@ -202,6 +234,26 @@ export interface DefaultApiInterface {
|
|
|
202
234
|
* Delete group
|
|
203
235
|
*/
|
|
204
236
|
deleteGroup(requestParameters: DeleteGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
237
|
+
/**
|
|
238
|
+
* Creates request options for deleteLabelGlobally without sending the request
|
|
239
|
+
* @param {string} label The label to remove from all VMs
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
* @memberof DefaultApiInterface
|
|
242
|
+
*/
|
|
243
|
+
deleteLabelGloballyRequestOpts(requestParameters: DeleteLabelGloballyRequest): Promise<runtime.RequestOpts>;
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @summary Delete label from all VMs
|
|
247
|
+
* @param {string} label The label to remove from all VMs
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
* @memberof DefaultApiInterface
|
|
251
|
+
*/
|
|
252
|
+
deleteLabelGloballyRaw(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteLabelGloballyResponse>>;
|
|
253
|
+
/**
|
|
254
|
+
* Delete label from all VMs
|
|
255
|
+
*/
|
|
256
|
+
deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
|
|
205
257
|
/**
|
|
206
258
|
* Creates request options for getAgentStatus without sending the request
|
|
207
259
|
* @throws {RequiredError}
|
|
@@ -220,6 +272,44 @@ export interface DefaultApiInterface {
|
|
|
220
272
|
* Get agent status
|
|
221
273
|
*/
|
|
222
274
|
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
275
|
+
/**
|
|
276
|
+
* Creates request options for getApplications without sending the request
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
* @memberof DefaultApiInterface
|
|
279
|
+
*/
|
|
280
|
+
getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @summary List detected applications running on VMs
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
* @memberof DefaultApiInterface
|
|
287
|
+
*/
|
|
288
|
+
getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
289
|
+
/**
|
|
290
|
+
* List detected applications running on VMs
|
|
291
|
+
*/
|
|
292
|
+
getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
293
|
+
/**
|
|
294
|
+
* Creates request options for getClusterUtilization without sending the request
|
|
295
|
+
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof DefaultApiInterface
|
|
298
|
+
*/
|
|
299
|
+
getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @summary Get latest cluster utilization by cluster ID
|
|
303
|
+
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
* @memberof DefaultApiInterface
|
|
307
|
+
*/
|
|
308
|
+
getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
309
|
+
/**
|
|
310
|
+
* Get latest cluster utilization by cluster ID
|
|
311
|
+
*/
|
|
312
|
+
getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
223
313
|
/**
|
|
224
314
|
* Creates request options for getCollectorStatus without sending the request
|
|
225
315
|
* @throws {RequiredError}
|
|
@@ -323,7 +413,7 @@ export interface DefaultApiInterface {
|
|
|
323
413
|
/**
|
|
324
414
|
* Creates request options for getGroup without sending the request
|
|
325
415
|
* @param {string} id Group ID
|
|
326
|
-
* @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.
|
|
416
|
+
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
327
417
|
* @param {number} [page] Page number for pagination
|
|
328
418
|
* @param {number} [pageSize] Number of items per page
|
|
329
419
|
* @throws {RequiredError}
|
|
@@ -334,7 +424,7 @@ export interface DefaultApiInterface {
|
|
|
334
424
|
*
|
|
335
425
|
* @summary Get group by ID with its VMs
|
|
336
426
|
* @param {string} id Group ID
|
|
337
|
-
* @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.
|
|
427
|
+
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
338
428
|
* @param {number} [page] Page number for pagination
|
|
339
429
|
* @param {number} [pageSize] Number of items per page
|
|
340
430
|
* @param {*} [options] Override http request option.
|
|
@@ -349,7 +439,6 @@ export interface DefaultApiInterface {
|
|
|
349
439
|
/**
|
|
350
440
|
* Creates request options for getInspectorStatus without sending the request
|
|
351
441
|
* @param {boolean} [includeVddk] If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
352
|
-
* @param {boolean} [includeCredentials] If true, include configured vCenter URL and username (password is never returned). omitted if was never set.
|
|
353
442
|
* @throws {RequiredError}
|
|
354
443
|
* @memberof DefaultApiInterface
|
|
355
444
|
*/
|
|
@@ -358,7 +447,6 @@ export interface DefaultApiInterface {
|
|
|
358
447
|
*
|
|
359
448
|
* @summary Get inspector status
|
|
360
449
|
* @param {boolean} [includeVddk] If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
361
|
-
* @param {boolean} [includeCredentials] If true, include configured vCenter URL and username (password is never returned). omitted if was never set.
|
|
362
450
|
* @param {*} [options] Override http request option.
|
|
363
451
|
* @throws {RequiredError}
|
|
364
452
|
* @memberof DefaultApiInterface
|
|
@@ -410,25 +498,30 @@ export interface DefaultApiInterface {
|
|
|
410
498
|
getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
|
|
411
499
|
/**
|
|
412
500
|
* Creates request options for getLatestRightsizingClusters without sending the request
|
|
501
|
+
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
502
|
+
* @deprecated
|
|
413
503
|
* @throws {RequiredError}
|
|
414
504
|
* @memberof DefaultApiInterface
|
|
415
505
|
*/
|
|
416
|
-
getLatestRightsizingClustersRequestOpts(): Promise<runtime.RequestOpts>;
|
|
506
|
+
getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts>;
|
|
417
507
|
/**
|
|
418
508
|
*
|
|
419
509
|
* @summary Get cluster-level utilization aggregates for the latest completed report
|
|
510
|
+
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
420
511
|
* @param {*} [options] Override http request option.
|
|
512
|
+
* @deprecated
|
|
421
513
|
* @throws {RequiredError}
|
|
422
514
|
* @memberof DefaultApiInterface
|
|
423
515
|
*/
|
|
424
|
-
getLatestRightsizingClustersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
516
|
+
getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
425
517
|
/**
|
|
426
518
|
* Get cluster-level utilization aggregates for the latest completed report
|
|
519
|
+
* @deprecated
|
|
427
520
|
*/
|
|
428
|
-
getLatestRightsizingClusters(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
521
|
+
getLatestRightsizingClusters(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
429
522
|
/**
|
|
430
523
|
* Creates request options for getRightsizingReport without sending the request
|
|
431
|
-
* @param {string}
|
|
524
|
+
* @param {string} reportId Report UUID
|
|
432
525
|
* @throws {RequiredError}
|
|
433
526
|
* @memberof DefaultApiInterface
|
|
434
527
|
*/
|
|
@@ -436,7 +529,7 @@ export interface DefaultApiInterface {
|
|
|
436
529
|
/**
|
|
437
530
|
*
|
|
438
531
|
* @summary Get a specific rightsizing report with full VM metrics
|
|
439
|
-
* @param {string}
|
|
532
|
+
* @param {string} reportId Report UUID
|
|
440
533
|
* @param {*} [options] Override http request option.
|
|
441
534
|
* @throws {RequiredError}
|
|
442
535
|
* @memberof DefaultApiInterface
|
|
@@ -446,9 +539,33 @@ export interface DefaultApiInterface {
|
|
|
446
539
|
* Get a specific rightsizing report with full VM metrics
|
|
447
540
|
*/
|
|
448
541
|
getRightsizingReport(requestParameters: GetRightsizingReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReport>;
|
|
542
|
+
/**
|
|
543
|
+
* Creates request options for getRightsizingReportCluster without sending the request
|
|
544
|
+
* @param {string} reportId Rightsizing report UUID
|
|
545
|
+
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
546
|
+
* @throws {RequiredError}
|
|
547
|
+
* @memberof DefaultApiInterface
|
|
548
|
+
*/
|
|
549
|
+
getRightsizingReportClusterRequestOpts(requestParameters: GetRightsizingReportClusterRequest): Promise<runtime.RequestOpts>;
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @summary Get utilization for a specific cluster from a specific report
|
|
553
|
+
* @param {string} reportId Rightsizing report UUID
|
|
554
|
+
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
* @memberof DefaultApiInterface
|
|
558
|
+
*/
|
|
559
|
+
getRightsizingReportClusterRaw(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
560
|
+
/**
|
|
561
|
+
* Get utilization for a specific cluster from a specific report
|
|
562
|
+
*/
|
|
563
|
+
getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
449
564
|
/**
|
|
450
565
|
* Creates request options for getRightsizingReportClusters without sending the request
|
|
451
566
|
* @param {string} reportId Rightsizing report UUID
|
|
567
|
+
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
568
|
+
* @deprecated
|
|
452
569
|
* @throws {RequiredError}
|
|
453
570
|
* @memberof DefaultApiInterface
|
|
454
571
|
*/
|
|
@@ -457,13 +574,16 @@ export interface DefaultApiInterface {
|
|
|
457
574
|
*
|
|
458
575
|
* @summary Get cluster-level utilization aggregates for a specific report
|
|
459
576
|
* @param {string} reportId Rightsizing report UUID
|
|
577
|
+
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
460
578
|
* @param {*} [options] Override http request option.
|
|
579
|
+
* @deprecated
|
|
461
580
|
* @throws {RequiredError}
|
|
462
581
|
* @memberof DefaultApiInterface
|
|
463
582
|
*/
|
|
464
583
|
getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
465
584
|
/**
|
|
466
585
|
* Get cluster-level utilization aggregates for a specific report
|
|
586
|
+
* @deprecated
|
|
467
587
|
*/
|
|
468
588
|
getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
469
589
|
/**
|
|
@@ -486,6 +606,24 @@ export interface DefaultApiInterface {
|
|
|
486
606
|
* Get details about a vm
|
|
487
607
|
*/
|
|
488
608
|
getVM(requestParameters: GetVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineDetail>;
|
|
609
|
+
/**
|
|
610
|
+
* Creates request options for getVMLabels without sending the request
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
* @memberof DefaultApiInterface
|
|
613
|
+
*/
|
|
614
|
+
getVMLabelsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @summary Get all distinct labels in use across VMs
|
|
618
|
+
* @param {*} [options] Override http request option.
|
|
619
|
+
* @throws {RequiredError}
|
|
620
|
+
* @memberof DefaultApiInterface
|
|
621
|
+
*/
|
|
622
|
+
getVMLabelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMLabelsResponse>>;
|
|
623
|
+
/**
|
|
624
|
+
* Get all distinct labels in use across VMs
|
|
625
|
+
*/
|
|
626
|
+
getVMLabels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMLabelsResponse>;
|
|
489
627
|
/**
|
|
490
628
|
* Creates request options for getVMUtilization without sending the request
|
|
491
629
|
* @param {string} id VirtualMachine MoRef ID
|
|
@@ -509,7 +647,7 @@ export interface DefaultApiInterface {
|
|
|
509
647
|
/**
|
|
510
648
|
* Creates request options for getVMs without sending the request
|
|
511
649
|
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
512
|
-
* @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.
|
|
650
|
+
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
513
651
|
* @param {number} [page] Page number for pagination
|
|
514
652
|
* @param {number} [pageSize] Number of items per page
|
|
515
653
|
* @throws {RequiredError}
|
|
@@ -520,7 +658,7 @@ export interface DefaultApiInterface {
|
|
|
520
658
|
*
|
|
521
659
|
* @summary Get list of VMs with filtering and pagination
|
|
522
660
|
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
523
|
-
* @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.
|
|
661
|
+
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
524
662
|
* @param {number} [page] Page number for pagination
|
|
525
663
|
* @param {number} [pageSize] Number of items per page
|
|
526
664
|
* @param {*} [options] Override http request option.
|
|
@@ -532,6 +670,24 @@ export interface DefaultApiInterface {
|
|
|
532
670
|
* Get list of VMs with filtering and pagination
|
|
533
671
|
*/
|
|
534
672
|
getVMs(requestParameters: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse>;
|
|
673
|
+
/**
|
|
674
|
+
* Creates request options for getVMsFilterOptions without sending the request
|
|
675
|
+
* @throws {RequiredError}
|
|
676
|
+
* @memberof DefaultApiInterface
|
|
677
|
+
*/
|
|
678
|
+
getVMsFilterOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @summary Get distinct filter option values for VMs
|
|
682
|
+
* @param {*} [options] Override http request option.
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
* @memberof DefaultApiInterface
|
|
685
|
+
*/
|
|
686
|
+
getVMsFilterOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMFilterOptionsResponse>>;
|
|
687
|
+
/**
|
|
688
|
+
* Get distinct filter option values for VMs
|
|
689
|
+
*/
|
|
690
|
+
getVMsFilterOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMFilterOptionsResponse>;
|
|
535
691
|
/**
|
|
536
692
|
* Creates request options for getVersion without sending the request
|
|
537
693
|
* @throws {RequiredError}
|
|
@@ -574,6 +730,28 @@ export interface DefaultApiInterface {
|
|
|
574
730
|
* List all groups
|
|
575
731
|
*/
|
|
576
732
|
listGroups(requestParameters: ListGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupListResponse>;
|
|
733
|
+
/**
|
|
734
|
+
* Creates request options for listRightsizingReportClusters without sending the request
|
|
735
|
+
* @param {string} reportId Rightsizing report UUID
|
|
736
|
+
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
* @memberof DefaultApiInterface
|
|
739
|
+
*/
|
|
740
|
+
listRightsizingReportClustersRequestOpts(requestParameters: ListRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
|
|
741
|
+
/**
|
|
742
|
+
*
|
|
743
|
+
* @summary Get cluster-level utilization aggregates for a specific report
|
|
744
|
+
* @param {string} reportId Rightsizing report UUID
|
|
745
|
+
* @param {string} [byExpression] Filter DSL expression (e.g. \"cluster_id = \'domain-c123\'\"). Omit to return all clusters.
|
|
746
|
+
* @param {*} [options] Override http request option.
|
|
747
|
+
* @throws {RequiredError}
|
|
748
|
+
* @memberof DefaultApiInterface
|
|
749
|
+
*/
|
|
750
|
+
listRightsizingReportClustersRaw(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
751
|
+
/**
|
|
752
|
+
* Get cluster-level utilization aggregates for a specific report
|
|
753
|
+
*/
|
|
754
|
+
listRightsizingReportClusters(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
577
755
|
/**
|
|
578
756
|
* Creates request options for listRightsizingReports without sending the request
|
|
579
757
|
* @throws {RequiredError}
|
|
@@ -634,26 +812,6 @@ export interface DefaultApiInterface {
|
|
|
634
812
|
* Verify vCenter credentials and permissions
|
|
635
813
|
*/
|
|
636
814
|
putForecasterCredentials(requestParameters: PutForecasterCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
637
|
-
/**
|
|
638
|
-
* Creates request options for putInspectorCredentials without sending the request
|
|
639
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
640
|
-
* @throws {RequiredError}
|
|
641
|
-
* @memberof DefaultApiInterface
|
|
642
|
-
*/
|
|
643
|
-
putInspectorCredentialsRequestOpts(requestParameters: PutInspectorCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
644
|
-
/**
|
|
645
|
-
*
|
|
646
|
-
* @summary Set or replace inspector credentials
|
|
647
|
-
* @param {VcenterCredentials} vcenterCredentials
|
|
648
|
-
* @param {*} [options] Override http request option.
|
|
649
|
-
* @throws {RequiredError}
|
|
650
|
-
* @memberof DefaultApiInterface
|
|
651
|
-
*/
|
|
652
|
-
putInspectorCredentialsRaw(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
653
|
-
/**
|
|
654
|
-
* Set or replace inspector credentials
|
|
655
|
-
*/
|
|
656
|
-
putInspectorCredentials(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
657
815
|
/**
|
|
658
816
|
* Creates request options for putInspectorVddk without sending the request
|
|
659
817
|
* @param {Blob} file VDDK tarball
|
|
@@ -893,6 +1051,70 @@ export interface DefaultApiInterface {
|
|
|
893
1051
|
* Update group
|
|
894
1052
|
*/
|
|
895
1053
|
updateGroup(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Creates request options for updateLabelVMs without sending the request
|
|
1056
|
+
* @param {string} label The label to modify
|
|
1057
|
+
* @param {UpdateLabelVMsRequest} updateLabelVMsRequest
|
|
1058
|
+
* @throws {RequiredError}
|
|
1059
|
+
* @memberof DefaultApiInterface
|
|
1060
|
+
*/
|
|
1061
|
+
updateLabelVMsRequestOpts(requestParameters: UpdateLabelVMsOperationRequest): Promise<runtime.RequestOpts>;
|
|
1062
|
+
/**
|
|
1063
|
+
*
|
|
1064
|
+
* @summary Modify label VM membership (add/remove label to/from VMs)
|
|
1065
|
+
* @param {string} label The label to modify
|
|
1066
|
+
* @param {UpdateLabelVMsRequest} updateLabelVMsRequest
|
|
1067
|
+
* @param {*} [options] Override http request option.
|
|
1068
|
+
* @throws {RequiredError}
|
|
1069
|
+
* @memberof DefaultApiInterface
|
|
1070
|
+
*/
|
|
1071
|
+
updateLabelVMsRaw(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1072
|
+
/**
|
|
1073
|
+
* Modify label VM membership (add/remove label to/from VMs)
|
|
1074
|
+
*/
|
|
1075
|
+
updateLabelVMs(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Creates request options for updateVM without sending the request
|
|
1078
|
+
* @param {string} id VirtualMachine id
|
|
1079
|
+
* @param {VirtualMachineUpdateRequest} virtualMachineUpdateRequest
|
|
1080
|
+
* @throws {RequiredError}
|
|
1081
|
+
* @memberof DefaultApiInterface
|
|
1082
|
+
*/
|
|
1083
|
+
updateVMRequestOpts(requestParameters: UpdateVMRequest): Promise<runtime.RequestOpts>;
|
|
1084
|
+
/**
|
|
1085
|
+
*
|
|
1086
|
+
* @summary Update VM properties
|
|
1087
|
+
* @param {string} id VirtualMachine id
|
|
1088
|
+
* @param {VirtualMachineUpdateRequest} virtualMachineUpdateRequest
|
|
1089
|
+
* @param {*} [options] Override http request option.
|
|
1090
|
+
* @throws {RequiredError}
|
|
1091
|
+
* @memberof DefaultApiInterface
|
|
1092
|
+
*/
|
|
1093
|
+
updateVMRaw(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Update VM properties
|
|
1096
|
+
*/
|
|
1097
|
+
updateVM(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Creates request options for validateInspectorCredentials without sending the request
|
|
1100
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
1101
|
+
* @throws {RequiredError}
|
|
1102
|
+
* @memberof DefaultApiInterface
|
|
1103
|
+
*/
|
|
1104
|
+
validateInspectorCredentialsRequestOpts(requestParameters: ValidateInspectorCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @summary Validate vCenter credentials for inspector
|
|
1108
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
1109
|
+
* @param {*} [options] Override http request option.
|
|
1110
|
+
* @throws {RequiredError}
|
|
1111
|
+
* @memberof DefaultApiInterface
|
|
1112
|
+
*/
|
|
1113
|
+
validateInspectorCredentialsRaw(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1114
|
+
/**
|
|
1115
|
+
* Validate vCenter credentials for inspector
|
|
1116
|
+
*/
|
|
1117
|
+
validateInspectorCredentials(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
896
1118
|
}
|
|
897
1119
|
/**
|
|
898
1120
|
*
|
|
@@ -934,6 +1156,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
934
1156
|
* Delete group
|
|
935
1157
|
*/
|
|
936
1158
|
deleteGroup(requestParameters: DeleteGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Creates request options for deleteLabelGlobally without sending the request
|
|
1161
|
+
*/
|
|
1162
|
+
deleteLabelGloballyRequestOpts(requestParameters: DeleteLabelGloballyRequest): Promise<runtime.RequestOpts>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Delete label from all VMs
|
|
1165
|
+
*/
|
|
1166
|
+
deleteLabelGloballyRaw(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteLabelGloballyResponse>>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Delete label from all VMs
|
|
1169
|
+
*/
|
|
1170
|
+
deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
|
|
937
1171
|
/**
|
|
938
1172
|
* Creates request options for getAgentStatus without sending the request
|
|
939
1173
|
*/
|
|
@@ -946,6 +1180,30 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
946
1180
|
* Get agent status
|
|
947
1181
|
*/
|
|
948
1182
|
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
1183
|
+
/**
|
|
1184
|
+
* Creates request options for getApplications without sending the request
|
|
1185
|
+
*/
|
|
1186
|
+
getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1187
|
+
/**
|
|
1188
|
+
* List detected applications running on VMs
|
|
1189
|
+
*/
|
|
1190
|
+
getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
1191
|
+
/**
|
|
1192
|
+
* List detected applications running on VMs
|
|
1193
|
+
*/
|
|
1194
|
+
getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Creates request options for getClusterUtilization without sending the request
|
|
1197
|
+
*/
|
|
1198
|
+
getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Get latest cluster utilization by cluster ID
|
|
1201
|
+
*/
|
|
1202
|
+
getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Get latest cluster utilization by cluster ID
|
|
1205
|
+
*/
|
|
1206
|
+
getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
949
1207
|
/**
|
|
950
1208
|
* Creates request options for getCollectorStatus without sending the request
|
|
951
1209
|
*/
|
|
@@ -1064,16 +1322,19 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1064
1322
|
getInventory(requestParameters?: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
|
|
1065
1323
|
/**
|
|
1066
1324
|
* Creates request options for getLatestRightsizingClusters without sending the request
|
|
1325
|
+
* @deprecated
|
|
1067
1326
|
*/
|
|
1068
|
-
getLatestRightsizingClustersRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1327
|
+
getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts>;
|
|
1069
1328
|
/**
|
|
1070
1329
|
* Get cluster-level utilization aggregates for the latest completed report
|
|
1330
|
+
* @deprecated
|
|
1071
1331
|
*/
|
|
1072
|
-
getLatestRightsizingClustersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
1332
|
+
getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
1073
1333
|
/**
|
|
1074
1334
|
* Get cluster-level utilization aggregates for the latest completed report
|
|
1335
|
+
* @deprecated
|
|
1075
1336
|
*/
|
|
1076
|
-
getLatestRightsizingClusters(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
1337
|
+
getLatestRightsizingClusters(requestParameters?: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
1077
1338
|
/**
|
|
1078
1339
|
* Creates request options for getRightsizingReport without sending the request
|
|
1079
1340
|
*/
|
|
@@ -1086,16 +1347,31 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1086
1347
|
* Get a specific rightsizing report with full VM metrics
|
|
1087
1348
|
*/
|
|
1088
1349
|
getRightsizingReport(requestParameters: GetRightsizingReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingReport>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Creates request options for getRightsizingReportCluster without sending the request
|
|
1352
|
+
*/
|
|
1353
|
+
getRightsizingReportClusterRequestOpts(requestParameters: GetRightsizingReportClusterRequest): Promise<runtime.RequestOpts>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Get utilization for a specific cluster from a specific report
|
|
1356
|
+
*/
|
|
1357
|
+
getRightsizingReportClusterRaw(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Get utilization for a specific cluster from a specific report
|
|
1360
|
+
*/
|
|
1361
|
+
getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
1089
1362
|
/**
|
|
1090
1363
|
* Creates request options for getRightsizingReportClusters without sending the request
|
|
1364
|
+
* @deprecated
|
|
1091
1365
|
*/
|
|
1092
1366
|
getRightsizingReportClustersRequestOpts(requestParameters: GetRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
|
|
1093
1367
|
/**
|
|
1094
1368
|
* Get cluster-level utilization aggregates for a specific report
|
|
1369
|
+
* @deprecated
|
|
1095
1370
|
*/
|
|
1096
1371
|
getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
1097
1372
|
/**
|
|
1098
1373
|
* Get cluster-level utilization aggregates for a specific report
|
|
1374
|
+
* @deprecated
|
|
1099
1375
|
*/
|
|
1100
1376
|
getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
1101
1377
|
/**
|
|
@@ -1110,6 +1386,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1110
1386
|
* Get details about a vm
|
|
1111
1387
|
*/
|
|
1112
1388
|
getVM(requestParameters: GetVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineDetail>;
|
|
1389
|
+
/**
|
|
1390
|
+
* Creates request options for getVMLabels without sending the request
|
|
1391
|
+
*/
|
|
1392
|
+
getVMLabelsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Get all distinct labels in use across VMs
|
|
1395
|
+
*/
|
|
1396
|
+
getVMLabelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMLabelsResponse>>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Get all distinct labels in use across VMs
|
|
1399
|
+
*/
|
|
1400
|
+
getVMLabels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMLabelsResponse>;
|
|
1113
1401
|
/**
|
|
1114
1402
|
* Creates request options for getVMUtilization without sending the request
|
|
1115
1403
|
*/
|
|
@@ -1134,6 +1422,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1134
1422
|
* Get list of VMs with filtering and pagination
|
|
1135
1423
|
*/
|
|
1136
1424
|
getVMs(requestParameters?: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Creates request options for getVMsFilterOptions without sending the request
|
|
1427
|
+
*/
|
|
1428
|
+
getVMsFilterOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Get distinct filter option values for VMs
|
|
1431
|
+
*/
|
|
1432
|
+
getVMsFilterOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMFilterOptionsResponse>>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Get distinct filter option values for VMs
|
|
1435
|
+
*/
|
|
1436
|
+
getVMsFilterOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMFilterOptionsResponse>;
|
|
1137
1437
|
/**
|
|
1138
1438
|
* Creates request options for getVersion without sending the request
|
|
1139
1439
|
*/
|
|
@@ -1158,6 +1458,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1158
1458
|
* List all groups
|
|
1159
1459
|
*/
|
|
1160
1460
|
listGroups(requestParameters?: ListGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupListResponse>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Creates request options for listRightsizingReportClusters without sending the request
|
|
1463
|
+
*/
|
|
1464
|
+
listRightsizingReportClustersRequestOpts(requestParameters: ListRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Get cluster-level utilization aggregates for a specific report
|
|
1467
|
+
*/
|
|
1468
|
+
listRightsizingReportClustersRaw(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Get cluster-level utilization aggregates for a specific report
|
|
1471
|
+
*/
|
|
1472
|
+
listRightsizingReportClusters(requestParameters: ListRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
|
|
1161
1473
|
/**
|
|
1162
1474
|
* Creates request options for listRightsizingReports without sending the request
|
|
1163
1475
|
*/
|
|
@@ -1198,18 +1510,6 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1198
1510
|
* Verify vCenter credentials and permissions
|
|
1199
1511
|
*/
|
|
1200
1512
|
putForecasterCredentials(requestParameters: PutForecasterCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1201
|
-
/**
|
|
1202
|
-
* Creates request options for putInspectorCredentials without sending the request
|
|
1203
|
-
*/
|
|
1204
|
-
putInspectorCredentialsRequestOpts(requestParameters: PutInspectorCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1205
|
-
/**
|
|
1206
|
-
* Set or replace inspector credentials
|
|
1207
|
-
*/
|
|
1208
|
-
putInspectorCredentialsRaw(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1209
|
-
/**
|
|
1210
|
-
* Set or replace inspector credentials
|
|
1211
|
-
*/
|
|
1212
|
-
putInspectorCredentials(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1213
1513
|
/**
|
|
1214
1514
|
* Creates request options for putInspectorVddk without sending the request
|
|
1215
1515
|
*/
|
|
@@ -1360,4 +1660,40 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1360
1660
|
* Update group
|
|
1361
1661
|
*/
|
|
1362
1662
|
updateGroup(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
1663
|
+
/**
|
|
1664
|
+
* Creates request options for updateLabelVMs without sending the request
|
|
1665
|
+
*/
|
|
1666
|
+
updateLabelVMsRequestOpts(requestParameters: UpdateLabelVMsOperationRequest): Promise<runtime.RequestOpts>;
|
|
1667
|
+
/**
|
|
1668
|
+
* Modify label VM membership (add/remove label to/from VMs)
|
|
1669
|
+
*/
|
|
1670
|
+
updateLabelVMsRaw(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1671
|
+
/**
|
|
1672
|
+
* Modify label VM membership (add/remove label to/from VMs)
|
|
1673
|
+
*/
|
|
1674
|
+
updateLabelVMs(requestParameters: UpdateLabelVMsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1675
|
+
/**
|
|
1676
|
+
* Creates request options for updateVM without sending the request
|
|
1677
|
+
*/
|
|
1678
|
+
updateVMRequestOpts(requestParameters: UpdateVMRequest): Promise<runtime.RequestOpts>;
|
|
1679
|
+
/**
|
|
1680
|
+
* Update VM properties
|
|
1681
|
+
*/
|
|
1682
|
+
updateVMRaw(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Update VM properties
|
|
1685
|
+
*/
|
|
1686
|
+
updateVM(requestParameters: UpdateVMRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1687
|
+
/**
|
|
1688
|
+
* Creates request options for validateInspectorCredentials without sending the request
|
|
1689
|
+
*/
|
|
1690
|
+
validateInspectorCredentialsRequestOpts(requestParameters: ValidateInspectorCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1691
|
+
/**
|
|
1692
|
+
* Validate vCenter credentials for inspector
|
|
1693
|
+
*/
|
|
1694
|
+
validateInspectorCredentialsRaw(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1695
|
+
/**
|
|
1696
|
+
* Validate vCenter credentials for inspector
|
|
1697
|
+
*/
|
|
1698
|
+
validateInspectorCredentials(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1363
1699
|
}
|