@openshift-migration-advisor/agent-sdk 0.12.0-b4cc95d9b3d0 → 0.12.0-b940fec9f503

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 (51) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +7 -3
  4. package/dist/apis/DefaultApi.d.ts +31 -0
  5. package/dist/apis/DefaultApi.js +36 -0
  6. package/dist/esm/apis/DefaultApi.d.ts +31 -0
  7. package/dist/esm/apis/DefaultApi.js +36 -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/CollectorStartRequest.d.ts +12 -0
  15. package/dist/esm/models/CollectorStartRequest.js +4 -0
  16. package/dist/esm/models/VMFilterOptionsResponse.d.ts +6 -0
  17. package/dist/esm/models/VMFilterOptionsResponse.js +4 -0
  18. package/dist/esm/models/VcenterCredentials.d.ts +12 -0
  19. package/dist/esm/models/VcenterCredentials.js +4 -0
  20. package/dist/esm/models/index.d.ts +3 -0
  21. package/dist/esm/models/index.js +3 -0
  22. package/dist/models/ApplicationListResponse.d.ts +33 -0
  23. package/dist/models/ApplicationListResponse.js +51 -0
  24. package/dist/models/ApplicationOverview.d.ts +51 -0
  25. package/dist/models/ApplicationOverview.js +63 -0
  26. package/dist/models/ApplicationVM.d.ts +38 -0
  27. package/dist/models/ApplicationVM.js +54 -0
  28. package/dist/models/CollectorStartRequest.d.ts +12 -0
  29. package/dist/models/CollectorStartRequest.js +4 -0
  30. package/dist/models/VMFilterOptionsResponse.d.ts +6 -0
  31. package/dist/models/VMFilterOptionsResponse.js +4 -0
  32. package/dist/models/VcenterCredentials.d.ts +12 -0
  33. package/dist/models/VcenterCredentials.js +4 -0
  34. package/dist/models/index.d.ts +3 -0
  35. package/dist/models/index.js +3 -0
  36. package/docs/ApplicationListResponse.md +34 -0
  37. package/docs/ApplicationOverview.md +40 -0
  38. package/docs/ApplicationVM.md +36 -0
  39. package/docs/CollectorStartRequest.md +4 -0
  40. package/docs/DefaultApi.md +59 -0
  41. package/docs/VMFilterOptionsResponse.md +2 -0
  42. package/docs/VcenterCredentials.md +4 -0
  43. package/package.json +1 -1
  44. package/src/apis/DefaultApi.ts +63 -0
  45. package/src/models/ApplicationListResponse.ts +74 -0
  46. package/src/models/ApplicationOverview.ts +101 -0
  47. package/src/models/ApplicationVM.ts +75 -0
  48. package/src/models/CollectorStartRequest.ts +16 -0
  49. package/src/models/VMFilterOptionsResponse.ts +9 -0
  50. package/src/models/VcenterCredentials.ts +16 -0
  51. package/src/models/index.ts +3 -0
@@ -4,6 +4,9 @@
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
9
12
  docs/ClusterUtilization.md
@@ -80,6 +83,9 @@ src/apis/index.ts
80
83
  src/index.ts
81
84
  src/models/AgentModeRequest.ts
82
85
  src/models/AgentStatus.ts
86
+ src/models/ApplicationListResponse.ts
87
+ src/models/ApplicationOverview.ts
88
+ src/models/ApplicationVM.ts
83
89
  src/models/BenchmarkRun.ts
84
90
  src/models/ClusterFeatures.ts
85
91
  src/models/ClusterUtilization.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-b4cc95d9b3d0
