@openshift-migration-advisor/agent-sdk 0.12.0-f90a4cad59fa → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +16 -3
  4. package/dist/apis/DefaultApi.d.ts +209 -4
  5. package/dist/apis/DefaultApi.js +229 -0
  6. package/dist/esm/apis/DefaultApi.d.ts +209 -4
  7. package/dist/esm/apis/DefaultApi.js +229 -0
  8. package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
  9. package/dist/esm/models/ApplicationListResponse.js +44 -0
  10. package/dist/esm/models/ApplicationOverview.d.ts +51 -0
  11. package/dist/esm/models/ApplicationOverview.js +56 -0
  12. package/dist/esm/models/ApplicationVM.d.ts +38 -0
  13. package/dist/esm/models/ApplicationVM.js +47 -0
  14. package/dist/esm/models/CapabilityStatus.d.ts +33 -0
  15. package/dist/esm/models/CapabilityStatus.js +44 -0
  16. package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
  17. package/dist/esm/models/CapabilityStatusCapabilities.js +52 -0
  18. package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
  19. package/dist/esm/models/CollectorStartRequest.js +4 -0
  20. package/dist/esm/models/CredentialStatus.d.ts +44 -0
  21. package/dist/esm/models/CredentialStatus.js +51 -0
  22. package/dist/esm/models/OperationCapability.d.ts +38 -0
  23. package/dist/esm/models/OperationCapability.js +45 -0
  24. package/dist/esm/models/StartInspectionRequest.d.ts +1 -1
  25. package/dist/esm/models/StartInspectionRequest.js +1 -3
  26. package/dist/esm/models/VMFilterOptionsResponse.d.ts +6 -0
  27. package/dist/esm/models/VMFilterOptionsResponse.js +4 -0
  28. package/dist/esm/models/VMNIC.d.ts +12 -0
  29. package/dist/esm/models/VMNIC.js +4 -0
  30. package/dist/esm/models/VcenterCredentials.d.ts +12 -0
  31. package/dist/esm/models/VcenterCredentials.js +4 -0
  32. package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
  33. package/dist/esm/models/VmInspectionStatus.js +4 -0
  34. package/dist/esm/models/index.d.ts +7 -0
  35. package/dist/esm/models/index.js +7 -0
  36. package/dist/esm/runtime.js +2 -1
  37. package/dist/models/ApplicationListResponse.d.ts +33 -0
  38. package/dist/models/ApplicationListResponse.js +51 -0
  39. package/dist/models/ApplicationOverview.d.ts +51 -0
  40. package/dist/models/ApplicationOverview.js +63 -0
  41. package/dist/models/ApplicationVM.d.ts +38 -0
  42. package/dist/models/ApplicationVM.js +54 -0
  43. package/dist/models/CapabilityStatus.d.ts +33 -0
  44. package/dist/models/CapabilityStatus.js +51 -0
  45. package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
  46. package/dist/models/CapabilityStatusCapabilities.js +59 -0
  47. package/dist/models/CollectorStartRequest.d.ts +12 -0
  48. package/dist/models/CollectorStartRequest.js +4 -0
  49. package/dist/models/CredentialStatus.d.ts +44 -0
  50. package/dist/models/CredentialStatus.js +58 -0
  51. package/dist/models/OperationCapability.d.ts +38 -0
  52. package/dist/models/OperationCapability.js +52 -0
  53. package/dist/models/StartInspectionRequest.d.ts +1 -1
  54. package/dist/models/StartInspectionRequest.js +1 -3
  55. package/dist/models/VMFilterOptionsResponse.d.ts +6 -0
  56. package/dist/models/VMFilterOptionsResponse.js +4 -0
  57. package/dist/models/VMNIC.d.ts +12 -0
  58. package/dist/models/VMNIC.js +4 -0
  59. package/dist/models/VcenterCredentials.d.ts +12 -0
  60. package/dist/models/VcenterCredentials.js +4 -0
  61. package/dist/models/VmInspectionStatus.d.ts +6 -0
  62. package/dist/models/VmInspectionStatus.js +4 -0
  63. package/dist/models/index.d.ts +7 -0
  64. package/dist/models/index.js +7 -0
  65. package/dist/runtime.js +2 -1
  66. package/docs/ApplicationListResponse.md +34 -0
  67. package/docs/ApplicationOverview.md +40 -0
  68. package/docs/ApplicationVM.md +36 -0
  69. package/docs/CapabilityStatus.md +34 -0
  70. package/docs/CapabilityStatusCapabilities.md +38 -0
  71. package/docs/CollectorStartRequest.md +4 -0
  72. package/docs/CredentialStatus.md +38 -0
  73. package/docs/DefaultApi.md +391 -7
  74. package/docs/OperationCapability.md +36 -0
  75. package/docs/VMFilterOptionsResponse.md +2 -0
  76. package/docs/VMNIC.md +4 -0
  77. package/docs/VcenterCredentials.md +4 -0
  78. package/docs/VmInspectionStatus.md +2 -0
  79. package/package.json +1 -1
  80. package/src/apis/DefaultApi.ts +408 -4
  81. package/src/models/ApplicationListResponse.ts +74 -0
  82. package/src/models/ApplicationOverview.ts +101 -0
  83. package/src/models/ApplicationVM.ts +75 -0
  84. package/src/models/CapabilityStatus.ts +74 -0
  85. package/src/models/CapabilityStatusCapabilities.ts +92 -0
  86. package/src/models/CollectorStartRequest.ts +16 -0
  87. package/src/models/CredentialStatus.ts +84 -0
  88. package/src/models/OperationCapability.ts +74 -0
  89. package/src/models/StartInspectionRequest.ts +2 -3
  90. package/src/models/VMFilterOptionsResponse.ts +9 -0
  91. package/src/models/VMNIC.ts +16 -0
  92. package/src/models/VcenterCredentials.ts +16 -0
  93. package/src/models/VmInspectionStatus.ts +9 -0
  94. package/src/models/index.ts +7 -0
  95. package/src/runtime.ts +1 -1
