@openshift-migration-advisor/agent-sdk 0.12.0-4e95135f8529 → 0.12.0-63f65d8f0324
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 +6 -0
- package/README.md +6 -2
- package/dist/apis/DefaultApi.d.ts +34 -0
- package/dist/apis/DefaultApi.js +38 -0
- package/dist/esm/apis/DefaultApi.d.ts +34 -0
- package/dist/esm/apis/DefaultApi.js +38 -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/OperationCapability.d.ts +38 -0
- package/dist/esm/models/OperationCapability.js +45 -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 +3 -0
- package/dist/esm/models/index.js +3 -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/OperationCapability.d.ts +38 -0
- package/dist/models/OperationCapability.js +52 -0
- package/dist/models/VmInspectionStatus.d.ts +6 -0
- package/dist/models/VmInspectionStatus.js +4 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/CapabilityStatus.md +34 -0
- package/docs/CapabilityStatusCapabilities.md +38 -0
- package/docs/DefaultApi.md +65 -3
- package/docs/OperationCapability.md +36 -0
- package/docs/VmInspectionStatus.md +2 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +66 -0
- package/src/models/CapabilityStatus.ts +74 -0
- package/src/models/CapabilityStatusCapabilities.ts +92 -0
- package/src/models/OperationCapability.ts +74 -0
- package/src/models/VmInspectionStatus.ts +9 -0
- package/src/models/index.ts +3 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -8,6 +8,8 @@ docs/ApplicationListResponse.md
|
|
|
8
8
|
docs/ApplicationOverview.md
|
|
9
9
|
docs/ApplicationVM.md
|
|
10
10
|
docs/BenchmarkRun.md
|
|
11
|
+
docs/CapabilityStatus.md
|
|
12
|
+
docs/CapabilityStatusCapabilities.md
|
|
11
13
|
docs/ClusterFeatures.md
|
|
12
14
|
docs/ClusterUtilization.md
|
|
13
15
|
docs/CollectorStartRequest.md
|
|
@@ -40,6 +42,7 @@ docs/Inventory.md
|
|
|
40
42
|
docs/InventoryData.md
|
|
41
43
|
docs/MigrationIssue.md
|
|
42
44
|
docs/Network.md
|
|
45
|
+
docs/OperationCapability.md
|
|
43
46
|
docs/OsInfo.md
|
|
44
47
|
docs/PairCapability.md
|
|
45
48
|
docs/PairCapabilityRequest.md
|
|
@@ -88,6 +91,8 @@ src/models/ApplicationListResponse.ts
|
|
|
88
91
|
src/models/ApplicationOverview.ts
|
|
89
92
|
src/models/ApplicationVM.ts
|
|
90
93
|
src/models/BenchmarkRun.ts
|
|
94
|
+
src/models/CapabilityStatus.ts
|
|
95
|
+
src/models/CapabilityStatusCapabilities.ts
|
|
91
96
|
src/models/ClusterFeatures.ts
|
|
92
97
|
src/models/ClusterUtilization.ts
|
|
93
98
|
src/models/CollectorStartRequest.ts
|
|
@@ -119,6 +124,7 @@ src/models/Inventory.ts
|
|
|
119
124
|
src/models/InventoryData.ts
|
|
120
125
|
src/models/MigrationIssue.ts
|
|
121
126
|
src/models/Network.ts
|
|
127
|
+
src/models/OperationCapability.ts
|
|
122
128
|
src/models/OsInfo.ts
|
|
123
129
|
src/models/PairCapability.ts
|
|
124
130
|
src/models/PairCapabilityRequest.ts
|
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-63f65d8f0324
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -59,6 +59,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
59
59
|
*DefaultApi* | [**getApplications**](docs/DefaultApi.md#getapplications) | **GET** /applications | List detected applications running on VMs
|
|
60
60
|
*DefaultApi* | [**getClusterUtilization**](docs/DefaultApi.md#getclusterutilization) | **GET** /clusters/{cluster_id}/utilization | Get latest cluster utilization by cluster ID
|
|
61
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
|
|
62
63
|
*DefaultApi* | [**getCredentials**](docs/DefaultApi.md#getcredentials) | **GET** /credentials | Get stored credential status
|
|
63
64
|
*DefaultApi* | [**getForecasterDatastores**](docs/DefaultApi.md#getforecasterdatastores) | **POST** /forecaster/datastores | List available datastores
|
|
64
65
|
*DefaultApi* | [**getForecasterRuns**](docs/DefaultApi.md#getforecasterruns) | **GET** /forecaster/runs | List benchmark runs
|
|
@@ -109,6 +110,8 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
109
110
|
- [ApplicationOverview](docs/ApplicationOverview.md)
|
|
110
111
|
- [ApplicationVM](docs/ApplicationVM.md)
|
|
111
112
|
- [BenchmarkRun](docs/BenchmarkRun.md)
|
|
113
|
+
- [CapabilityStatus](docs/CapabilityStatus.md)
|
|
114
|
+
- [CapabilityStatusCapabilities](docs/CapabilityStatusCapabilities.md)
|
|
112
115
|
- [ClusterFeatures](docs/ClusterFeatures.md)
|
|
113
116
|
- [ClusterUtilization](docs/ClusterUtilization.md)
|
|
114
117
|
- [CollectorStartRequest](docs/CollectorStartRequest.md)
|
|
@@ -140,6 +143,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
140
143
|
- [InventoryData](docs/InventoryData.md)
|
|
141
144
|
- [MigrationIssue](docs/MigrationIssue.md)
|
|
142
145
|
- [Network](docs/Network.md)
|
|
146
|
+
- [OperationCapability](docs/OperationCapability.md)
|
|
143
147
|
- [OsInfo](docs/OsInfo.md)
|
|
144
148
|
- [PairCapability](docs/PairCapability.md)
|
|
145
149
|
- [PairCapabilityRequest](docs/PairCapabilityRequest.md)
|
|
@@ -191,7 +195,7 @@ and is automatically generated by the
|
|
|
191
195
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
192
196
|
|
|
193
197
|
- API version: `v1`
|
|
194
|
-
- Package version: `0.12.0-
|
|
198
|
+
- Package version: `0.12.0-63f65d8f0324`
|
|
195
199
|
- Generator version: `7.24.0-SNAPSHOT`
|
|
196
200
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
197
201
|
|
|
@@ -14,6 +14,7 @@ import { type AgentModeRequest } from '../models/AgentModeRequest.js';
|
|
|
14
14
|
import { type AgentStatus } from '../models/AgentStatus.js';
|
|
15
15
|
import { type ApplicationListResponse } from '../models/ApplicationListResponse.js';
|
|
16
16
|
import { type BenchmarkRun } from '../models/BenchmarkRun.js';
|
|
17
|
+
import { type CapabilityStatus } from '../models/CapabilityStatus.js';
|
|
17
18
|
import { type CollectorStartRequest } from '../models/CollectorStartRequest.js';
|
|
18
19
|
import { type CollectorStatus } from '../models/CollectorStatus.js';
|
|
19
20
|
import { type CreateGroupRequest } from '../models/CreateGroupRequest.js';
|
|
@@ -351,6 +352,25 @@ export interface DefaultApiInterface {
|
|
|
351
352
|
* Get collector status
|
|
352
353
|
*/
|
|
353
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>;
|
|
354
374
|
/**
|
|
355
375
|
* Creates request options for getCredentials without sending the request
|
|
356
376
|
* @throws {RequiredError}
|
|
@@ -1293,6 +1313,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1293
1313
|
* Get collector status
|
|
1294
1314
|
*/
|
|
1295
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>;
|
|
1296
1330
|
/**
|
|
1297
1331
|
* Creates request options for getCredentials without sending the request
|
|
1298
1332
|
*/
|
package/dist/apis/DefaultApi.js
CHANGED
|
@@ -28,6 +28,7 @@ const AgentModeRequest_js_1 = require("../models/AgentModeRequest.js");
|
|
|
28
28
|
const AgentStatus_js_1 = require("../models/AgentStatus.js");
|
|
29
29
|
const ApplicationListResponse_js_1 = require("../models/ApplicationListResponse.js");
|
|
30
30
|
const BenchmarkRun_js_1 = require("../models/BenchmarkRun.js");
|
|
31
|
+
const CapabilityStatus_js_1 = require("../models/CapabilityStatus.js");
|
|
31
32
|
const CollectorStartRequest_js_1 = require("../models/CollectorStartRequest.js");
|
|
32
33
|
const CollectorStatus_js_1 = require("../models/CollectorStatus.js");
|
|
33
34
|
const CreateGroupRequest_js_1 = require("../models/CreateGroupRequest.js");
|
|
@@ -404,6 +405,43 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
404
405
|
return yield response.value();
|
|
405
406
|
});
|
|
406
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* Creates request options for getCredentialCapabilities without sending the request
|
|
410
|
+
*/
|
|
411
|
+
getCredentialCapabilitiesRequestOpts() {
|
|
412
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
413
|
+
const queryParameters = {};
|
|
414
|
+
const headerParameters = {};
|
|
415
|
+
let urlPath = `/credentials/capabilities`;
|
|
416
|
+
return {
|
|
417
|
+
path: urlPath,
|
|
418
|
+
method: 'GET',
|
|
419
|
+
headers: headerParameters,
|
|
420
|
+
query: queryParameters,
|
|
421
|
+
};
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
426
|
+
* Check vSphere operation capabilities
|
|
427
|
+
*/
|
|
428
|
+
getCredentialCapabilitiesRaw(initOverrides) {
|
|
429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
430
|
+
const requestOptions = yield this.getCredentialCapabilitiesRequestOpts();
|
|
431
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
432
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, CapabilityStatus_js_1.CapabilityStatusFromJSON)(jsonValue));
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
437
|
+
* Check vSphere operation capabilities
|
|
438
|
+
*/
|
|
439
|
+
getCredentialCapabilities(initOverrides) {
|
|
440
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
441
|
+
const response = yield this.getCredentialCapabilitiesRaw(initOverrides);
|
|
442
|
+
return yield response.value();
|
|
443
|
+
});
|
|
444
|
+
}
|
|
407
445
|
/**
|
|
408
446
|
* Creates request options for getCredentials without sending the request
|
|
409
447
|
*/
|
|
@@ -14,6 +14,7 @@ import { type AgentModeRequest } from '../models/AgentModeRequest.js';
|
|
|
14
14
|
import { type AgentStatus } from '../models/AgentStatus.js';
|
|
15
15
|
import { type ApplicationListResponse } from '../models/ApplicationListResponse.js';
|
|
16
16
|
import { type BenchmarkRun } from '../models/BenchmarkRun.js';
|
|
17
|
+
import { type CapabilityStatus } from '../models/CapabilityStatus.js';
|
|
17
18
|
import { type CollectorStartRequest } from '../models/CollectorStartRequest.js';
|
|
18
19
|
import { type CollectorStatus } from '../models/CollectorStatus.js';
|
|
19
20
|
import { type CreateGroupRequest } from '../models/CreateGroupRequest.js';
|
|
@@ -351,6 +352,25 @@ export interface DefaultApiInterface {
|
|
|
351
352
|
* Get collector status
|
|
352
353
|
*/
|
|
353
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>;
|
|
354
374
|
/**
|
|
355
375
|
* Creates request options for getCredentials without sending the request
|
|
356
376
|
* @throws {RequiredError}
|
|
@@ -1293,6 +1313,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1293
1313
|
* Get collector status
|
|
1294
1314
|
*/
|
|
1295
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>;
|
|
1296
1330
|
/**
|
|
1297
1331
|
* Creates request options for getCredentials without sending the request
|
|
1298
1332
|
*/
|
|
@@ -25,6 +25,7 @@ import { AgentModeRequestToJSON, } from '../models/AgentModeRequest.js';
|
|
|
25
25
|
import { AgentStatusFromJSON, } from '../models/AgentStatus.js';
|
|
26
26
|
import { ApplicationListResponseFromJSON, } from '../models/ApplicationListResponse.js';
|
|
27
27
|
import { BenchmarkRunFromJSON, } from '../models/BenchmarkRun.js';
|
|
28
|
+
import { CapabilityStatusFromJSON, } from '../models/CapabilityStatus.js';
|
|
28
29
|
import { CollectorStartRequestToJSON, } from '../models/CollectorStartRequest.js';
|
|
29
30
|
import { CollectorStatusFromJSON, } from '../models/CollectorStatus.js';
|
|
30
31
|
import { CreateGroupRequestToJSON, } from '../models/CreateGroupRequest.js';
|
|
@@ -401,6 +402,43 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
401
402
|
return yield response.value();
|
|
402
403
|
});
|
|
403
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* Creates request options for getCredentialCapabilities without sending the request
|
|
407
|
+
*/
|
|
408
|
+
getCredentialCapabilitiesRequestOpts() {
|
|
409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
410
|
+
const queryParameters = {};
|
|
411
|
+
const headerParameters = {};
|
|
412
|
+
let urlPath = `/credentials/capabilities`;
|
|
413
|
+
return {
|
|
414
|
+
path: urlPath,
|
|
415
|
+
method: 'GET',
|
|
416
|
+
headers: headerParameters,
|
|
417
|
+
query: queryParameters,
|
|
418
|
+
};
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
423
|
+
* Check vSphere operation capabilities
|
|
424
|
+
*/
|
|
425
|
+
getCredentialCapabilitiesRaw(initOverrides) {
|
|
426
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
427
|
+
const requestOptions = yield this.getCredentialCapabilitiesRequestOpts();
|
|
428
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
429
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityStatusFromJSON(jsonValue));
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
|
|
434
|
+
* Check vSphere operation capabilities
|
|
435
|
+
*/
|
|
436
|
+
getCredentialCapabilities(initOverrides) {
|
|
437
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
438
|
+
const response = yield this.getCredentialCapabilitiesRaw(initOverrides);
|
|
439
|
+
return yield response.value();
|
|
440
|
+
});
|
|
441
|
+
}
|
|
404
442
|
/**
|
|
405
443
|
* Creates request options for getCredentials without sending the request
|
|
406
444
|
*/
|
|
@@ -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 { CapabilityStatusCapabilities } from './CapabilityStatusCapabilities.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CapabilityStatus
|
|
17
|
+
*/
|
|
18
|
+
export interface CapabilityStatus {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CapabilityStatusCapabilities}
|
|
22
|
+
* @memberof CapabilityStatus
|
|
23
|
+
*/
|
|
24
|
+
capabilities: CapabilityStatusCapabilities;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CapabilityStatus interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCapabilityStatus(value: object): value is CapabilityStatus;
|
|
30
|
+
export declare function CapabilityStatusFromJSON(json: any): CapabilityStatus;
|
|
31
|
+
export declare function CapabilityStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilityStatus;
|
|
32
|
+
export declare function CapabilityStatusToJSON(json: any): CapabilityStatus;
|
|
33
|
+
export declare function CapabilityStatusToJSONTyped(value?: CapabilityStatus | 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 { CapabilityStatusCapabilitiesFromJSON, CapabilityStatusCapabilitiesToJSON, } from './CapabilityStatusCapabilities.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CapabilityStatus interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCapabilityStatus(value) {
|
|
19
|
+
if (!('capabilities' in value) || value['capabilities'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function CapabilityStatusFromJSON(json) {
|
|
24
|
+
return CapabilityStatusFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function CapabilityStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'capabilities': CapabilityStatusCapabilitiesFromJSON(json['capabilities']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function CapabilityStatusToJSON(json) {
|
|
35
|
+
return CapabilityStatusToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function CapabilityStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'capabilities': CapabilityStatusCapabilitiesToJSON(value['capabilities']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { OperationCapability } from './OperationCapability.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CapabilityStatusCapabilities
|
|
17
|
+
*/
|
|
18
|
+
export interface CapabilityStatusCapabilities {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {OperationCapability}
|
|
22
|
+
* @memberof CapabilityStatusCapabilities
|
|
23
|
+
*/
|
|
24
|
+
collector: OperationCapability;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OperationCapability}
|
|
28
|
+
* @memberof CapabilityStatusCapabilities
|
|
29
|
+
*/
|
|
30
|
+
inspector: OperationCapability;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {OperationCapability}
|
|
34
|
+
* @memberof CapabilityStatusCapabilities
|
|
35
|
+
*/
|
|
36
|
+
forecaster: OperationCapability;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the CapabilityStatusCapabilities interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfCapabilityStatusCapabilities(value: object): value is CapabilityStatusCapabilities;
|
|
42
|
+
export declare function CapabilityStatusCapabilitiesFromJSON(json: any): CapabilityStatusCapabilities;
|
|
43
|
+
export declare function CapabilityStatusCapabilitiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilityStatusCapabilities;
|
|
44
|
+
export declare function CapabilityStatusCapabilitiesToJSON(json: any): CapabilityStatusCapabilities;
|
|
45
|
+
export declare function CapabilityStatusCapabilitiesToJSONTyped(value?: CapabilityStatusCapabilities | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { OperationCapabilityFromJSON, OperationCapabilityToJSON, } from './OperationCapability.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CapabilityStatusCapabilities interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCapabilityStatusCapabilities(value) {
|
|
19
|
+
if (!('collector' in value) || value['collector'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('inspector' in value) || value['inspector'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('forecaster' in value) || value['forecaster'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function CapabilityStatusCapabilitiesFromJSON(json) {
|
|
28
|
+
return CapabilityStatusCapabilitiesFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function CapabilityStatusCapabilitiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'collector': OperationCapabilityFromJSON(json['collector']),
|
|
36
|
+
'inspector': OperationCapabilityFromJSON(json['inspector']),
|
|
37
|
+
'forecaster': OperationCapabilityFromJSON(json['forecaster']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function CapabilityStatusCapabilitiesToJSON(json) {
|
|
41
|
+
return CapabilityStatusCapabilitiesToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function CapabilityStatusCapabilitiesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'collector': OperationCapabilityToJSON(value['collector']),
|
|
49
|
+
'inspector': OperationCapabilityToJSON(value['inspector']),
|
|
50
|
+
'forecaster': OperationCapabilityToJSON(value['forecaster']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 OperationCapability
|
|
16
|
+
*/
|
|
17
|
+
export interface OperationCapability {
|
|
18
|
+
/**
|
|
19
|
+
* Whether stored credentials have sufficient privileges
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof OperationCapability
|
|
22
|
+
*/
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Specific vSphere privileges that are missing
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof OperationCapability
|
|
28
|
+
*/
|
|
29
|
+
missingPrivileges?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OperationCapability interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOperationCapability(value: object): value is OperationCapability;
|
|
35
|
+
export declare function OperationCapabilityFromJSON(json: any): OperationCapability;
|
|
36
|
+
export declare function OperationCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperationCapability;
|
|
37
|
+
export declare function OperationCapabilityToJSON(json: any): OperationCapability;
|
|
38
|
+
export declare function OperationCapabilityToJSONTyped(value?: OperationCapability | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 OperationCapability interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfOperationCapability(value) {
|
|
18
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function OperationCapabilityFromJSON(json) {
|
|
23
|
+
return OperationCapabilityFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function OperationCapabilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'enabled': json['enabled'],
|
|
31
|
+
'missingPrivileges': json['missingPrivileges'] == null ? undefined : json['missingPrivileges'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function OperationCapabilityToJSON(json) {
|
|
35
|
+
return OperationCapabilityToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function OperationCapabilityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'enabled': value['enabled'],
|
|
43
|
+
'missingPrivileges': value['missingPrivileges'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -21,6 +21,12 @@ export interface VmInspectionStatus {
|
|
|
21
21
|
* @memberof VmInspectionStatus
|
|
22
22
|
*/
|
|
23
23
|
state: VmInspectionStatusStateEnum;
|
|
24
|
+
/**
|
|
25
|
+
* State details
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VmInspectionStatus
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
24
30
|
/**
|
|
25
31
|
* Error message when state is error
|
|
26
32
|
* @type {string}
|
|
@@ -27,6 +27,8 @@ export const VmInspectionStatusStateEnum = {
|
|
|
27
27
|
export function instanceOfVmInspectionStatus(value) {
|
|
28
28
|
if (!('state' in value) || value['state'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
32
34
|
export function VmInspectionStatusFromJSON(json) {
|
|
@@ -38,6 +40,7 @@ export function VmInspectionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
}
|
|
39
41
|
return {
|
|
40
42
|
'state': json['state'],
|
|
43
|
+
'message': json['message'],
|
|
41
44
|
'error': json['error'] == null ? undefined : json['error'],
|
|
42
45
|
'results': json['results'] == null ? undefined : json['results'],
|
|
43
46
|
};
|
|
@@ -51,6 +54,7 @@ export function VmInspectionStatusToJSONTyped(value, ignoreDiscriminator = false
|
|
|
51
54
|
}
|
|
52
55
|
return {
|
|
53
56
|
'state': value['state'],
|
|
57
|
+
'message': value['message'],
|
|
54
58
|
'error': value['error'],
|
|
55
59
|
'results': value['results'],
|
|
56
60
|
};
|
|
@@ -4,6 +4,8 @@ export * from './ApplicationListResponse.js';
|
|
|
4
4
|
export * from './ApplicationOverview.js';
|
|
5
5
|
export * from './ApplicationVM.js';
|
|
6
6
|
export * from './BenchmarkRun.js';
|
|
7
|
+
export * from './CapabilityStatus.js';
|
|
8
|
+
export * from './CapabilityStatusCapabilities.js';
|
|
7
9
|
export * from './ClusterFeatures.js';
|
|
8
10
|
export * from './ClusterUtilization.js';
|
|
9
11
|
export * from './CollectorStartRequest.js';
|
|
@@ -35,6 +37,7 @@ export * from './Inventory.js';
|
|
|
35
37
|
export * from './InventoryData.js';
|
|
36
38
|
export * from './MigrationIssue.js';
|
|
37
39
|
export * from './Network.js';
|
|
40
|
+
export * from './OperationCapability.js';
|
|
38
41
|
export * from './OsInfo.js';
|
|
39
42
|
export * from './PairCapability.js';
|
|
40
43
|
export * from './PairCapabilityRequest.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -6,6 +6,8 @@ export * from './ApplicationListResponse.js';
|
|
|
6
6
|
export * from './ApplicationOverview.js';
|
|
7
7
|
export * from './ApplicationVM.js';
|
|
8
8
|
export * from './BenchmarkRun.js';
|
|
9
|
+
export * from './CapabilityStatus.js';
|
|
10
|
+
export * from './CapabilityStatusCapabilities.js';
|
|
9
11
|
export * from './ClusterFeatures.js';
|
|
10
12
|
export * from './ClusterUtilization.js';
|
|
11
13
|
export * from './CollectorStartRequest.js';
|
|
@@ -37,6 +39,7 @@ export * from './Inventory.js';
|
|
|
37
39
|
export * from './InventoryData.js';
|
|
38
40
|
export * from './MigrationIssue.js';
|
|
39
41
|
export * from './Network.js';
|
|
42
|
+
export * from './OperationCapability.js';
|
|
40
43
|
export * from './OsInfo.js';
|
|
41
44
|
export * from './PairCapability.js';
|
|
42
45
|
export * from './PairCapabilityRequest.js';
|
|
@@ -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 { CapabilityStatusCapabilities } from './CapabilityStatusCapabilities.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CapabilityStatus
|
|
17
|
+
*/
|
|
18
|
+
export interface CapabilityStatus {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CapabilityStatusCapabilities}
|
|
22
|
+
* @memberof CapabilityStatus
|
|
23
|
+
*/
|
|
24
|
+
capabilities: CapabilityStatusCapabilities;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CapabilityStatus interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCapabilityStatus(value: object): value is CapabilityStatus;
|
|
30
|
+
export declare function CapabilityStatusFromJSON(json: any): CapabilityStatus;
|
|
31
|
+
export declare function CapabilityStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilityStatus;
|
|
32
|
+
export declare function CapabilityStatusToJSON(json: any): CapabilityStatus;
|
|
33
|
+
export declare function CapabilityStatusToJSONTyped(value?: CapabilityStatus | null, ignoreDiscriminator?: boolean): any;
|