1
+ # @openshift-migration-advisor/agent-sdk@0.12.0-b940fec9f503
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -55,6 +55,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
55
55
  *DefaultApi* | [**deleteGroup**](docs/DefaultApi.md#deletegroup) | **DELETE** /groups/{id} | Delete group
56
56
  *DefaultApi* | [**deleteLabelGlobally**](docs/DefaultApi.md#deletelabelglobally) | **DELETE** /vms/labels/{label} | Delete label from all VMs
57
57
  *DefaultApi* | [**getAgentStatus**](docs/DefaultApi.md#getagentstatus) | **GET** /agent | Get agent status
58
+ *DefaultApi* | [**getApplications**](docs/DefaultApi.md#getapplications) | **GET** /applications | List detected applications running on VMs
58
59
  *DefaultApi* | [**getClusterUtilization**](docs/DefaultApi.md#getclusterutilization) | **GET** /clusters/{cluster_id}/utilization | Get latest cluster utilization by cluster ID
59
60
  *DefaultApi* | [**getCollectorStatus**](docs/DefaultApi.md#getcollectorstatus) | **GET** /collector | Get collector status
60
61
  *DefaultApi* | [**getForecasterDatastores**](docs/DefaultApi.md#getforecasterdatastores) | **POST** /forecaster/datastores | List available datastores
@@ -101,6 +102,9 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
101
102
 
102
103
  - [AgentModeRequest](docs/AgentModeRequest.md)
103
104
  - [AgentStatus](docs/AgentStatus.md)
105
+ - [ApplicationListResponse](docs/ApplicationListResponse.md)
106
+ - [ApplicationOverview](docs/ApplicationOverview.md)
107
+ - [ApplicationVM](docs/ApplicationVM.md)
104
108
  - [BenchmarkRun](docs/BenchmarkRun.md)
105
109
  - [ClusterFeatures](docs/ClusterFeatures.md)
106
110
  - [ClusterUtilization](docs/ClusterUtilization.md)
@@ -183,8 +187,8 @@ and is automatically generated by the
183
187
  [OpenAPI Generator](https://openapi-generator.tech) project:
184
188
 
185
189
  - API version: `v1`
186
- - Package version: `0.12.0-b4cc95d9b3d0`
187
- - Generator version: `7.23.0-SNAPSHOT`
190
+ - Package version: `0.12.0-b940fec9f503`
191
+ - Generator version: `7.24.0-SNAPSHOT`
188
192
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
189
193
 
190
194
  The generated npm module supports the following:
@@ -12,6 +12,7 @@
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';
@@ -271,6 +272,24 @@ export interface DefaultApiInterface {
271
272
  * Get agent status
272
273
  */
273
274
  getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
275
+ /**
276
+ * Creates request options for getApplications without sending the request
277
+ * @throws {RequiredError}
278
+ * @memberof DefaultApiInterface
279
+ */
280
+ getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
281
+ /**
282
+ *
283
+ * @summary List detected applications running on VMs
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ * @memberof DefaultApiInterface
287
+ */
288
+ getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
289
+ /**
290
+ * List detected applications running on VMs
291
+ */
292
+ getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
274
293
  /**
275
294
  * Creates request options for getClusterUtilization without sending the request
276
295
  * @param {string} clusterId vSphere MoRef (e.g. \&quot;domain-c123\&quot;) or generated cluster ID (e.g. \&quot;cluster-a3f7b2c1d4e89012\&quot;)
@@ -1161,6 +1180,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1161
1180
  * Get agent status
1162
1181
  */
1163
1182
  getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
1183
+ /**
1184
+ * Creates request options for getApplications without sending the request
1185
+ */
1186
+ getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
1187
+ /**
1188
+ * List detected applications running on VMs
1189
+ */
1190
+ getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
1191
+ /**
1192
+ * List detected applications running on VMs
1193
+ */
1194
+ getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
1164
1195
  /**
1165
1196
  * Creates request options for getClusterUtilization without sending the request
1166
1197
  */
@@ -26,6 +26,7 @@ exports.DefaultApi = void 0;
26
26
  const runtime = require("../runtime.js");
27
27
  const AgentModeRequest_js_1 = require("../models/AgentModeRequest.js");
28
28
  const AgentStatus_js_1 = require("../models/AgentStatus.js");
29
+ const ApplicationListResponse_js_1 = require("../models/ApplicationListResponse.js");
29
30
  const BenchmarkRun_js_1 = require("../models/BenchmarkRun.js");
30
31
  const CollectorStartRequest_js_1 = require("../models/CollectorStartRequest.js");
31
32
  const CollectorStatus_js_1 = require("../models/CollectorStatus.js");
@@ -257,6 +258,41 @@ class DefaultApi extends runtime.BaseAPI {
257
258
  return yield response.value();
258
259
  });
259
260
  }
261
+ /**
262
+ * Creates request options for getApplications without sending the request
263
+ */
264
+ getApplicationsRequestOpts() {
265
+ return __awaiter(this, void 0, void 0, function* () {
266
+ const queryParameters = {};
267
+ const headerParameters = {};
268
+ let urlPath = `/applications`;
269
+ return {
270
+ path: urlPath,
271
+ method: 'GET',
272
+ headers: headerParameters,
273
+ query: queryParameters,
274
+ };
275
+ });
276
+ }
277
+ /**
278
+ * List detected applications running on VMs
279
+ */
280
+ getApplicationsRaw(initOverrides) {
281
+ return __awaiter(this, void 0, void 0, function* () {
282
+ const requestOptions = yield this.getApplicationsRequestOpts();
283
+ const response = yield this.request(requestOptions, initOverrides);
284
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, ApplicationListResponse_js_1.ApplicationListResponseFromJSON)(jsonValue));
285
+ });
286
+ }
287
+ /**
288
+ * List detected applications running on VMs
289
+ */
290
+ getApplications(initOverrides) {
291
+ return __awaiter(this, void 0, void 0, function* () {
292
+ const response = yield this.getApplicationsRaw(initOverrides);
293
+ return yield response.value();
294
+ });
295
+ }
260
296
  /**
261
297
  * Creates request options for getClusterUtilization without sending the request
262
298
  */
@@ -12,6 +12,7 @@
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';
@@ -271,6 +272,24 @@ export interface DefaultApiInterface {
271
272
  * Get agent status
272
273
  */
273
274
  getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
275
+ /**
276
+ * Creates request options for getApplications without sending the request
277
+ * @throws {RequiredError}
278
+ * @memberof DefaultApiInterface
279
+ */
280
+ getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
281
+ /**
282
+ *
283
+ * @summary List detected applications running on VMs
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ * @memberof DefaultApiInterface
287
+ */
288
+ getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
289
+ /**
290
+ * List detected applications running on VMs
291
+ */
292
+ getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
274
293
  /**
275
294
  * Creates request options for getClusterUtilization without sending the request
276
295
  * @param {string} clusterId vSphere MoRef (e.g. \&quot;domain-c123\&quot;) or generated cluster ID (e.g. \&quot;cluster-a3f7b2c1d4e89012\&quot;)
@@ -1161,6 +1180,18 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1161
1180
  * Get agent status
1162
1181
  */
1163
1182
  getAgentStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentStatus>;
1183
+ /**
1184
+ * Creates request options for getApplications without sending the request
1185
+ */
1186
+ getApplicationsRequestOpts(): Promise<runtime.RequestOpts>;
1187
+ /**
1188
+ * List detected applications running on VMs
1189
+ */
1190
+ getApplicationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationListResponse>>;
1191
+ /**
1192
+ * List detected applications running on VMs
1193
+ */
1194
+ getApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationListResponse>;
1164
1195
  /**
1165
1196
  * Creates request options for getClusterUtilization without sending the request
1166
1197
  */
@@ -23,6 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  import * as runtime from '../runtime.js';
24
24
  import { AgentModeRequestToJSON, } from '../models/AgentModeRequest.js';
25
25
  import { AgentStatusFromJSON, } from '../models/AgentStatus.js';
26
+ import { ApplicationListResponseFromJSON, } from '../models/ApplicationListResponse.js';
26
27
  import { BenchmarkRunFromJSON, } from '../models/BenchmarkRun.js';
27
28
  import { CollectorStartRequestToJSON, } from '../models/CollectorStartRequest.js';
28
29
  import { CollectorStatusFromJSON, } from '../models/CollectorStatus.js';
@@ -254,6 +255,41 @@ export class DefaultApi extends runtime.BaseAPI {
254
255
  return yield response.value();
255
256
  });
256
257
  }
258
+ /**
259
+ * Creates request options for getApplications without sending the request
260
+ */
261
+ getApplicationsRequestOpts() {
262
+ return __awaiter(this, void 0, void 0, function* () {
263
+ const queryParameters = {};
264
+ const headerParameters = {};
265
+ let urlPath = `/applications`;
266
+ return {
267
+ path: urlPath,
268
+ method: 'GET',
269
+ headers: headerParameters,
270
+ query: queryParameters,
271
+ };
272
+ });
273
+ }
274
+ /**
275
+ * List detected applications running on VMs
276
+ */
277
+ getApplicationsRaw(initOverrides) {
278
+ return __awaiter(this, void 0, void 0, function* () {
279
+ const requestOptions = yield this.getApplicationsRequestOpts();
280
+ const response = yield this.request(requestOptions, initOverrides);
281
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApplicationListResponseFromJSON(jsonValue));
282
+ });
283
+ }
284
+ /**
285
+ * List detected applications running on VMs
286
+ */
287
+ getApplications(initOverrides) {
288
+ return __awaiter(this, void 0, void 0, function* () {
289
+ const response = yield this.getApplicationsRaw(initOverrides);
290
+ return yield response.value();
291
+ });
292
+ }
257
293
  /**
258
294
  * Creates request options for getClusterUtilization without sending the request
259
295
  */
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApplicationOverview } from './ApplicationOverview.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApplicationListResponse
17
+ */
18
+ export interface ApplicationListResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ApplicationOverview>}
22
+ * @memberof ApplicationListResponse
23
+ */
24
+ applications: Array<ApplicationOverview>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ApplicationListResponse interface.
28
+ */
29
+ export declare function instanceOfApplicationListResponse(value: object): value is ApplicationListResponse;
30
+ export declare function ApplicationListResponseFromJSON(json: any): ApplicationListResponse;
31
+ export declare function ApplicationListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationListResponse;
32
+ export declare function ApplicationListResponseToJSON(json: any): ApplicationListResponse;
33
+ export declare function ApplicationListResponseToJSONTyped(value?: ApplicationListResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApplicationOverviewFromJSON, ApplicationOverviewToJSON, } from './ApplicationOverview.js';
15
+ /**
16
+ * Check if a given object implements the ApplicationListResponse interface.
17
+ */
18
+ export function instanceOfApplicationListResponse(value) {
19
+ if (!('applications' in value) || value['applications'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function ApplicationListResponseFromJSON(json) {
24
+ return ApplicationListResponseFromJSONTyped(json, false);
25
+ }
26
+ export function ApplicationListResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'applications': (json['applications'].map(ApplicationOverviewFromJSON)),
32
+ };
33
+ }
34
+ export function ApplicationListResponseToJSON(json) {
35
+ return ApplicationListResponseToJSONTyped(json, false);
36
+ }
37
+ export function ApplicationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'applications': (value['applications'].map(ApplicationOverviewToJSON)),
43
+ };
44
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApplicationVM } from './ApplicationVM.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApplicationOverview
17
+ */
18
+ export interface ApplicationOverview {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ApplicationOverview
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApplicationOverview
29
+ */
30
+ description: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ApplicationOverview
35
+ */
36
+ vmCount: number;
37
+ /**
38
+ *
39
+ * @type {Array<ApplicationVM>}
40
+ * @memberof ApplicationOverview
41
+ */
42
+ vms: Array<ApplicationVM>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApplicationOverview interface.
46
+ */
47
+ export declare function instanceOfApplicationOverview(value: object): value is ApplicationOverview;
48
+ export declare function ApplicationOverviewFromJSON(json: any): ApplicationOverview;
49
+ export declare function ApplicationOverviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationOverview;
50
+ export declare function ApplicationOverviewToJSON(json: any): ApplicationOverview;
51
+ export declare function ApplicationOverviewToJSONTyped(value?: ApplicationOverview | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApplicationVMFromJSON, ApplicationVMToJSON, } from './ApplicationVM.js';
15
+ /**
16
+ * Check if a given object implements the ApplicationOverview interface.
17
+ */
18
+ export function instanceOfApplicationOverview(value) {
19
+ if (!('name' in value) || value['name'] === undefined)
20
+ return false;
21
+ if (!('description' in value) || value['description'] === undefined)
22
+ return false;
23
+ if (!('vmCount' in value) || value['vmCount'] === undefined)
24
+ return false;
25
+ if (!('vms' in value) || value['vms'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function ApplicationOverviewFromJSON(json) {
30
+ return ApplicationOverviewFromJSONTyped(json, false);
31
+ }
32
+ export function ApplicationOverviewFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'description': json['description'],
39
+ 'vmCount': json['vmCount'],
40
+ 'vms': (json['vms'].map(ApplicationVMFromJSON)),
41
+ };
42
+ }
43
+ export function ApplicationOverviewToJSON(json) {
44
+ return ApplicationOverviewToJSONTyped(json, false);
45
+ }
46
+ export function ApplicationOverviewToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'description': value['description'],
53
+ 'vmCount': value['vmCount'],
54
+ 'vms': (value['vms'].map(ApplicationVMToJSON)),
55
+ };
56
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApplicationVM
16
+ */
17
+ export interface ApplicationVM {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApplicationVM
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApplicationVM
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ApplicationVM interface.
33
+ */
34
+ export declare function instanceOfApplicationVM(value: object): value is ApplicationVM;
35
+ export declare function ApplicationVMFromJSON(json: any): ApplicationVM;
36
+ export declare function ApplicationVMFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationVM;
37
+ export declare function ApplicationVMToJSON(json: any): ApplicationVM;
38
+ export declare function ApplicationVMToJSONTyped(value?: ApplicationVM | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ApplicationVM interface.
16
+ */
17
+ export function instanceOfApplicationVM(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function ApplicationVMFromJSON(json) {
25
+ return ApplicationVMFromJSONTyped(json, false);
26
+ }
27
+ export function ApplicationVMFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'id': json['id'],
33
+ 'name': json['name'],
34
+ };
35
+ }
36
+ export function ApplicationVMToJSON(json) {
37
+ return ApplicationVMToJSONTyped(json, false);
38
+ }
39
+ export function ApplicationVMToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'id': value['id'],
45
+ 'name': value['name'],
46
+ };
47
+ }
@@ -33,6 +33,18 @@ export interface CollectorStartRequest {
33
33
  * @memberof CollectorStartRequest
34
34
  */
35
35
  password: string;
36
+ /**
37
+ * PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
38
+ * @type {string}
39
+ * @memberof CollectorStartRequest
40
+ */
41
+ cacert?: string;
42
+ /**
43
+ * When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
44
+ * @type {boolean}
45
+ * @memberof CollectorStartRequest
46
+ */
47
+ skipTls?: boolean;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the CollectorStartRequest interface.
@@ -34,6 +34,8 @@ export function CollectorStartRequestFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'url': json['url'],
35
35
  'username': json['username'],
36
36
  'password': json['password'],
37
+ 'cacert': json['cacert'] == null ? undefined : json['cacert'],
38
+ 'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
37
39
  };
