@openshift-migration-advisor/agent-sdk 0.12.0-645d2fae3eee → 0.12.0-73dd4924f11b
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 +12 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +15 -3
- package/dist/apis/DefaultApi.d.ts +206 -4
- package/dist/apis/DefaultApi.js +227 -0
- package/dist/esm/apis/DefaultApi.d.ts +206 -4
- package/dist/esm/apis/DefaultApi.js +227 -0
- 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/ClusterUtilization.d.ts +68 -0
- package/dist/esm/models/ClusterUtilization.js +67 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
- package/dist/esm/models/CollectorStartRequest.js +4 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
- package/dist/esm/models/CreateGroupRequest.js +0 -2
- package/dist/esm/models/CredentialStatus.d.ts +38 -0
- package/dist/esm/models/CredentialStatus.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/InventoryData.d.ts +7 -0
- package/dist/esm/models/InventoryData.js +3 -0
- package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/esm/models/UpdateGroupRequest.js +0 -2
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +59 -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 +14 -2
- package/dist/esm/models/VirtualMachine.js +6 -2
- package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
- package/dist/esm/models/VmInspectionStatus.js +4 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/runtime.js +2 -1
- 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/ClusterUtilization.d.ts +68 -0
- package/dist/models/ClusterUtilization.js +74 -0
- package/dist/models/CollectorStartRequest.d.ts +12 -0
- package/dist/models/CollectorStartRequest.js +4 -0
- package/dist/models/CreateGroupRequest.d.ts +0 -6
- package/dist/models/CreateGroupRequest.js +0 -2
- package/dist/models/CredentialStatus.d.ts +38 -0
- package/dist/models/CredentialStatus.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/InventoryData.d.ts +7 -0
- package/dist/models/InventoryData.js +3 -0
- package/dist/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/models/UpdateGroupRequest.js +0 -2
- package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
- package/dist/models/VMFilterOptionsResponse.js +66 -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 +14 -2
- package/dist/models/VirtualMachine.js +6 -2
- package/dist/models/VmInspectionStatus.d.ts +6 -0
- package/dist/models/VmInspectionStatus.js +4 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/runtime.js +2 -1
- package/docs/ApplicationListResponse.md +34 -0
- package/docs/ApplicationOverview.md +40 -0
- package/docs/ApplicationVM.md +36 -0
- package/docs/ClusterUtilization.md +46 -0
- package/docs/CollectorStartRequest.md +4 -0
- package/docs/CreateGroupRequest.md +0 -2
- package/docs/CredentialStatus.md +36 -0
- package/docs/DefaultApi.md +385 -4
- package/docs/Group.md +0 -2
- package/docs/GroupResponse.md +2 -0
- package/docs/InventoryData.md +2 -0
- package/docs/UpdateGroupRequest.md +0 -2
- package/docs/VMFilterOptionsResponse.md +42 -0
- package/docs/VMNIC.md +4 -0
- package/docs/VcenterCredentials.md +4 -0
- package/docs/VirtualMachine.md +6 -2
- package/docs/VmInspectionStatus.md +2 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +405 -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/ClusterUtilization.ts +120 -0
- package/src/models/CollectorStartRequest.ts +16 -0
- package/src/models/CreateGroupRequest.ts +0 -8
- package/src/models/CredentialStatus.ts +75 -0
- package/src/models/Group.ts +0 -8
- package/src/models/GroupResponse.ts +15 -0
- package/src/models/InventoryData.ts +15 -0
- package/src/models/UpdateGroupRequest.ts +0 -8
- package/src/models/VMFilterOptionsResponse.ts +102 -0
- package/src/models/VMNIC.ts +16 -0
- package/src/models/VcenterCredentials.ts +16 -0
- package/src/models/VirtualMachine.ts +20 -4
- package/src/models/VmInspectionStatus.ts +9 -0
- package/src/models/index.ts +6 -0
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -4,11 +4,16 @@
|
|
|
4
4
|
README.md
|
|
5
5
|
docs/AgentModeRequest.md
|
|
6
6
|
docs/AgentStatus.md
|
|
7
|
+
docs/ApplicationListResponse.md
|
|
8
|
+
docs/ApplicationOverview.md
|
|
9
|
+
docs/ApplicationVM.md
|
|
7
10
|
docs/BenchmarkRun.md
|
|
8
11
|
docs/ClusterFeatures.md
|
|
12
|
+
docs/ClusterUtilization.md
|
|
9
13
|
docs/CollectorStartRequest.md
|
|
10
14
|
docs/CollectorStatus.md
|
|
11
15
|
docs/CreateGroupRequest.md
|
|
16
|
+
docs/CredentialStatus.md
|
|
12
17
|
docs/Datastore.md
|
|
13
18
|
docs/DatastoreDetail.md
|
|
14
19
|
docs/DatastorePair.md
|
|
@@ -56,6 +61,7 @@ docs/UpdateLabelVMsRequest.md
|
|
|
56
61
|
docs/VCenter.md
|
|
57
62
|
docs/VMDevice.md
|
|
58
63
|
docs/VMDisk.md
|
|
64
|
+
docs/VMFilterOptionsResponse.md
|
|
59
65
|
docs/VMIssue.md
|
|
60
66
|
docs/VMLabelsResponse.md
|
|
61
67
|
docs/VMNIC.md
|
|
@@ -78,11 +84,16 @@ src/apis/index.ts
|
|
|
78
84
|
src/index.ts
|
|
79
85
|
src/models/AgentModeRequest.ts
|
|
80
86
|
src/models/AgentStatus.ts
|
|
87
|
+
src/models/ApplicationListResponse.ts
|
|
88
|
+
src/models/ApplicationOverview.ts
|
|
89
|
+
src/models/ApplicationVM.ts
|
|
81
90
|
src/models/BenchmarkRun.ts
|
|
82
91
|
src/models/ClusterFeatures.ts
|
|
92
|
+
src/models/ClusterUtilization.ts
|
|
83
93
|
src/models/CollectorStartRequest.ts
|
|
84
94
|
src/models/CollectorStatus.ts
|
|
85
95
|
src/models/CreateGroupRequest.ts
|
|
96
|
+
src/models/CredentialStatus.ts
|
|
86
97
|
src/models/Datastore.ts
|
|
87
98
|
src/models/DatastoreDetail.ts
|
|
88
99
|
src/models/DatastorePair.ts
|
|
@@ -129,6 +140,7 @@ src/models/UpdateLabelVMsRequest.ts
|
|
|
129
140
|
src/models/VCenter.ts
|
|
130
141
|
src/models/VMDevice.ts
|
|
131
142
|
src/models/VMDisk.ts
|
|
143
|
+
src/models/VMFilterOptionsResponse.ts
|
|
132
144
|
src/models/VMIssue.ts
|
|
133
145
|
src/models/VMLabelsResponse.ts
|
|
134
146
|
src/models/VMNIC.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.24.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.12.0-
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.12.0-73dd4924f11b
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -51,11 +51,15 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
51
51
|
| Class | Method | HTTP request | Description
|
|
52
52
|
| ----- | ------ | ------------ | -------------
|
|
53
53
|
*DefaultApi* | [**createGroup**](docs/DefaultApi.md#creategroupoperation) | **POST** /groups | Create a new group
|
|
54
|
+
*DefaultApi* | [**deleteCredentials**](docs/DefaultApi.md#deletecredentials) | **DELETE** /credentials | Delete stored credentials
|
|
54
55
|
*DefaultApi* | [**deleteForecasterRun**](docs/DefaultApi.md#deleteforecasterrun) | **DELETE** /forecaster/runs/{id} | Delete a benchmark run
|
|
55
56
|
*DefaultApi* | [**deleteGroup**](docs/DefaultApi.md#deletegroup) | **DELETE** /groups/{id} | Delete group
|
|
56
57
|
*DefaultApi* | [**deleteLabelGlobally**](docs/DefaultApi.md#deletelabelglobally) | **DELETE** /vms/labels/{label} | Delete label from all VMs
|
|
57
58
|
*DefaultApi* | [**getAgentStatus**](docs/DefaultApi.md#getagentstatus) | **GET** /agent | Get agent status
|
|
59
|
+
*DefaultApi* | [**getApplications**](docs/DefaultApi.md#getapplications) | **GET** /applications | List detected applications running on VMs
|
|
60
|
+
*DefaultApi* | [**getClusterUtilization**](docs/DefaultApi.md#getclusterutilization) | **GET** /clusters/{cluster_id}/utilization | Get latest cluster utilization by cluster ID
|
|
58
61
|
*DefaultApi* | [**getCollectorStatus**](docs/DefaultApi.md#getcollectorstatus) | **GET** /collector | Get collector status
|
|
62
|
+
*DefaultApi* | [**getCredentials**](docs/DefaultApi.md#getcredentials) | **GET** /credentials | Get stored credential status
|
|
59
63
|
*DefaultApi* | [**getForecasterDatastores**](docs/DefaultApi.md#getforecasterdatastores) | **POST** /forecaster/datastores | List available datastores
|
|
60
64
|
*DefaultApi* | [**getForecasterRuns**](docs/DefaultApi.md#getforecasterruns) | **GET** /forecaster/runs | List benchmark runs
|
|
61
65
|
*DefaultApi* | [**getForecasterStats**](docs/DefaultApi.md#getforecasterstats) | **GET** /forecaster/stats | Get throughput statistics
|
|
@@ -72,11 +76,13 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
72
76
|
*DefaultApi* | [**getVMLabels**](docs/DefaultApi.md#getvmlabels) | **GET** /vms/labels | Get all distinct labels in use across VMs
|
|
73
77
|
*DefaultApi* | [**getVMUtilization**](docs/DefaultApi.md#getvmutilization) | **GET** /vms/{id}/utilization | Get utilization breakdown for a specific VM
|
|
74
78
|
*DefaultApi* | [**getVMs**](docs/DefaultApi.md#getvms) | **GET** /vms | Get list of VMs with filtering and pagination
|
|
79
|
+
*DefaultApi* | [**getVMsFilterOptions**](docs/DefaultApi.md#getvmsfilteroptions) | **GET** /vms/filter-options | Get distinct filter option values for VMs
|
|
75
80
|
*DefaultApi* | [**getVersion**](docs/DefaultApi.md#getversion) | **GET** /version | Get agent version information
|
|
76
81
|
*DefaultApi* | [**listGroups**](docs/DefaultApi.md#listgroups) | **GET** /groups | List all groups
|
|
77
82
|
*DefaultApi* | [**listRightsizingReportClusters**](docs/DefaultApi.md#listrightsizingreportclusters) | **GET** /rightsizing/{report_id}/clusters | Get cluster-level utilization aggregates for a specific report
|
|
78
83
|
*DefaultApi* | [**listRightsizingReports**](docs/DefaultApi.md#listrightsizingreports) | **GET** /rightsizing | List all rightsizing reports
|
|
79
84
|
*DefaultApi* | [**postForecasterPairCapabilities**](docs/DefaultApi.md#postforecasterpaircapabilities) | **POST** /forecaster/capabilities | Compute pair capabilities
|
|
85
|
+
*DefaultApi* | [**putCredentials**](docs/DefaultApi.md#putcredentials) | **PUT** /credentials | Store vCenter credentials
|
|
80
86
|
*DefaultApi* | [**putForecasterCredentials**](docs/DefaultApi.md#putforecastercredentials) | **PUT** /forecaster/credentials | Verify vCenter credentials and permissions
|
|
81
87
|
*DefaultApi* | [**putInspectorVddk**](docs/DefaultApi.md#putinspectorvddk) | **PUT** /inspector/vddk | Upload VDDK tarball
|
|
82
88
|
*DefaultApi* | [**removeVMFromInspection**](docs/DefaultApi.md#removevmfrominspection) | **DELETE** /vms/{id}/inspection | Remove VirtualMachine from inspection queue
|
|
@@ -99,11 +105,16 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
99
105
|
|
|
100
106
|
- [AgentModeRequest](docs/AgentModeRequest.md)
|
|
101
107
|
- [AgentStatus](docs/AgentStatus.md)
|
|
108
|
+
- [ApplicationListResponse](docs/ApplicationListResponse.md)
|
|
109
|
+
- [ApplicationOverview](docs/ApplicationOverview.md)
|
|
110
|
+
- [ApplicationVM](docs/ApplicationVM.md)
|
|
102
111
|
- [BenchmarkRun](docs/BenchmarkRun.md)
|
|
103
112
|
- [ClusterFeatures](docs/ClusterFeatures.md)
|
|
113
|
+
- [ClusterUtilization](docs/ClusterUtilization.md)
|
|
104
114
|
- [CollectorStartRequest](docs/CollectorStartRequest.md)
|
|
105
115
|
- [CollectorStatus](docs/CollectorStatus.md)
|
|
106
116
|
- [CreateGroupRequest](docs/CreateGroupRequest.md)
|
|
117
|
+
- [CredentialStatus](docs/CredentialStatus.md)
|
|
107
118
|
- [Datastore](docs/Datastore.md)
|
|
108
119
|
- [DatastoreDetail](docs/DatastoreDetail.md)
|
|
109
120
|
- [DatastorePair](docs/DatastorePair.md)
|
|
@@ -150,6 +161,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
150
161
|
- [VCenter](docs/VCenter.md)
|
|
151
162
|
- [VMDevice](docs/VMDevice.md)
|
|
152
163
|
- [VMDisk](docs/VMDisk.md)
|
|
164
|
+
- [VMFilterOptionsResponse](docs/VMFilterOptionsResponse.md)
|
|
153
165
|
- [VMIssue](docs/VMIssue.md)
|
|
154
166
|
- [VMLabelsResponse](docs/VMLabelsResponse.md)
|
|
155
167
|
- [VMNIC](docs/VMNIC.md)
|
|
@@ -179,8 +191,8 @@ and is automatically generated by the
|
|
|
179
191
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
180
192
|
|
|
181
193
|
- API version: `v1`
|
|
182
|
-
- Package version: `0.12.0-
|
|
183
|
-
- Generator version: `7.
|
|
194
|
+
- Package version: `0.12.0-73dd4924f11b`
|
|
195
|
+
- Generator version: `7.24.0-SNAPSHOT`
|
|
184
196
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
185
197
|
|
|
186
198
|
The generated npm module supports the following:
|
|
@@ -12,10 +12,12 @@
|
|
|
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';
|
|
20
|
+
import { type CredentialStatus } from '../models/CredentialStatus.js';
|
|
19
21
|
import { type DatastoreDetail } from '../models/DatastoreDetail.js';
|
|
20
22
|
import { type DeleteLabelGloballyResponse } from '../models/DeleteLabelGloballyResponse.js';
|
|
21
23
|
import { type ForecastStats } from '../models/ForecastStats.js';
|
|
@@ -39,6 +41,7 @@ import { type StartInspectionRequest } from '../models/StartInspectionRequest.js
|
|
|
39
41
|
import { type StopForecasterPair202Response } from '../models/StopForecasterPair202Response.js';
|
|
40
42
|
import { type UpdateGroupRequest } from '../models/UpdateGroupRequest.js';
|
|
41
43
|
import { type UpdateLabelVMsRequest } from '../models/UpdateLabelVMsRequest.js';
|
|
44
|
+
import { type VMFilterOptionsResponse } from '../models/VMFilterOptionsResponse.js';
|
|
42
45
|
import { type VMLabelsResponse } from '../models/VMLabelsResponse.js';
|
|
43
46
|
import { type VcenterCredentials } from '../models/VcenterCredentials.js';
|
|
44
47
|
import { type VddkProperties } from '../models/VddkProperties.js';
|
|
@@ -60,6 +63,9 @@ export interface DeleteGroupRequest {
|
|
|
60
63
|
export interface DeleteLabelGloballyRequest {
|
|
61
64
|
label: string;
|
|
62
65
|
}
|
|
66
|
+
export interface GetClusterUtilizationRequest {
|
|
67
|
+
clusterId: string;
|
|
68
|
+
}
|
|
63
69
|
export interface GetForecasterDatastoresRequest {
|
|
64
70
|
forecasterDatastoresRequest?: ForecasterDatastoresRequest;
|
|
65
71
|
}
|
|
@@ -120,6 +126,9 @@ export interface ListRightsizingReportClustersRequest {
|
|
|
120
126
|
export interface PostForecasterPairCapabilitiesRequest {
|
|
121
127
|
pairCapabilityRequest: PairCapabilityRequest;
|
|
122
128
|
}
|
|
129
|
+
export interface PutCredentialsRequest {
|
|
130
|
+
vcenterCredentials: VcenterCredentials;
|
|
131
|
+
}
|
|
123
132
|
export interface PutForecasterCredentialsRequest {
|
|
124
133
|
vcenterCredentials: VcenterCredentials;
|
|
125
134
|
}
|
|
@@ -189,6 +198,25 @@ export interface DefaultApiInterface {
|
|
|
189
198
|
* Create a new group
|
|
190
199
|
*/
|
|
191
200
|
createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
201
|
+
/**
|
|
202
|
+
* Creates request options for deleteCredentials without sending the request
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
* @memberof DefaultApiInterface
|
|
205
|
+
*/
|
|
206
|
+
deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
207
|
+
/**
|
|
208
|
+
* Removes all stored vCenter credentials from the database.
|
|
209
|
+
* @summary Delete stored credentials
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
* @memberof DefaultApiInterface
|
|
213
|
+
*/
|
|
214
|
+
deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
215
|
+
/**
|
|
216
|
+
* Removes all stored vCenter credentials from the database.
|
|
217
|
+
* Delete stored credentials
|
|
218
|
+
*/
|
|
219
|
+
deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
192
220
|
/**
|
|
193
221
|
* Creates request options for deleteForecasterRun without sending the request
|
|
194
222
|
* @param {number} id Run ID
|
|
@@ -267,6 +295,44 @@ export interface DefaultApiInterface {
|
|
|
267
295
|
* Get agent status
|
|
268
296
|
*/
|
|
269
297
|
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
298
|
+
/**
|
|
299
|
+
* Creates request options for getApplications without sending the request
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
* @memberof DefaultApiInterface
|
|
302
|
+
*/
|
|
303
|
+
getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
304
|
+
/**
|
|
305
|
+
*
|
|
306
|
+
* @summary List detected applications running on VMs
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
* @memberof DefaultApiInterface
|
|
310
|
+
*/
|
|
311
|
+
getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
312
|
+
/**
|
|
313
|
+
* List detected applications running on VMs
|
|
314
|
+
*/
|
|
315
|
+
getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
316
|
+
/**
|
|
317
|
+
* Creates request options for getClusterUtilization without sending the request
|
|
318
|
+
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
* @memberof DefaultApiInterface
|
|
321
|
+
*/
|
|
322
|
+
getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @summary Get latest cluster utilization by cluster ID
|
|
326
|
+
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
* @memberof DefaultApiInterface
|
|
330
|
+
*/
|
|
331
|
+
getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
332
|
+
/**
|
|
333
|
+
* Get latest cluster utilization by cluster ID
|
|
334
|
+
*/
|
|
335
|
+
getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
270
336
|
/**
|
|
271
337
|
* Creates request options for getCollectorStatus without sending the request
|
|
272
338
|
* @throws {RequiredError}
|
|
@@ -285,6 +351,25 @@ export interface DefaultApiInterface {
|
|
|
285
351
|
* Get collector status
|
|
286
352
|
*/
|
|
287
353
|
getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
354
|
+
/**
|
|
355
|
+
* Creates request options for getCredentials without sending the request
|
|
356
|
+
* @throws {RequiredError}
|
|
357
|
+
* @memberof DefaultApiInterface
|
|
358
|
+
*/
|
|
359
|
+
getCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
360
|
+
/**
|
|
361
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
362
|
+
* @summary Get stored credential status
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
* @memberof DefaultApiInterface
|
|
366
|
+
*/
|
|
367
|
+
getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
368
|
+
/**
|
|
369
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
370
|
+
* Get stored credential status
|
|
371
|
+
*/
|
|
372
|
+
getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
288
373
|
/**
|
|
289
374
|
* Creates request options for getForecasterDatastores without sending the request
|
|
290
375
|
* @param {ForecasterDatastoresRequest} [forecasterDatastoresRequest]
|
|
@@ -370,7 +455,7 @@ export interface DefaultApiInterface {
|
|
|
370
455
|
/**
|
|
371
456
|
* Creates request options for getGroup without sending the request
|
|
372
457
|
* @param {string} id Group ID
|
|
373
|
-
* @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.
|
|
458
|
+
* @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.
|
|
374
459
|
* @param {number} [page] Page number for pagination
|
|
375
460
|
* @param {number} [pageSize] Number of items per page
|
|
376
461
|
* @throws {RequiredError}
|
|
@@ -381,7 +466,7 @@ export interface DefaultApiInterface {
|
|
|
381
466
|
*
|
|
382
467
|
* @summary Get group by ID with its VMs
|
|
383
468
|
* @param {string} id Group ID
|
|
384
|
-
* @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.
|
|
469
|
+
* @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.
|
|
385
470
|
* @param {number} [page] Page number for pagination
|
|
386
471
|
* @param {number} [pageSize] Number of items per page
|
|
387
472
|
* @param {*} [options] Override http request option.
|
|
@@ -604,7 +689,7 @@ export interface DefaultApiInterface {
|
|
|
604
689
|
/**
|
|
605
690
|
* Creates request options for getVMs without sending the request
|
|
606
691
|
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
607
|
-
* @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.
|
|
692
|
+
* @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.
|
|
608
693
|
* @param {number} [page] Page number for pagination
|
|
609
694
|
* @param {number} [pageSize] Number of items per page
|
|
610
695
|
* @throws {RequiredError}
|
|
@@ -615,7 +700,7 @@ export interface DefaultApiInterface {
|
|
|
615
700
|
*
|
|
616
701
|
* @summary Get list of VMs with filtering and pagination
|
|
617
702
|
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
618
|
-
* @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.
|
|
703
|
+
* @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.
|
|
619
704
|
* @param {number} [page] Page number for pagination
|
|
620
705
|
* @param {number} [pageSize] Number of items per page
|
|
621
706
|
* @param {*} [options] Override http request option.
|
|
@@ -627,6 +712,24 @@ export interface DefaultApiInterface {
|
|
|
627
712
|
* Get list of VMs with filtering and pagination
|
|
628
713
|
*/
|
|
629
714
|
getVMs(requestParameters: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse>;
|
|
715
|
+
/**
|
|
716
|
+
* Creates request options for getVMsFilterOptions without sending the request
|
|
717
|
+
* @throws {RequiredError}
|
|
718
|
+
* @memberof DefaultApiInterface
|
|
719
|
+
*/
|
|
720
|
+
getVMsFilterOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
721
|
+
/**
|
|
722
|
+
*
|
|
723
|
+
* @summary Get distinct filter option values for VMs
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
* @memberof DefaultApiInterface
|
|
727
|
+
*/
|
|
728
|
+
getVMsFilterOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMFilterOptionsResponse>>;
|
|
729
|
+
/**
|
|
730
|
+
* Get distinct filter option values for VMs
|
|
731
|
+
*/
|
|
732
|
+
getVMsFilterOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMFilterOptionsResponse>;
|
|
630
733
|
/**
|
|
631
734
|
* Creates request options for getVersion without sending the request
|
|
632
735
|
* @throws {RequiredError}
|
|
@@ -730,6 +833,27 @@ export interface DefaultApiInterface {
|
|
|
730
833
|
* Compute pair capabilities
|
|
731
834
|
*/
|
|
732
835
|
postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>>;
|
|
836
|
+
/**
|
|
837
|
+
* Creates request options for putCredentials without sending the request
|
|
838
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
* @memberof DefaultApiInterface
|
|
841
|
+
*/
|
|
842
|
+
putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
843
|
+
/**
|
|
844
|
+
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
845
|
+
* @summary Store vCenter credentials
|
|
846
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
847
|
+
* @param {*} [options] Override http request option.
|
|
848
|
+
* @throws {RequiredError}
|
|
849
|
+
* @memberof DefaultApiInterface
|
|
850
|
+
*/
|
|
851
|
+
putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
852
|
+
/**
|
|
853
|
+
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
854
|
+
* Store vCenter credentials
|
|
855
|
+
*/
|
|
856
|
+
putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
733
857
|
/**
|
|
734
858
|
* Creates request options for putForecasterCredentials without sending the request
|
|
735
859
|
* @param {VcenterCredentials} vcenterCredentials
|
|
@@ -1071,6 +1195,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1071
1195
|
* Create a new group
|
|
1072
1196
|
*/
|
|
1073
1197
|
createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Creates request options for deleteCredentials without sending the request
|
|
1200
|
+
*/
|
|
1201
|
+
deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Removes all stored vCenter credentials from the database.
|
|
1204
|
+
* Delete stored credentials
|
|
1205
|
+
*/
|
|
1206
|
+
deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Removes all stored vCenter credentials from the database.
|
|
1209
|
+
* Delete stored credentials
|
|
1210
|
+
*/
|
|
1211
|
+
deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1074
1212
|
/**
|
|
1075
1213
|
* Creates request options for deleteForecasterRun without sending the request
|
|
1076
1214
|
*/
|
|
@@ -1119,6 +1257,30 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1119
1257
|
* Get agent status
|
|
1120
1258
|
*/
|
|
1121
1259
|
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
1260
|
+
/**
|
|
1261
|
+
* Creates request options for getApplications without sending the request
|
|
1262
|
+
*/
|
|
1263
|
+
getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1264
|
+
/**
|
|
1265
|
+
* List detected applications running on VMs
|
|
1266
|
+
*/
|
|
1267
|
+
getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
1268
|
+
/**
|
|
1269
|
+
* List detected applications running on VMs
|
|
1270
|
+
*/
|
|
1271
|
+
getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Creates request options for getClusterUtilization without sending the request
|
|
1274
|
+
*/
|
|
1275
|
+
getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Get latest cluster utilization by cluster ID
|
|
1278
|
+
*/
|
|
1279
|
+
getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Get latest cluster utilization by cluster ID
|
|
1282
|
+
*/
|
|
1283
|
+
getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
|
|
1122
1284
|
/**
|
|
1123
1285
|
* Creates request options for getCollectorStatus without sending the request
|
|
1124
1286
|
*/
|
|
@@ -1131,6 +1293,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1131
1293
|
* Get collector status
|
|
1132
1294
|
*/
|
|
1133
1295
|
getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Creates request options for getCredentials without sending the request
|
|
1298
|
+
*/
|
|
1299
|
+
getCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1300
|
+
/**
|
|
1301
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
1302
|
+
* Get stored credential status
|
|
1303
|
+
*/
|
|
1304
|
+
getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
1307
|
+
* Get stored credential status
|
|
1308
|
+
*/
|
|
1309
|
+
getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
1134
1310
|
/**
|
|
1135
1311
|
* Creates request options for getForecasterDatastores without sending the request
|
|
1136
1312
|
*/
|
|
@@ -1337,6 +1513,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1337
1513
|
* Get list of VMs with filtering and pagination
|
|
1338
1514
|
*/
|
|
1339
1515
|
getVMs(requestParameters?: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse>;
|
|
1516
|
+
/**
|
|
1517
|
+
* Creates request options for getVMsFilterOptions without sending the request
|
|
1518
|
+
*/
|
|
1519
|
+
getVMsFilterOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1520
|
+
/**
|
|
1521
|
+
* Get distinct filter option values for VMs
|
|
1522
|
+
*/
|
|
1523
|
+
getVMsFilterOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VMFilterOptionsResponse>>;
|
|
1524
|
+
/**
|
|
1525
|
+
* Get distinct filter option values for VMs
|
|
1526
|
+
*/
|
|
1527
|
+
getVMsFilterOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VMFilterOptionsResponse>;
|
|
1340
1528
|
/**
|
|
1341
1529
|
* Creates request options for getVersion without sending the request
|
|
1342
1530
|
*/
|
|
@@ -1399,6 +1587,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1399
1587
|
* Compute pair capabilities
|
|
1400
1588
|
*/
|
|
1401
1589
|
postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Creates request options for putCredentials without sending the request
|
|
1592
|
+
*/
|
|
1593
|
+
putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1594
|
+
/**
|
|
1595
|
+
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
1596
|
+
* Store vCenter credentials
|
|
1597
|
+
*/
|
|
1598
|
+
putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
1599
|
+
/**
|
|
1600
|
+
* Validates credentials against vSphere, encrypts with disk-based key, and stores in the local database as the active credential set. A subsequent PUT overwrites the previously stored credentials.
|
|
1601
|
+
* Store vCenter credentials
|
|
1602
|
+
*/
|
|
1603
|
+
putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
1402
1604
|
/**
|
|
1403
1605
|
* Creates request options for putForecasterCredentials without sending the request
|
|
1404
1606
|
*/
|