@@ -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
@@ -36,6 +42,7 @@ docs/Inventory.md
36
42
  docs/InventoryData.md
37
43
  docs/MigrationIssue.md
38
44
  docs/Network.md
45
+ docs/OperationCapability.md
39
46
  docs/OsInfo.md
40
47
  docs/PairCapability.md
41
48
  docs/PairCapabilityRequest.md
@@ -80,12 +87,18 @@ src/apis/index.ts
80
87
  src/index.ts
81
88
  src/models/AgentModeRequest.ts
82
89
  src/models/AgentStatus.ts
90
+ src/models/ApplicationListResponse.ts
91
+ src/models/ApplicationOverview.ts
92
+ src/models/ApplicationVM.ts
83
93
  src/models/BenchmarkRun.ts
94
+ src/models/CapabilityStatus.ts
95
+ src/models/CapabilityStatusCapabilities.ts
84
96
  src/models/ClusterFeatures.ts
85
97
  src/models/ClusterUtilization.ts
86
98
  src/models/CollectorStartRequest.ts
87
99
  src/models/CollectorStatus.ts
88
100
  src/models/CreateGroupRequest.ts
101
+ src/models/CredentialStatus.ts
89
102
  src/models/Datastore.ts
90
103
  src/models/DatastoreDetail.ts
91
104
  src/models/DatastorePair.ts
@@ -111,6 +124,7 @@ src/models/Inventory.ts
111
124
  src/models/InventoryData.ts
112
125
  src/models/MigrationIssue.ts
113
126
  src/models/Network.ts
127
+ src/models/OperationCapability.ts
114
128
  src/models/OsInfo.ts
115
129
  src/models/PairCapability.ts
116
130
  src/models/PairCapabilityRequest.ts