38
40
  }
39
41
  export function CollectorStartRequestToJSON(json) {
@@ -47,5 +49,7 @@ export function CollectorStartRequestToJSONTyped(value, ignoreDiscriminator = fa
47
49
  'url': value['url'],
48
50
  'username': value['username'],
49
51
  'password': value['password'],
52
+ 'cacert': value['cacert'],
53
+ 'skipTls': value['skipTls'],
50
54
  };
51
55
  }
@@ -39,6 +39,12 @@ export interface VMFilterOptionsResponse {
39
39
  * @memberof VMFilterOptionsResponse
40
40
  */
41
41
  concernCategories: Array<string>;
42
+ /**
43
+ * Distinct detected application names
44
+ * @type {Array<string>}
45
+ * @memberof VMFilterOptionsResponse
46
+ */
47
+ applications: Array<string>;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the VMFilterOptionsResponse interface.
@@ -23,6 +23,8 @@ export function instanceOfVMFilterOptionsResponse(value) {
23
23
  return false;
24
24
  if (!('concernCategories' in value) || value['concernCategories'] === undefined)
25
25
  return false;
26
+ if (!('applications' in value) || value['applications'] === undefined)
27
+ return false;
26
28
  return true;
27
29
  }
28
30
  export function VMFilterOptionsResponseFromJSON(json) {
@@ -37,6 +39,7 @@ export function VMFilterOptionsResponseFromJSONTyped(json, ignoreDiscriminator)
37
39
  'datacenters': json['datacenters'],
38
40
  'concernLabels': json['concernLabels'],
39
41
  'concernCategories': json['concernCategories'],
42
+ 'applications': json['applications'],
40
43
  };
41
44
  }
