@openshift-migration-advisor/agent-sdk 0.16.0 → 0.17.0-65f4a2a64a85
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 +8 -0
- package/README.md +13 -9
- package/dist/apis/DefaultApi.d.ts +74 -85
- package/dist/apis/DefaultApi.js +80 -86
- package/dist/esm/apis/DefaultApi.d.ts +74 -85
- package/dist/esm/apis/DefaultApi.js +80 -86
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +38 -0
- package/dist/esm/models/BatchUpdateExclusionRequest.js +47 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +12 -12
- package/dist/esm/models/CollectorStartRequest.js +5 -11
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/ExportInventory400Response.d.ts +32 -0
- package/dist/esm/models/ExportInventory400Response.js +41 -0
- package/dist/esm/models/ExportInventory500Response.d.ts +32 -0
- package/dist/esm/models/ExportInventory500Response.js +41 -0
- package/dist/esm/models/Host.js +3 -3
- package/dist/esm/models/IssuesBreakdown.d.ts +56 -0
- package/dist/esm/models/IssuesBreakdown.js +59 -0
- package/dist/esm/models/OsInfo.d.ts +16 -0
- package/dist/esm/models/OsInfo.js +11 -0
- package/dist/esm/models/VMs.d.ts +7 -0
- package/dist/esm/models/VMs.js +3 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/runtime.d.ts +1 -0
- package/dist/esm/runtime.js +4 -0
- package/dist/models/BatchUpdateExclusionRequest.d.ts +38 -0
- package/dist/models/BatchUpdateExclusionRequest.js +54 -0
- package/dist/models/CollectorStartRequest.d.ts +12 -12
- package/dist/models/CollectorStartRequest.js +5 -11
- package/dist/models/Datastore.js +1 -1
- package/dist/models/ExportInventory400Response.d.ts +32 -0
- package/dist/models/ExportInventory400Response.js +48 -0
- package/dist/models/ExportInventory500Response.d.ts +32 -0
- package/dist/models/ExportInventory500Response.js +48 -0
- package/dist/models/Host.js +3 -3
- package/dist/models/IssuesBreakdown.d.ts +56 -0
- package/dist/models/IssuesBreakdown.js +66 -0
- package/dist/models/OsInfo.d.ts +16 -0
- package/dist/models/OsInfo.js +12 -0
- package/dist/models/VMs.d.ts +7 -0
- package/dist/models/VMs.js +3 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/runtime.d.ts +1 -0
- package/dist/runtime.js +5 -0
- package/docs/BatchUpdateExclusionRequest.md +36 -0
- package/docs/CollectorStartRequest.md +3 -2
- package/docs/DefaultApi.md +139 -139
- package/docs/ExportInventory400Response.md +34 -0
- package/docs/ExportInventory500Response.md +34 -0
- package/docs/IssuesBreakdown.md +42 -0
- package/docs/OsInfo.md +2 -0
- package/docs/VMs.md +2 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +159 -159
- package/src/models/BatchUpdateExclusionRequest.ts +75 -0
- package/src/models/CollectorStartRequest.ts +17 -20
- package/src/models/Datastore.ts +1 -1
- package/src/models/ExportInventory400Response.ts +65 -0
- package/src/models/ExportInventory500Response.ts +65 -0
- package/src/models/Host.ts +3 -3
- package/src/models/IssuesBreakdown.ts +102 -0
- package/src/models/OsInfo.ts +21 -0
- package/src/models/VMs.ts +15 -0
- package/src/models/index.ts +4 -0
- package/src/runtime.ts +5 -0
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
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 ExportInventory400Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExportInventory400Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ExportInventory400ResponseFromJSON(json) {
|
|
21
|
+
return ExportInventory400ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ExportInventory400ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function ExportInventory400ResponseToJSON(json) {
|
|
32
|
+
return ExportInventory400ResponseToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ExportInventory400ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'error': value['error'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ExportInventory500Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ExportInventory500Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExportInventory500Response
|
|
22
|
+
*/
|
|
23
|
+
error?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ExportInventory500Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfExportInventory500Response(value: object): value is ExportInventory500Response;
|
|
29
|
+
export declare function ExportInventory500ResponseFromJSON(json: any): ExportInventory500Response;
|
|
30
|
+
export declare function ExportInventory500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportInventory500Response;
|
|
31
|
+
export declare function ExportInventory500ResponseToJSON(json: any): ExportInventory500Response;
|
|
32
|
+
export declare function ExportInventory500ResponseToJSONTyped(value?: ExportInventory500Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ExportInventory500Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExportInventory500Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ExportInventory500ResponseFromJSON(json) {
|
|
21
|
+
return ExportInventory500ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ExportInventory500ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function ExportInventory500ResponseToJSON(json) {
|
|
32
|
+
return ExportInventory500ResponseToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ExportInventory500ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'error': value['error'],
|
|
40
|
+
};
|
|
41
|
+
}
|
package/dist/esm/models/Host.js
CHANGED
|
@@ -32,9 +32,9 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'id': json['id'] == null ? undefined : json['id'],
|
|
33
33
|
'vendor': json['vendor'],
|
|
34
34
|
'model': json['model'],
|
|
35
|
-
'cpuCores': json['cpuCores']
|
|
36
|
-
'cpuSockets': json['cpuSockets']
|
|
37
|
-
'memoryMB': json['memoryMB']
|
|
35
|
+
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
36
|
+
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
37
|
+
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
export function HostToJSON(json) {
|
|
@@ -0,0 +1,56 @@
|
|
|
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 IssuesBreakdown
|
|
16
|
+
*/
|
|
17
|
+
export interface IssuesBreakdown {
|
|
18
|
+
/**
|
|
19
|
+
* Number of VMs with at least one Critical issue
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof IssuesBreakdown
|
|
22
|
+
*/
|
|
23
|
+
critical: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of VMs with at least one Warning issue
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof IssuesBreakdown
|
|
28
|
+
*/
|
|
29
|
+
warning: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of VMs with at least one Information issue
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof IssuesBreakdown
|
|
34
|
+
*/
|
|
35
|
+
information: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of VMs with at least one Advisory issue
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IssuesBreakdown
|
|
40
|
+
*/
|
|
41
|
+
advisory: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of VMs with at least one Error issue
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IssuesBreakdown
|
|
46
|
+
*/
|
|
47
|
+
error: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the IssuesBreakdown interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfIssuesBreakdown(value: object): value is IssuesBreakdown;
|
|
53
|
+
export declare function IssuesBreakdownFromJSON(json: any): IssuesBreakdown;
|
|
54
|
+
export declare function IssuesBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssuesBreakdown;
|
|
55
|
+
export declare function IssuesBreakdownToJSON(json: any): IssuesBreakdown;
|
|
56
|
+
export declare function IssuesBreakdownToJSONTyped(value?: IssuesBreakdown | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 IssuesBreakdown interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfIssuesBreakdown(value) {
|
|
18
|
+
if (!('critical' in value) || value['critical'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('warning' in value) || value['warning'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('information' in value) || value['information'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('advisory' in value) || value['advisory'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('error' in value) || value['error'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function IssuesBreakdownFromJSON(json) {
|
|
31
|
+
return IssuesBreakdownFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function IssuesBreakdownFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'critical': json['critical'],
|
|
39
|
+
'warning': json['warning'],
|
|
40
|
+
'information': json['information'],
|
|
41
|
+
'advisory': json['advisory'],
|
|
42
|
+
'error': json['error'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function IssuesBreakdownToJSON(json) {
|
|
46
|
+
return IssuesBreakdownToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function IssuesBreakdownToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'critical': value['critical'],
|
|
54
|
+
'warning': value['warning'],
|
|
55
|
+
'information': value['information'],
|
|
56
|
+
'advisory': value['advisory'],
|
|
57
|
+
'error': value['error'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -27,6 +27,12 @@ export interface OsInfo {
|
|
|
27
27
|
* @memberof OsInfo
|
|
28
28
|
*/
|
|
29
29
|
supported: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* OS support tier per Red Hat KCS article 4234591
|
|
32
|
+
* @type {OsInfoSupportTierEnum}
|
|
33
|
+
* @memberof OsInfo
|
|
34
|
+
*/
|
|
35
|
+
supportTier?: OsInfoSupportTierEnum;
|
|
30
36
|
/**
|
|
31
37
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
32
38
|
* @type {string}
|
|
@@ -34,6 +40,16 @@ export interface OsInfo {
|
|
|
34
40
|
*/
|
|
35
41
|
upgradeRecommendation?: string;
|
|
36
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const OsInfoSupportTierEnum: {
|
|
47
|
+
readonly Certified: "certified";
|
|
48
|
+
readonly VendorSupported: "vendor_supported";
|
|
49
|
+
readonly CommunitySupported: "community_supported";
|
|
50
|
+
readonly SpecialHandling: "special_handling";
|
|
51
|
+
};
|
|
52
|
+
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
37
53
|
/**
|
|
38
54
|
* Check if a given object implements the OsInfo interface.
|
|
39
55
|
*/
|
|
@@ -11,6 +11,15 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const OsInfoSupportTierEnum = {
|
|
18
|
+
Certified: 'certified',
|
|
19
|
+
VendorSupported: 'vendor_supported',
|
|
20
|
+
CommunitySupported: 'community_supported',
|
|
21
|
+
SpecialHandling: 'special_handling'
|
|
22
|
+
};
|
|
14
23
|
/**
|
|
15
24
|
* Check if a given object implements the OsInfo interface.
|
|
16
25
|
*/
|
|
@@ -31,6 +40,7 @@ export function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
40
|
return {
|
|
32
41
|
'count': json['count'],
|
|
33
42
|
'supported': json['supported'],
|
|
43
|
+
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
34
44
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
35
45
|
};
|
|
36
46
|
}
|
|
@@ -44,6 +54,7 @@ export function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
54
|
return {
|
|
45
55
|
'count': value['count'],
|
|
46
56
|
'supported': value['supported'],
|
|
57
|
+
'supportTier': value['supportTier'],
|
|
47
58
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
48
59
|
};
|
|
49
60
|
}
|
package/dist/esm/models/VMs.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MigrationIssue } from './MigrationIssue.js';
|
|
13
13
|
import type { OsInfo } from './OsInfo.js';
|
|
14
|
+
import type { IssuesBreakdown } from './IssuesBreakdown.js';
|
|
14
15
|
import type { DiskSizeTierSummary } from './DiskSizeTierSummary.js';
|
|
15
16
|
import type { DiskTypeSummary } from './DiskTypeSummary.js';
|
|
16
17
|
import type { VMResourceBreakdown } from './VMResourceBreakdown.js';
|
|
@@ -177,6 +178,12 @@ export interface VMs {
|
|
|
177
178
|
* @memberof VMs
|
|
178
179
|
*/
|
|
179
180
|
migrationWarnings: Array<MigrationIssue>;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {IssuesBreakdown}
|
|
184
|
+
* @memberof VMs
|
|
185
|
+
*/
|
|
186
|
+
issuesBreakdown?: IssuesBreakdown;
|
|
180
187
|
}
|
|
181
188
|
/**
|
|
182
189
|
* Check if a given object implements the VMs interface.
|
package/dist/esm/models/VMs.js
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { mapValues } from '../runtime.js';
|
|
15
15
|
import { MigrationIssueFromJSON, MigrationIssueToJSON, } from './MigrationIssue.js';
|
|
16
16
|
import { OsInfoFromJSON, OsInfoToJSON, } from './OsInfo.js';
|
|
17
|
+
import { IssuesBreakdownFromJSON, IssuesBreakdownToJSON, } from './IssuesBreakdown.js';
|
|
17
18
|
import { DiskSizeTierSummaryFromJSON, DiskSizeTierSummaryToJSON, } from './DiskSizeTierSummary.js';
|
|
18
19
|
import { DiskTypeSummaryFromJSON, DiskTypeSummaryToJSON, } from './DiskTypeSummary.js';
|
|
19
20
|
import { VMResourceBreakdownFromJSON, VMResourceBreakdownToJSON, } from './VMResourceBreakdown.js';
|
|
@@ -71,6 +72,7 @@ export function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
72
|
'osInfo': json['osInfo'] == null ? undefined : (mapValues(json['osInfo'], OsInfoFromJSON)),
|
|
72
73
|
'notMigratableReasons': (json['notMigratableReasons'].map(MigrationIssueFromJSON)),
|
|
73
74
|
'migrationWarnings': (json['migrationWarnings'].map(MigrationIssueFromJSON)),
|
|
75
|
+
'issuesBreakdown': json['issuesBreakdown'] == null ? undefined : IssuesBreakdownFromJSON(json['issuesBreakdown']),
|
|
74
76
|
};
|
|
75
77
|
}
|
|
76
78
|
export function VMsToJSON(json) {
|
|
@@ -103,5 +105,6 @@ export function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
103
105
|
'osInfo': value['osInfo'] == null ? undefined : (mapValues(value['osInfo'], OsInfoToJSON)),
|
|
104
106
|
'notMigratableReasons': (value['notMigratableReasons'].map(MigrationIssueToJSON)),
|
|
105
107
|
'migrationWarnings': (value['migrationWarnings'].map(MigrationIssueToJSON)),
|
|
108
|
+
'issuesBreakdown': IssuesBreakdownToJSON(value['issuesBreakdown']),
|
|
106
109
|
};
|
|
107
110
|
}
|
|
@@ -3,6 +3,7 @@ export * from './AgentStatus.js';
|
|
|
3
3
|
export * from './ApplicationListResponse.js';
|
|
4
4
|
export * from './ApplicationOverview.js';
|
|
5
5
|
export * from './ApplicationVM.js';
|
|
6
|
+
export * from './BatchUpdateExclusionRequest.js';
|
|
6
7
|
export * from './BenchmarkRun.js';
|
|
7
8
|
export * from './CapabilityStatus.js';
|
|
8
9
|
export * from './CapabilityStatusCapabilities.js';
|
|
@@ -19,6 +20,8 @@ export * from './DeleteLabelGloballyResponse.js';
|
|
|
19
20
|
export * from './DiskSizeTierSummary.js';
|
|
20
21
|
export * from './DiskTypeSummary.js';
|
|
21
22
|
export * from './EstimateRange.js';
|
|
23
|
+
export * from './ExportInventory400Response.js';
|
|
24
|
+
export * from './ExportInventory500Response.js';
|
|
22
25
|
export * from './ForecastStats.js';
|
|
23
26
|
export * from './ForecasterDatastoresRequest.js';
|
|
24
27
|
export * from './ForecasterPairStatus.js';
|
|
@@ -35,6 +38,7 @@ export * from './Infra.js';
|
|
|
35
38
|
export * from './InspectorStatus.js';
|
|
36
39
|
export * from './Inventory.js';
|
|
37
40
|
export * from './InventoryData.js';
|
|
41
|
+
export * from './IssuesBreakdown.js';
|
|
38
42
|
export * from './MigrationIssue.js';
|
|
39
43
|
export * from './Network.js';
|
|
40
44
|
export * from './OperationCapability.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export * from './AgentStatus.js';
|
|
|
5
5
|
export * from './ApplicationListResponse.js';
|
|
6
6
|
export * from './ApplicationOverview.js';
|
|
7
7
|
export * from './ApplicationVM.js';
|
|
8
|
+
export * from './BatchUpdateExclusionRequest.js';
|
|
8
9
|
export * from './BenchmarkRun.js';
|
|
9
10
|
export * from './CapabilityStatus.js';
|
|
10
11
|
export * from './CapabilityStatusCapabilities.js';
|
|
@@ -21,6 +22,8 @@ export * from './DeleteLabelGloballyResponse.js';
|
|
|
21
22
|
export * from './DiskSizeTierSummary.js';
|
|
22
23
|
export * from './DiskTypeSummary.js';
|
|
23
24
|
export * from './EstimateRange.js';
|
|
25
|
+
export * from './ExportInventory400Response.js';
|
|
26
|
+
export * from './ExportInventory500Response.js';
|
|
24
27
|
export * from './ForecastStats.js';
|
|
25
28
|
export * from './ForecasterDatastoresRequest.js';
|
|
26
29
|
export * from './ForecasterPairStatus.js';
|
|
@@ -37,6 +40,7 @@ export * from './Infra.js';
|
|
|
37
40
|
export * from './InspectorStatus.js';
|
|
38
41
|
export * from './Inventory.js';
|
|
39
42
|
export * from './InventoryData.js';
|
|
43
|
+
export * from './IssuesBreakdown.js';
|
|
40
44
|
export * from './MigrationIssue.js';
|
|
41
45
|
export * from './Network.js';
|
|
42
46
|
export * from './OperationCapability.js';
|
package/dist/esm/runtime.d.ts
CHANGED
|
@@ -127,6 +127,7 @@ export declare function exists(json: any, key: string): boolean;
|
|
|
127
127
|
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
128
|
[key: string]: any;
|
|
129
129
|
};
|
|
130
|
+
export declare function anyToJSON(value: any): any;
|
|
130
131
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
131
132
|
export interface Consume {
|
|
132
133
|
contentType: string;
|
package/dist/esm/runtime.js
CHANGED
|
@@ -296,6 +296,10 @@ export function mapValues(data, fn) {
|
|
|
296
296
|
}
|
|
297
297
|
return result;
|
|
298
298
|
}
|
|
299
|
+
// Pass-through serializer for `any`-typed properties in form data. See #1877.
|
|
300
|
+
export function anyToJSON(value) {
|
|
301
|
+
return value;
|
|
302
|
+
}
|
|
299
303
|
export function canConsumeForm(consumes) {
|
|
300
304
|
var _a;
|
|
301
305
|
for (const consume of consumes) {
|
|
@@ -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 BatchUpdateExclusionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchUpdateExclusionRequest {
|
|
18
|
+
/**
|
|
19
|
+
* VM IDs to update
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BatchUpdateExclusionRequest
|
|
22
|
+
*/
|
|
23
|
+
vmIds: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Exclusion state to set for all VMs
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof BatchUpdateExclusionRequest
|
|
28
|
+
*/
|
|
29
|
+
migrationExcluded: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the BatchUpdateExclusionRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfBatchUpdateExclusionRequest(value: object): value is BatchUpdateExclusionRequest;
|
|
35
|
+
export declare function BatchUpdateExclusionRequestFromJSON(json: any): BatchUpdateExclusionRequest;
|
|
36
|
+
export declare function BatchUpdateExclusionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchUpdateExclusionRequest;
|
|
37
|
+
export declare function BatchUpdateExclusionRequestToJSON(json: any): BatchUpdateExclusionRequest;
|
|
38
|
+
export declare function BatchUpdateExclusionRequestToJSONTyped(value?: BatchUpdateExclusionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfBatchUpdateExclusionRequest = instanceOfBatchUpdateExclusionRequest;
|
|
17
|
+
exports.BatchUpdateExclusionRequestFromJSON = BatchUpdateExclusionRequestFromJSON;
|
|
18
|
+
exports.BatchUpdateExclusionRequestFromJSONTyped = BatchUpdateExclusionRequestFromJSONTyped;
|
|
19
|
+
exports.BatchUpdateExclusionRequestToJSON = BatchUpdateExclusionRequestToJSON;
|
|
20
|
+
exports.BatchUpdateExclusionRequestToJSONTyped = BatchUpdateExclusionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BatchUpdateExclusionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBatchUpdateExclusionRequest(value) {
|
|
25
|
+
if (!('vmIds' in value) || value['vmIds'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('migrationExcluded' in value) || value['migrationExcluded'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function BatchUpdateExclusionRequestFromJSON(json) {
|
|
32
|
+
return BatchUpdateExclusionRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function BatchUpdateExclusionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'vmIds': json['vmIds'],
|
|
40
|
+
'migrationExcluded': json['migrationExcluded'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function BatchUpdateExclusionRequestToJSON(json) {
|
|
44
|
+
return BatchUpdateExclusionRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function BatchUpdateExclusionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'vmIds': value['vmIds'],
|
|
52
|
+
'migrationExcluded': value['migrationExcluded'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Start collection. Credentials are optional if previously stored via PUT /credentials.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface CollectorStartRequest
|
|
16
16
|
*/
|
|
@@ -20,31 +20,31 @@ export interface CollectorStartRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CollectorStartRequest
|
|
22
22
|
*/
|
|
23
|
-
url
|
|
23
|
+
url?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* vCenter username
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CollectorStartRequest
|
|
28
28
|
*/
|
|
29
|
-
username
|
|
29
|
+
username?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* vCenter password
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CollectorStartRequest
|
|
34
34
|
*/
|
|
35
|
-
password
|
|
35
|
+
password?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {
|
|
37
|
+
* Skip TLS certificate verification
|
|
38
|
+
* @type {boolean}
|
|
39
39
|
* @memberof CollectorStartRequest
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
skipTls?: boolean;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* PEM-encoded CA certificate bundle
|
|
44
|
+
* @type {string}
|
|
45
45
|
* @memberof CollectorStartRequest
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
cacert?: string;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the CollectorStartRequest interface.
|
|
@@ -22,12 +22,6 @@ exports.CollectorStartRequestToJSONTyped = CollectorStartRequestToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the CollectorStartRequest interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfCollectorStartRequest(value) {
|
|
25
|
-
if (!('url' in value) || value['url'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('username' in value) || value['username'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('password' in value) || value['password'] === undefined)
|
|
30
|
-
return false;
|
|
31
25
|
return true;
|
|
32
26
|
}
|
|
33
27
|
function CollectorStartRequestFromJSON(json) {
|
|
@@ -38,11 +32,11 @@ function CollectorStartRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
32
|
return json;
|
|
39
33
|
}
|
|
40
34
|
return {
|
|
41
|
-
'url': json['url'],
|
|
42
|
-
'username': json['username'],
|
|
43
|
-
'password': json['password'],
|
|
44
|
-
'cacert': json['cacert'] == null ? undefined : json['cacert'],
|
|
35
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
36
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
37
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
45
38
|
'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
|
|
39
|
+
'cacert': json['cacert'] == null ? undefined : json['cacert'],
|
|
46
40
|
};
|
|
47
41
|
}
|
|
48
42
|
function CollectorStartRequestToJSON(json) {
|
|
@@ -56,7 +50,7 @@ function CollectorStartRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
50
|
'url': value['url'],
|
|
57
51
|
'username': value['username'],
|
|
58
52
|
'password': value['password'],
|
|
59
|
-
'cacert': value['cacert'],
|
|
60
53
|
'skipTls': value['skipTls'],
|
|
54
|
+
'cacert': value['cacert'],
|
|
61
55
|
};
|
|
62
56
|
}
|
package/dist/models/Datastore.js
CHANGED
|
@@ -56,7 +56,7 @@ function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'hardwareAcceleratedMove': json['hardwareAcceleratedMove'],
|
|
57
57
|
'protocolType': json['protocolType'],
|
|
58
58
|
'model': json['model'],
|
|
59
|
-
'hostId': json['hostId']
|
|
59
|
+
'hostId': json['hostId'] === undefined ? undefined : json['hostId'] === null ? null : json['hostId'],
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
function DatastoreToJSON(json) {
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ExportInventory400Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ExportInventory400Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExportInventory400Response
|
|
22
|
+
*/
|
|
23
|
+
error?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ExportInventory400Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfExportInventory400Response(value: object): value is ExportInventory400Response;
|
|
29
|
+
export declare function ExportInventory400ResponseFromJSON(json: any): ExportInventory400Response;
|
|
30
|
+
export declare function ExportInventory400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportInventory400Response;
|
|
31
|
+
export declare function ExportInventory400ResponseToJSON(json: any): ExportInventory400Response;
|
|
32
|
+
export declare function ExportInventory400ResponseToJSONTyped(value?: ExportInventory400Response | null, ignoreDiscriminator?: boolean): any;
|