@@ -1 +1 @@
1
- 7.23.0-SNAPSHOT
1
+ 7.24.0-SNAPSHOT
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.12.0-f90a4cad59fa
1
+ # @openshift-migration-advisor/agent-sdk@0.16.0
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -51,11 +51,16 @@ 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* | [**getCredentialCapabilities**](docs/DefaultApi.md#getcredentialcapabilities) | **GET** /credentials/capabilities | Check vSphere operation capabilities
63
+ *DefaultApi* | [**getCredentials**](docs/DefaultApi.md#getcredentials) | **GET** /credentials | Get stored credential status
59
64
  *DefaultApi* | [**getForecasterDatastores**](docs/DefaultApi.md#getforecasterdatastores) | **POST** /forecaster/datastores | List available datastores
60
65
  *DefaultApi* | [**getForecasterRuns**](docs/DefaultApi.md#getforecasterruns) | **GET** /forecaster/runs | List benchmark runs
61
66
  *DefaultApi* | [**getForecasterStats**](docs/DefaultApi.md#getforecasterstats) | **GET** /forecaster/stats | Get throughput statistics
@@ -78,6 +83,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
78
83
  *DefaultApi* | [**listRightsizingReportClusters**](docs/DefaultApi.md#listrightsizingreportclusters) | **GET** /rightsizing/{report_id}/clusters | Get cluster-level utilization aggregates for a specific report
79
84
  *DefaultApi* | [**listRightsizingReports**](docs/DefaultApi.md#listrightsizingreports) | **GET** /rightsizing | List all rightsizing reports
80
85
  *DefaultApi* | [**postForecasterPairCapabilities**](docs/DefaultApi.md#postforecasterpaircapabilities) | **POST** /forecaster/capabilities | Compute pair capabilities
86
+ *DefaultApi* | [**putCredentials**](docs/DefaultApi.md#putcredentials) | **PUT** /credentials | Store vCenter credentials
81
87
  *DefaultApi* | [**putForecasterCredentials**](docs/DefaultApi.md#putforecastercredentials) | **PUT** /forecaster/credentials | Verify vCenter credentials and permissions
82
88
  *DefaultApi* | [**putInspectorVddk**](docs/DefaultApi.md#putinspectorvddk) | **PUT** /inspector/vddk | Upload VDDK tarball
83
89
  *DefaultApi* | [**removeVMFromInspection**](docs/DefaultApi.md#removevmfrominspection) | **DELETE** /vms/{id}/inspection | Remove VirtualMachine from inspection queue
@@ -100,12 +106,18 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
100
106
 
101
107
  - [AgentModeRequest](docs/AgentModeRequest.md)
102
108
  - [AgentStatus](docs/AgentStatus.md)
109
+ - [ApplicationListResponse](docs/ApplicationListResponse.md)
110
+ - [ApplicationOverview](docs/ApplicationOverview.md)
111
+ - [ApplicationVM](docs/ApplicationVM.md)
103
112
  - [BenchmarkRun](docs/BenchmarkRun.md)
113
+ - [CapabilityStatus](docs/CapabilityStatus.md)
114
+ - [CapabilityStatusCapabilities](docs/CapabilityStatusCapabilities.md)
104
115
  - [ClusterFeatures](docs/ClusterFeatures.md)
105
116
  - [ClusterUtilization](docs/ClusterUtilization.md)
106
117
  - [CollectorStartRequest](docs/CollectorStartRequest.md)
107
118
  - [CollectorStatus](docs/CollectorStatus.md)
108
119
  - [CreateGroupRequest](docs/CreateGroupRequest.md)
120
+ - [CredentialStatus](docs/CredentialStatus.md)
109
121
  - [Datastore](docs/Datastore.md)
110
122
  - [DatastoreDetail](docs/DatastoreDetail.md)
111
123
  - [DatastorePair](docs/DatastorePair.md)
@@ -131,6 +143,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
131
143
  - [InventoryData](docs/InventoryData.md)
132
144
  - [MigrationIssue](docs/MigrationIssue.md)
133
145
  - [Network](docs/Network.md)
146
+ - [OperationCapability](docs/OperationCapability.md)
134
147
  - [OsInfo](docs/OsInfo.md)
135
148
  - [PairCapability](docs/PairCapability.md)
136
149
  - [PairCapabilityRequest](docs/PairCapabilityRequest.md)
@@ -182,8 +195,8 @@ and is automatically generated by the
182
195
  [OpenAPI Generator](https://openapi-generator.tech) project:
183
196
 
184
197
  - API version: `v1`
185
- - Package version: `0.12.0-f90a4cad59fa`
186
- - Generator version: `7.23.0-SNAPSHOT`
198
+ - Package version: `0.16.0`
199
+ - Generator version: `7.24.0-SNAPSHOT`
187
200
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
188
201
 
189
202
  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 GetClusterUtilizationRequest {
68
+ clusterId: string;
69
+ }
64
70
  export interface GetForecasterDatastoresRequest {
65
71
  forecasterDatastoresRequest?: ForecasterDatastoresRequest;
66
72
  }
@@ -121,6 +127,9 @@ export interface ListRightsizingReportClustersRequest {
121
127
  export interface PostForecasterPairCapabilitiesRequest {
122
128
  pairCapabilityRequest: PairCapabilityRequest;
123
129
  }
130
+ export interface PutCredentialsRequest {
131
+ vcenterCredentials: VcenterCredentials;
132
+ }
124
133
  export interface PutForecasterCredentialsRequest {
125
134
  vcenterCredentials: VcenterCredentials;
126
135
  }
@@ -190,6 +199,25 @@ export interface DefaultApiInterface {
190
199
  * Create a new group
191
200
  */
192
201
  createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
202
+ /**
203
+ * Creates request options for deleteCredentials without sending the request
204
+ * @throws {RequiredError}
205
+ * @memberof DefaultApiInterface
206
+ */
207
+ deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
208
+ /**
209
+ * Removes all stored vCenter credentials from the database.
210
+ * @summary Delete stored credentials
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ * @memberof DefaultApiInterface
214
+ */
215
+ deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
216
+ /**
217
+ * Removes all stored vCenter credentials from the database.
218
+ * Delete stored credentials
219
+ */
220
+ deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
193
221
  /**
194
222
  * Creates request options for deleteForecasterRun without sending the request
195
223
  * @param {number} id Run ID
@@ -268,6 +296,44 @@ export interface DefaultApiInterface {
268
296
  * Get agent status
269
297
  */
270
298
  getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
299
+ /**
300
+ * Creates request options for getApplications without sending the request
301
+ * @throws {RequiredError}
302
+ * @memberof DefaultApiInterface
303
+ */
304
+ getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
305
+ /**
306
+ *
307
+ * @summary List detected applications running on VMs
308
+ * @param {*} [options] Override http request option.
309
+ * @throws {RequiredError}
310
+ * @memberof DefaultApiInterface
311
+ */
312
+ getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
313
+ /**
314
+ * List detected applications running on VMs
315
+ */
316
+ getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
317
+ /**
318
+ * Creates request options for getClusterUtilization without sending the request
319
+ * @param {string} clusterId vSphere MoRef (e.g. \&quot;domain-c123\&quot;) or generated cluster ID (e.g. \&quot;cluster-a3f7b2c1d4e89012\&quot;)
320
+ * @throws {RequiredError}
321
+ * @memberof DefaultApiInterface
322
+ */
323
+ getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
324
+ /**
325
+ *
326
+ * @summary Get latest cluster utilization by cluster ID
327
+ * @param {string} clusterId vSphere MoRef (e.g. \&quot;domain-c123\&quot;) or generated cluster ID (e.g. \&quot;cluster-a3f7b2c1d4e89012\&quot;)
328
+ * @param {*} [options] Override http request option.
329
+ * @throws {RequiredError}
330
+ * @memberof DefaultApiInterface
331
+ */
332
+ getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
333
+ /**
334
+ * Get latest cluster utilization by cluster ID
335
+ */
336
+ getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
271
337
  /**
272
338
  * Creates request options for getCollectorStatus without sending the request
273
339
  * @throws {RequiredError}
@@ -286,6 +352,44 @@ export interface DefaultApiInterface {
286
352
  * Get collector status
287
353
  */
288
354
  getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
355
+ /**
356
+ * Creates request options for getCredentialCapabilities without sending the request
357
+ * @throws {RequiredError}
358
+ * @memberof DefaultApiInterface
359
+ */
360
+ getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
361
+ /**
362
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
363
+ * @summary Check vSphere operation capabilities
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ * @memberof DefaultApiInterface
367
+ */
368
+ getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
369
+ /**
370
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
371
+ * Check vSphere operation capabilities
372
+ */
373
+ getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
374
+ /**
375
+ * Creates request options for getCredentials without sending the request
376
+ * @throws {RequiredError}
377
+ * @memberof DefaultApiInterface
378
+ */
379
+ getCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
380
+ /**
381
+ * Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
382
+ * @summary Get stored credential status
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ * @memberof DefaultApiInterface
386
+ */
387
+ getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
388
+ /**
389
+ * Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
390
+ * Get stored credential status
391
+ */
392
+ getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
289
393
  /**
290
394
  * Creates request options for getForecasterDatastores without sending the request
291
395
  * @param {ForecasterDatastoresRequest} [forecasterDatastoresRequest]
@@ -371,7 +475,7 @@ export interface DefaultApiInterface {
371
475
  /**
372
476
  * Creates request options for getGroup without sending the request
373
477
  * @param {string} id Group ID
374
- * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues.
478
+ * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
375
479
  * @param {number} [page] Page number for pagination
376
480
  * @param {number} [pageSize] Number of items per page
377
481
  * @throws {RequiredError}
@@ -382,7 +486,7 @@ export interface DefaultApiInterface {
382
486
  *
383
487
  * @summary Get group by ID with its VMs
384
488
  * @param {string} id Group ID
385
- * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues.
489
+ * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
386
490
  * @param {number} [page] Page number for pagination
387
491
  * @param {number} [pageSize] Number of items per page
388
492
  * @param {*} [options] Override http request option.
@@ -605,7 +709,7 @@ export interface DefaultApiInterface {
605
709
  /**
606
710
  * Creates request options for getVMs without sending the request
607
711
  * @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
608
- * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues.
712
+ * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
609
713
  * @param {number} [page] Page number for pagination
610
714
  * @param {number} [pageSize] Number of items per page
611
715
  * @throws {RequiredError}
@@ -616,7 +720,7 @@ export interface DefaultApiInterface {
616
720
  *
617
721
  * @summary Get list of VMs with filtering and pagination
618
722
  * @param {string} [byExpression] Filter by expression (matches VMs with the provided expression)
619
- * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues.
723
+ * @param {Array<string>} [sort] Sort fields with direction (e.g., \&quot;name:asc\&quot; or \&quot;cluster:desc,name:asc\&quot;). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
620
724
  * @param {number} [page] Page number for pagination
621
725
  * @param {number} [pageSize] Number of items per page
622
726
  * @param {*} [options] Override http request option.
@@ -749,6 +853,27 @@ export interface DefaultApiInterface {
749
853
  * Compute pair capabilities
750
854
  */
751
855
  postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>>;
856
+ /**
857
+ * Creates request options for putCredentials without sending the request
858
+ * @param {VcenterCredentials} vcenterCredentials
859
+ * @throws {RequiredError}
860
+ * @memberof DefaultApiInterface
861
+ */
862
+ putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts>;
863
+ /**
864
+ * 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.
865
+ * @summary Store vCenter credentials
866
+ * @param {VcenterCredentials} vcenterCredentials
867
+ * @param {*} [options] Override http request option.
868
+ * @throws {RequiredError}
869
+ * @memberof DefaultApiInterface
870
+ */
871
+ putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
872
+ /**
873
+ * 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.
874
+ * Store vCenter credentials
875
+ */
876
+ putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
752
877
  /**
753
878
  * Creates request options for putForecasterCredentials without sending the request
754
879
  * @param {VcenterCredentials} vcenterCredentials
@@ -1090,6 +1215,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1090
1215
  * Create a new group
1091
1216
  */
1092
1217
  createGroup(requestParameters: CreateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
1218
+ /**
1219
+ * Creates request options for deleteCredentials without sending the request
1220
+ */
1221
+ deleteCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
1222
+ /**
1223
+ * Removes all stored vCenter credentials from the database.
1224
+ * Delete stored credentials
1225
+ */
1226
+ deleteCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1227
+ /**
1228
+ * Removes all stored vCenter credentials from the database.
1229
+ * Delete stored credentials
1230
+ */
1231
+ deleteCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1093
1232
  /**
1094
1233
  * Creates request options for deleteForecasterRun without sending the request
1095
1234
  */
@@ -1138,6 +1277,30 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1138
1277
  * Get agent status
1139
1278
  */
1140
1279
  getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
1280
+ /**
1281
+ * Creates request options for getApplications without sending the request
1282
+ */
1283
+ getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
1284
+ /**
1285
+ * List detected applications running on VMs
1286
+ */
1287
+ getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
1288
+ /**
1289
+ * List detected applications running on VMs
1290
+ */
1291
+ getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
1292
+ /**
1293
+ * Creates request options for getClusterUtilization without sending the request
1294
+ */
1295
+ getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
1296
+ /**
1297
+ * Get latest cluster utilization by cluster ID
1298
+ */
1299
+ getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
1300
+ /**
1301
+ * Get latest cluster utilization by cluster ID
1302
+ */
1303
+ getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
1141
1304
  /**
1142
1305
  * Creates request options for getCollectorStatus without sending the request
1143
1306
  */
@@ -1150,6 +1313,34 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1150
1313
  * Get collector status
1151
1314
  */
1152
1315
  getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
1316
+ /**
1317
+ * Creates request options for getCredentialCapabilities without sending the request
1318
+ */
1319
+ getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
1320
+ /**
1321
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
1322
+ * Check vSphere operation capabilities
1323
+ */
1324
+ getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
1325
+ /**
1326
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
1327
+ * Check vSphere operation capabilities
1328
+ */
1329
+ getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
1330
+ /**
1331
+ * Creates request options for getCredentials without sending the request
1332
+ */
1333
+ getCredentialsRequestOpts(): Promise<runtime.RequestOpts>;
1334
+ /**
1335
+ * Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
1336
+ * Get stored credential status
1337
+ */
1338
+ getCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
1339
+ /**
1340
+ * Returns stored credential metadata (URL only). Never exposes username or password. This endpoint does not revalidate credentials against vSphere.
1341
+ * Get stored credential status
1342
+ */
1343
+ getCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
1153
1344
  /**
1154
1345
  * Creates request options for getForecasterDatastores without sending the request
1155
1346
  */
@@ -1430,6 +1621,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1430
1621
  * Compute pair capabilities
1431
1622
  */
1432
1623
  postForecasterPairCapabilities(requestParameters: PostForecasterPairCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PairCapability>>;
1624
+ /**
1625
+ * Creates request options for putCredentials without sending the request
1626
+ */
1627
+ putCredentialsRequestOpts(requestParameters: PutCredentialsRequest): Promise<runtime.RequestOpts>;
1628
+ /**
1629
+ * 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.
1630
+ * Store vCenter credentials
1631
+ */
1632
+ putCredentialsRaw(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialStatus>>;
1633
+ /**
1634
+ * 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.
1635
+ * Store vCenter credentials
1636
+ */
1637
+ putCredentials(requestParameters: PutCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialStatus>;
1433
1638
  /**
1434
1639
  * Creates request options for putForecasterCredentials without sending the request
1435
1640
  */