@openshift-migration-advisor/agent-sdk 0.12.0-6a69e0e34d95 → 0.12.0-8eb0d1134c4d
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 +16 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +17 -3
- package/dist/apis/DefaultApi.d.ts +212 -4
- package/dist/apis/DefaultApi.js +230 -0
- package/dist/esm/apis/DefaultApi.d.ts +212 -4
- package/dist/esm/apis/DefaultApi.js +230 -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/CapabilityStatus.d.ts +33 -0
- package/dist/esm/models/CapabilityStatus.js +44 -0
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/esm/models/CapabilityStatusCapabilities.js +52 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
- package/dist/esm/models/CollectorStartRequest.js +4 -0
- package/dist/esm/models/CredentialStatus.d.ts +44 -0
- package/dist/esm/models/CredentialStatus.js +51 -0
- package/dist/esm/models/ExportInventory400Response.d.ts +32 -0
- package/dist/esm/models/ExportInventory400Response.js +41 -0
- package/dist/esm/models/OperationCapability.d.ts +38 -0
- package/dist/esm/models/OperationCapability.js +45 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +1 -1
- package/dist/esm/models/StartInspectionRequest.js +1 -3
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +6 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +4 -0
- package/dist/esm/models/VcenterCredentials.d.ts +12 -0
- package/dist/esm/models/VcenterCredentials.js +4 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
- package/dist/esm/models/VmInspectionStatus.js +4 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -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/CapabilityStatus.d.ts +33 -0
- package/dist/models/CapabilityStatus.js +51 -0
- package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/models/CapabilityStatusCapabilities.js +59 -0
- package/dist/models/CollectorStartRequest.d.ts +12 -0
- package/dist/models/CollectorStartRequest.js +4 -0
- package/dist/models/CredentialStatus.d.ts +44 -0
- package/dist/models/CredentialStatus.js +58 -0
- package/dist/models/ExportInventory400Response.d.ts +32 -0
- package/dist/models/ExportInventory400Response.js +48 -0
- package/dist/models/OperationCapability.d.ts +38 -0
- package/dist/models/OperationCapability.js +52 -0
- package/dist/models/StartInspectionRequest.d.ts +1 -1
- package/dist/models/StartInspectionRequest.js +1 -3
- package/dist/models/VMFilterOptionsResponse.d.ts +6 -0
- package/dist/models/VMFilterOptionsResponse.js +4 -0
- package/dist/models/VcenterCredentials.d.ts +12 -0
- package/dist/models/VcenterCredentials.js +4 -0
- package/dist/models/VmInspectionStatus.d.ts +6 -0
- package/dist/models/VmInspectionStatus.js +4 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -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/CapabilityStatus.md +34 -0
- package/docs/CapabilityStatusCapabilities.md +38 -0
- package/docs/CollectorStartRequest.md +4 -0
- package/docs/CredentialStatus.md +38 -0
- package/docs/DefaultApi.md +392 -7
- package/docs/ExportInventory400Response.md +34 -0
- package/docs/OperationCapability.md +36 -0
- package/docs/VMFilterOptionsResponse.md +2 -0
- package/docs/VcenterCredentials.md +4 -0
- package/docs/VmInspectionStatus.md +2 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +412 -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/CapabilityStatus.ts +74 -0
- package/src/models/CapabilityStatusCapabilities.ts +92 -0
- package/src/models/CollectorStartRequest.ts +16 -0
- package/src/models/CredentialStatus.ts +84 -0
- package/src/models/ExportInventory400Response.ts +65 -0
- package/src/models/OperationCapability.ts +74 -0
- package/src/models/StartInspectionRequest.ts +2 -3
- package/src/models/VMFilterOptionsResponse.ts +9 -0
- package/src/models/VcenterCredentials.ts +16 -0
- package/src/models/VmInspectionStatus.ts +9 -0
- package/src/models/index.ts +8 -0
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -4,12 +4,18 @@
|
|
|
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
|
|
11
|
+
docs/CapabilityStatus.md
|
|
12
|
+
docs/CapabilityStatusCapabilities.md
|
|
8
13
|
docs/ClusterFeatures.md
|
|
9
14
|
docs/ClusterUtilization.md
|
|
10
15
|
docs/CollectorStartRequest.md
|
|
11
16
|
docs/CollectorStatus.md
|
|
12
17
|
docs/CreateGroupRequest.md
|
|
18
|
+
docs/CredentialStatus.md
|
|
13
19
|
docs/Datastore.md
|
|
14
20
|
docs/DatastoreDetail.md
|
|
15
21
|
docs/DatastorePair.md
|
|
@@ -18,6 +24,7 @@ docs/DeleteLabelGloballyResponse.md
|
|
|
18
24
|
docs/DiskSizeTierSummary.md
|
|
19
25
|
docs/DiskTypeSummary.md
|
|
20
26
|
docs/EstimateRange.md
|
|
27
|
+
docs/ExportInventory400Response.md
|
|
21
28
|
docs/ForecastStats.md
|
|
22
29
|
docs/ForecasterDatastoresRequest.md
|
|
23
30
|
docs/ForecasterPairStatus.md
|
|
@@ -36,6 +43,7 @@ docs/Inventory.md
|
|
|
36
43
|
docs/InventoryData.md
|
|
37
44
|
docs/MigrationIssue.md
|
|
38
45
|
docs/Network.md
|
|
46
|
+
docs/OperationCapability.md
|
|
39
47
|
docs/OsInfo.md
|
|
40
48
|
docs/PairCapability.md
|
|
41
49
|
docs/PairCapabilityRequest.md
|
|
@@ -80,12 +88,18 @@ src/apis/index.ts
|
|
|
80
88
|
src/index.ts
|
|
81
89
|
src/models/AgentModeRequest.ts
|
|
82
90
|
src/models/AgentStatus.ts
|
|
91
|
+
src/models/ApplicationListResponse.ts
|
|
92
|
+
src/models/ApplicationOverview.ts
|
|
93
|
+
src/models/ApplicationVM.ts
|
|
83
94
|
src/models/BenchmarkRun.ts
|
|
95
|
+
src/models/CapabilityStatus.ts
|
|
96
|
+
src/models/CapabilityStatusCapabilities.ts
|
|
84
97
|
src/models/ClusterFeatures.ts
|
|
85
98
|
src/models/ClusterUtilization.ts
|
|
86
99
|
src/models/CollectorStartRequest.ts
|
|
87
100
|
src/models/CollectorStatus.ts
|
|
88
101
|
src/models/CreateGroupRequest.ts
|
|
102
|
+
src/models/CredentialStatus.ts
|
|
89
103
|
src/models/Datastore.ts
|
|
90
104
|
src/models/DatastoreDetail.ts
|
|
91
105
|
src/models/DatastorePair.ts
|
|
@@ -93,6 +107,7 @@ src/models/DeleteLabelGloballyResponse.ts
|
|
|
93
107
|
src/models/DiskSizeTierSummary.ts
|
|
94
108
|
src/models/DiskTypeSummary.ts
|
|
95
109
|
src/models/EstimateRange.ts
|
|
110
|
+
src/models/ExportInventory400Response.ts
|
|
96
111
|
src/models/ForecastStats.ts
|
|
97
112
|
src/models/ForecasterDatastoresRequest.ts
|
|
98
113
|
src/models/ForecasterPairStatus.ts
|
|
@@ -111,6 +126,7 @@ src/models/Inventory.ts
|
|
|
111
126
|
src/models/InventoryData.ts
|
|
112
127
|
src/models/MigrationIssue.ts
|
|
113
128
|
src/models/Network.ts
|
|
129
|
+
src/models/OperationCapability.ts
|
|
114
130
|
src/models/OsInfo.ts
|
|
115
131
|
src/models/PairCapability.ts
|
|
116
132
|
src/models/PairCapabilityRequest.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-8eb0d1134c4d
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -51,12 +51,17 @@ 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
|
|
58
|
+
*DefaultApi* | [**exportInventory**](docs/DefaultApi.md#exportinventory) | **GET** /export | Export VM inventory and migration planning data
|
|
57
59
|
*DefaultApi* | [**getAgentStatus**](docs/DefaultApi.md#getagentstatus) | **GET** /agent | Get agent status
|
|
60
|
+
*DefaultApi* | [**getApplications**](docs/DefaultApi.md#getapplications) | **GET** /applications | List detected applications running on VMs
|
|
58
61
|
*DefaultApi* | [**getClusterUtilization**](docs/DefaultApi.md#getclusterutilization) | **GET** /clusters/{cluster_id}/utilization | Get latest cluster utilization by cluster ID
|
|
59
62
|
*DefaultApi* | [**getCollectorStatus**](docs/DefaultApi.md#getcollectorstatus) | **GET** /collector | Get collector status
|
|
63
|
+
*DefaultApi* | [**getCredentialCapabilities**](docs/DefaultApi.md#getcredentialcapabilities) | **GET** /credentials/capabilities | Check vSphere operation capabilities
|
|
64
|
+
*DefaultApi* | [**getCredentials**](docs/DefaultApi.md#getcredentials) | **GET** /credentials | Get stored credential status
|
|
60
65
|
*DefaultApi* | [**getForecasterDatastores**](docs/DefaultApi.md#getforecasterdatastores) | **POST** /forecaster/datastores | List available datastores
|
|
61
66
|
*DefaultApi* | [**getForecasterRuns**](docs/DefaultApi.md#getforecasterruns) | **GET** /forecaster/runs | List benchmark runs
|
|
62
67
|
*DefaultApi* | [**getForecasterStats**](docs/DefaultApi.md#getforecasterstats) | **GET** /forecaster/stats | Get throughput statistics
|
|
@@ -79,6 +84,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
79
84
|
*DefaultApi* | [**listRightsizingReportClusters**](docs/DefaultApi.md#listrightsizingreportclusters) | **GET** /rightsizing/{report_id}/clusters | Get cluster-level utilization aggregates for a specific report
|
|
80
85
|
*DefaultApi* | [**listRightsizingReports**](docs/DefaultApi.md#listrightsizingreports) | **GET** /rightsizing | List all rightsizing reports
|
|
81
86
|
*DefaultApi* | [**postForecasterPairCapabilities**](docs/DefaultApi.md#postforecasterpaircapabilities) | **POST** /forecaster/capabilities | Compute pair capabilities
|
|
87
|
+
*DefaultApi* | [**putCredentials**](docs/DefaultApi.md#putcredentials) | **PUT** /credentials | Store vCenter credentials
|
|
82
88
|
*DefaultApi* | [**putForecasterCredentials**](docs/DefaultApi.md#putforecastercredentials) | **PUT** /forecaster/credentials | Verify vCenter credentials and permissions
|
|
83
89
|
*DefaultApi* | [**putInspectorVddk**](docs/DefaultApi.md#putinspectorvddk) | **PUT** /inspector/vddk | Upload VDDK tarball
|
|
84
90
|
*DefaultApi* | [**removeVMFromInspection**](docs/DefaultApi.md#removevmfrominspection) | **DELETE** /vms/{id}/inspection | Remove VirtualMachine from inspection queue
|
|
@@ -101,12 +107,18 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
101
107
|
|
|
102
108
|
- [AgentModeRequest](docs/AgentModeRequest.md)
|
|
103
109
|
- [AgentStatus](docs/AgentStatus.md)
|
|
110
|
+
- [ApplicationListResponse](docs/ApplicationListResponse.md)
|
|
111
|
+
- [ApplicationOverview](docs/ApplicationOverview.md)
|
|
112
|
+
- [ApplicationVM](docs/ApplicationVM.md)
|
|
104
113
|
- [BenchmarkRun](docs/BenchmarkRun.md)
|
|
114
|
+
- [CapabilityStatus](docs/CapabilityStatus.md)
|
|
115
|
+
- [CapabilityStatusCapabilities](docs/CapabilityStatusCapabilities.md)
|
|
105
116
|
- [ClusterFeatures](docs/ClusterFeatures.md)
|
|
106
117
|
- [ClusterUtilization](docs/ClusterUtilization.md)
|
|
107
118
|
- [CollectorStartRequest](docs/CollectorStartRequest.md)
|
|
108
119
|
- [CollectorStatus](docs/CollectorStatus.md)
|
|
109
120
|
- [CreateGroupRequest](docs/CreateGroupRequest.md)
|
|
121
|
+
- [CredentialStatus](docs/CredentialStatus.md)
|
|
110
122
|
- [Datastore](docs/Datastore.md)
|
|
111
123
|
- [DatastoreDetail](docs/DatastoreDetail.md)
|
|
112
124
|
- [DatastorePair](docs/DatastorePair.md)
|
|
@@ -114,6 +126,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
114
126
|
- [DiskSizeTierSummary](docs/DiskSizeTierSummary.md)
|
|
115
127
|
- [DiskTypeSummary](docs/DiskTypeSummary.md)
|
|
116
128
|
- [EstimateRange](docs/EstimateRange.md)
|
|
129
|
+
- [ExportInventory400Response](docs/ExportInventory400Response.md)
|
|
117
130
|
- [ForecastStats](docs/ForecastStats.md)
|
|
118
131
|
- [ForecasterDatastoresRequest](docs/ForecasterDatastoresRequest.md)
|
|
119
132
|
- [ForecasterPairStatus](docs/ForecasterPairStatus.md)
|
|
@@ -132,6 +145,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
132
145
|
- [InventoryData](docs/InventoryData.md)
|
|
133
146
|
- [MigrationIssue](docs/MigrationIssue.md)
|
|
134
147
|
- [Network](docs/Network.md)
|
|
148
|
+
- [OperationCapability](docs/OperationCapability.md)
|
|
135
149
|
- [OsInfo](docs/OsInfo.md)
|
|
136
150
|
- [PairCapability](docs/PairCapability.md)
|
|
137
151
|
- [PairCapabilityRequest](docs/PairCapabilityRequest.md)
|
|
@@ -183,8 +197,8 @@ and is automatically generated by the
|
|
|
183
197
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
184
198
|
|
|
185
199
|
- API version: `v1`
|
|
186
|
-
- Package version: `0.12.0-
|
|
187
|
-
- Generator version: `7.
|
|
200
|
+
- Package version: `0.12.0-8eb0d1134c4d`
|
|
201
|
+
- Generator version: `7.24.0-SNAPSHOT`
|
|
188
202
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
189
203
|
|
|
190
204
|
The generated npm module supports the following:
|
|
@@ -12,10 +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';
|
|
17
|
+
import { type CapabilityStatus } from '../models/CapabilityStatus.js';
|
|
16
18
|
import { type CollectorStartRequest } from '../models/CollectorStartRequest.js';
|
|
17
19
|
import { type CollectorStatus } from '../models/CollectorStatus.js';
|
|
18
20
|
import { type CreateGroupRequest } from '../models/CreateGroupRequest.js';
|
|
21
|
+
import { type CredentialStatus } from '../models/CredentialStatus.js';
|
|
19
22
|
import { type DatastoreDetail } from '../models/DatastoreDetail.js';
|
|
20
23
|
import { type DeleteLabelGloballyResponse } from '../models/DeleteLabelGloballyResponse.js';
|
|
21
24
|
import { type ForecastStats } from '../models/ForecastStats.js';
|
|
@@ -61,6 +64,9 @@ export interface DeleteGroupRequest {
|
|
|
61
64
|
export interface DeleteLabelGloballyRequest {
|
|
62
65
|
label: string;
|
|
63
66
|
}
|
|
67
|
+
export interface ExportInventoryRequest {
|
|
68
|
+
scope?: string;
|
|
69
|
+
}
|
|
64
70
|
export interface GetClusterUtilizationRequest {
|
|
65
71
|
clusterId: string;
|
|
66
72
|
}
|
|
@@ -124,6 +130,9 @@ export interface ListRightsizingReportClustersRequest {
|
|
|
124
130
|
export interface PostForecasterPairCapabilitiesRequest {
|
|
125
131
|
pairCapabilityRequest: PairCapabilityRequest;
|
|
126
132
|
}
|
|
133
|
+
export interface PutCredentialsRequest {
|
|
134
|
+
vcenterCredentials: VcenterCredentials;
|
|
135
|
+
}
|
|
127
136
|
export interface PutForecasterCredentialsRequest {
|
|
128
137
|
vcenterCredentials: VcenterCredentials;
|
|
129
138
|
}
|
|
@@ -193,6 +202,25 @@ export interface DefaultApiInterface {
|
|
|
193
202
|
* Create a new group
|
|
194
203
|
*/
|
|
195
204
|
createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
205
|
+
/**
|
|
206
|
+
* Creates request options for deleteCredentials without sending the request
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
* @memberof DefaultApiInterface
|
|
209
|
+
*/
|
|
210
|
+
deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
211
|
+
/**
|
|
212
|
+
* Removes all stored vCenter credentials from the database.
|
|
213
|
+
* @summary Delete stored credentials
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
* @memberof DefaultApiInterface
|
|
217
|
+
*/
|
|
218
|
+
deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
219
|
+
/**
|
|
220
|
+
* Removes all stored vCenter credentials from the database.
|
|
221
|
+
* Delete stored credentials
|
|
222
|
+
*/
|
|
223
|
+
deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
196
224
|
/**
|
|
197
225
|
* Creates request options for deleteForecasterRun without sending the request
|
|
198
226
|
* @param {number} id Run ID
|
|
@@ -253,6 +281,27 @@ export interface DefaultApiInterface {
|
|
|
253
281
|
* Delete label from all VMs
|
|
254
282
|
*/
|
|
255
283
|
deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
|
|
284
|
+
/**
|
|
285
|
+
* Creates request options for exportInventory without sending the request
|
|
286
|
+
* @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
* @memberof DefaultApiInterface
|
|
289
|
+
*/
|
|
290
|
+
exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts>;
|
|
291
|
+
/**
|
|
292
|
+
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
293
|
+
* @summary Export VM inventory and migration planning data
|
|
294
|
+
* @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof DefaultApiInterface
|
|
298
|
+
*/
|
|
299
|
+
exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
300
|
+
/**
|
|
301
|
+
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
302
|
+
* Export VM inventory and migration planning data
|
|
303
|
+
*/
|
|
304
|
+
exportInventory(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
256
305
|
/**
|
|
257
306
|
* Creates request options for getAgentStatus without sending the request
|
|
258
307
|
* @throws {RequiredError}
|
|
@@ -271,6 +320,24 @@ export interface DefaultApiInterface {
|
|
|
271
320
|
* Get agent status
|
|
272
321
|
*/
|
|
273
322
|
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
323
|
+
/**
|
|
324
|
+
* Creates request options for getApplications without sending the request
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
* @memberof DefaultApiInterface
|
|
327
|
+
*/
|
|
328
|
+
getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @summary List detected applications running on VMs
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
* @memberof DefaultApiInterface
|
|
335
|
+
*/
|
|
336
|
+
getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
337
|
+
/**
|
|
338
|
+
* List detected applications running on VMs
|
|
339
|
+
*/
|
|
340
|
+
getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
274
341
|
/**
|
|
275
342
|
* Creates request options for getClusterUtilization without sending the request
|
|
276
343
|
* @param {string} clusterId vSphere MoRef (e.g. \"domain-c123\") or generated cluster ID (e.g. \"cluster-a3f7b2c1d4e89012\")
|
|
@@ -309,6 +376,44 @@ export interface DefaultApiInterface {
|
|
|
309
376
|
* Get collector status
|
|
310
377
|
*/
|
|
311
378
|
getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
379
|
+
/**
|
|
380
|
+
* Creates request options for getCredentialCapabilities without sending the request
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
* @memberof DefaultApiInterface
|
|
383
|
+
*/
|
|
384
|
+
getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
385
|
+
/**
|
|
386
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
387
|
+
* @summary Check vSphere operation capabilities
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
* @memberof DefaultApiInterface
|
|
391
|
+
*/
|
|
392
|
+
getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
|
|
393
|
+
/**
|
|
394
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
395
|
+
* Check vSphere operation capabilities
|
|
396
|
+
*/
|
|
397
|
+
getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
|
|
398
|
+
/**
|
|
399
|
+
* Creates request options for getCredentials without sending the request
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
* @memberof DefaultApiInterface
|
|
402
|
+
*/
|
|
403
|
+
getCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
404
|
+
/**
|
|
405
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
406
|
+
* @summary Get stored credential status
|
|
407
|
+
* @param {*} [options] Override http request option.
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
* @memberof DefaultApiInterface
|
|
410
|
+
*/
|
|
411
|
+
getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
412
|
+
/**
|
|
413
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
414
|
+
* Get stored credential status
|
|
415
|
+
*/
|
|
416
|
+
getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
312
417
|
/**
|
|
313
418
|
* Creates request options for getForecasterDatastores without sending the request
|
|
314
419
|
* @param {ForecasterDatastoresRequest} [forecasterDatastoresRequest]
|
|
@@ -394,7 +499,7 @@ export interface DefaultApiInterface {
|
|
|
394
499
|
/**
|
|
395
500
|
* Creates request options for getGroup without sending the request
|
|
396
501
|
* @param {string} id Group ID
|
|
397
|
-
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues.
|
|
502
|
+
* @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.
|
|
398
503
|
* @param {number} [page] Page number for pagination
|
|
399
504
|
* @param {number} [pageSize] Number of items per page
|
|
400
505
|
* @throws {RequiredError}
|
|
@@ -405,7 +510,7 @@ export interface DefaultApiInterface {
|
|
|
405
510
|
*
|
|
406
511
|
* @summary Get group by ID with its VMs
|
|
407
512
|
* @param {string} id Group ID
|
|
408
|
-
* @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.
|
|
513
|
+
* @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.
|
|
409
514
|
* @param {number} [page] Page number for pagination
|
|
410
515
|
* @param {number} [pageSize] Number of items per page
|
|
411
516
|
* @param {*} [options] Override http request option.
|
|
@@ -628,7 +733,7 @@ export interface DefaultApiInterface {
|
|
|
628
733
|
/**
|
|
629
734
|
* Creates request options for getVMs without sending the request
|
|
630
735
|
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
631
|
-
* @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.
|
|
736
|
+
* @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.
|
|
632
737
|
* @param {number} [page] Page number for pagination
|
|
633
738
|
* @param {number} [pageSize] Number of items per page
|
|
634
739
|
* @throws {RequiredError}
|
|
@@ -639,7 +744,7 @@ export interface DefaultApiInterface {
|
|
|
639
744
|
*
|
|
640
745
|
* @summary Get list of VMs with filtering and pagination
|
|
641
746
|
* @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
|
|
642
|
-
* @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.
|
|
747
|
+
* @param {Array<string>} [sort] Sort fields with direction (e.g., \"name:asc\" or \"cluster:desc,name:asc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
643
748
|
* @param {number} [page] Page number for pagination
|
|
644
749
|
* @param {number} [pageSize] Number of items per page
|
|
645
750
|
* @param {*} [options] Override http request option.
|
|
@@ -772,6 +877,27 @@ export interface DefaultApiInterface {
|
|
|
772
877
|
* Compute pair capabilities
|
|
773
878
|
*/
|
|
774
879
|
postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>>;
|
|
880
|
+
/**
|
|
881
|
+
* Creates request options for putCredentials without sending the request
|
|
882
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
883
|
+
* @throws {RequiredError}
|
|
884
|
+
* @memberof DefaultApiInterface
|
|
885
|
+
*/
|
|
886
|
+
putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
887
|
+
/**
|
|
888
|
+
* 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.
|
|
889
|
+
* @summary Store vCenter credentials
|
|
890
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof DefaultApiInterface
|
|
894
|
+
*/
|
|
895
|
+
putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
896
|
+
/**
|
|
897
|
+
* 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.
|
|
898
|
+
* Store vCenter credentials
|
|
899
|
+
*/
|
|
900
|
+
putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
775
901
|
/**
|
|
776
902
|
* Creates request options for putForecasterCredentials without sending the request
|
|
777
903
|
* @param {VcenterCredentials} vcenterCredentials
|
|
@@ -1113,6 +1239,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1113
1239
|
* Create a new group
|
|
1114
1240
|
*/
|
|
1115
1241
|
createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Creates request options for deleteCredentials without sending the request
|
|
1244
|
+
*/
|
|
1245
|
+
deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Removes all stored vCenter credentials from the database.
|
|
1248
|
+
* Delete stored credentials
|
|
1249
|
+
*/
|
|
1250
|
+
deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Removes all stored vCenter credentials from the database.
|
|
1253
|
+
* Delete stored credentials
|
|
1254
|
+
*/
|
|
1255
|
+
deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1116
1256
|
/**
|
|
1117
1257
|
* Creates request options for deleteForecasterRun without sending the request
|
|
1118
1258
|
*/
|
|
@@ -1149,6 +1289,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1149
1289
|
* Delete label from all VMs
|
|
1150
1290
|
*/
|
|
1151
1291
|
deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
|
|
1292
|
+
/**
|
|
1293
|
+
* Creates request options for exportInventory without sending the request
|
|
1294
|
+
*/
|
|
1295
|
+
exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
1298
|
+
* Export VM inventory and migration planning data
|
|
1299
|
+
*/
|
|
1300
|
+
exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
1303
|
+
* Export VM inventory and migration planning data
|
|
1304
|
+
*/
|
|
1305
|
+
exportInventory(requestParameters?: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
1152
1306
|
/**
|
|
1153
1307
|
* Creates request options for getAgentStatus without sending the request
|
|
1154
1308
|
*/
|
|
@@ -1161,6 +1315,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1161
1315
|
* Get agent status
|
|
1162
1316
|
*/
|
|
1163
1317
|
getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Creates request options for getApplications without sending the request
|
|
1320
|
+
*/
|
|
1321
|
+
getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1322
|
+
/**
|
|
1323
|
+
* List detected applications running on VMs
|
|
1324
|
+
*/
|
|
1325
|
+
getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
|
|
1326
|
+
/**
|
|
1327
|
+
* List detected applications running on VMs
|
|
1328
|
+
*/
|
|
1329
|
+
getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
|
|
1164
1330
|
/**
|
|
1165
1331
|
* Creates request options for getClusterUtilization without sending the request
|
|
1166
1332
|
*/
|
|
@@ -1185,6 +1351,34 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1185
1351
|
* Get collector status
|
|
1186
1352
|
*/
|
|
1187
1353
|
getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Creates request options for getCredentialCapabilities without sending the request
|
|
1356
|
+
*/
|
|
1357
|
+
getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
1360
|
+
* Check vSphere operation capabilities
|
|
1361
|
+
*/
|
|
1362
|
+
getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
1365
|
+
* Check vSphere operation capabilities
|
|
1366
|
+
*/
|
|
1367
|
+
getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Creates request options for getCredentials without sending the request
|
|
1370
|
+
*/
|
|
1371
|
+
getCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
1374
|
+
* Get stored credential status
|
|
1375
|
+
*/
|
|
1376
|
+
getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
|
|
1379
|
+
* Get stored credential status
|
|
1380
|
+
*/
|
|
1381
|
+
getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
1188
1382
|
/**
|
|
1189
1383
|
* Creates request options for getForecasterDatastores without sending the request
|
|
1190
1384
|
*/
|
|
@@ -1465,6 +1659,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1465
1659
|
* Compute pair capabilities
|
|
1466
1660
|
*/
|
|
1467
1661
|
postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>>;
|
|
1662
|
+
/**
|
|
1663
|
+
* Creates request options for putCredentials without sending the request
|
|
1664
|
+
*/
|
|
1665
|
+
putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
1666
|
+
/**
|
|
1667
|
+
* 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.
|
|
1668
|
+
* Store vCenter credentials
|
|
1669
|
+
*/
|
|
1670
|
+
putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
|
|
1671
|
+
/**
|
|
1672
|
+
* 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.
|
|
1673
|
+
* Store vCenter credentials
|
|
1674
|
+
*/
|
|
1675
|
+
putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
|
|
1468
1676
|
/**
|
|
1469
1677
|
* Creates request options for putForecasterCredentials without sending the request
|
|
1470
1678
|
*/
|