42
45
  export function VMFilterOptionsResponseToJSON(json) {
@@ -51,5 +54,6 @@ export function VMFilterOptionsResponseToJSONTyped(value, ignoreDiscriminator =
51
54
  'datacenters': value['datacenters'],
52
55
  'concernLabels': value['concernLabels'],
53
56
  'concernCategories': value['concernCategories'],
57
+ 'applications': value['applications'],
54
58
  };
55
59
  }
@@ -33,6 +33,18 @@ export interface VcenterCredentials {
33
33
  * @memberof VcenterCredentials
34
34
  */
35
35
  password: string;
36
+ /**
37
+ * PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
38
+ * @type {string}
39
+ * @memberof VcenterCredentials
40
+ */
41
+ cacert?: string;
42
+ /**
43
+ * When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
44
+ * @type {boolean}
45
+ * @memberof VcenterCredentials
46
+ */
47
+ skipTls?: boolean;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the VcenterCredentials interface.
@@ -34,6 +34,8 @@ export function VcenterCredentialsFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'url': json['url'],
35
35
  'username': json['username'],
36
36
  'password': json['password'],
37
+ 'cacert': json['cacert'] == null ? undefined : json['cacert'],
38
+ 'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
37
39
  };
38
40
  }
39
41
  export function VcenterCredentialsToJSON(json) {
@@ -47,5 +49,7 @@ export function VcenterCredentialsToJSONTyped(value, ignoreDiscriminator = false
47
49
  'url': value['url'],
48
50
  'username': value['username'],
49
51
  'password': value['password'],
52
+ 'cacert': value['cacert'],
53
+ 'skipTls': value['skipTls'],
50
54
  };
51
55
  }
@@ -1,5 +1,8 @@
1
1
  export * from './AgentModeRequest.js';
2
2
  export * from './AgentStatus.js';
3
+ export * from './ApplicationListResponse.js';
4
+ export * from './ApplicationOverview.js';
5
+ export * from './ApplicationVM.js';
3
6
  export * from './BenchmarkRun.js';
4
7
  export * from './ClusterFeatures.js';
5
8
  export * from './ClusterUtilization.js';