@openshift-migration-advisor/agent-sdk 0.31.0 → 0.32.0-1e681f2e74af
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 +20 -2
- package/README.md +13 -4
- package/dist/apis/AppliancesApi.d.ts +64 -0
- package/dist/apis/AppliancesApi.js +72 -0
- package/dist/apis/CollectorApi.d.ts +0 -38
- package/dist/apis/CollectorApi.js +0 -59
- package/dist/apis/GroupsApi.d.ts +39 -0
- package/dist/apis/GroupsApi.js +40 -0
- package/dist/apis/InventoriesApi.d.ts +9 -9
- package/dist/apis/InventoriesApi.js +3 -3
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AppliancesApi.d.ts +64 -0
- package/dist/esm/apis/AppliancesApi.js +68 -0
- package/dist/esm/apis/CollectorApi.d.ts +0 -38
- package/dist/esm/apis/CollectorApi.js +0 -59
- package/dist/esm/apis/GroupsApi.d.ts +39 -0
- package/dist/esm/apis/GroupsApi.js +40 -0
- package/dist/esm/apis/InventoriesApi.d.ts +9 -9
- package/dist/esm/apis/InventoriesApi.js +3 -3
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Appliance.d.ts +51 -0
- package/dist/esm/models/Appliance.js +64 -0
- package/dist/esm/models/ApplianceListResponse.d.ts +31 -0
- package/dist/esm/models/ApplianceListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +16 -0
- package/dist/esm/models/ApplicationOverview.js +12 -0
- package/dist/esm/models/CollectedInventory.d.ts +31 -0
- package/dist/esm/models/CollectedInventory.js +44 -0
- package/dist/esm/models/GroupResponse.d.ts +2 -2
- package/dist/esm/models/GroupResponse.js +3 -3
- package/dist/esm/models/Host.d.ts +26 -0
- package/dist/esm/models/Host.js +14 -0
- package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
- package/dist/esm/models/HostPhysicalNIC.js +45 -0
- package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
- package/dist/esm/models/HostStorageAdapter.js +55 -0
- package/dist/esm/models/HostStorageLun.d.ts +50 -0
- package/dist/esm/models/HostStorageLun.js +51 -0
- package/dist/esm/models/Inventory.d.ts +24 -2
- package/dist/esm/models/Inventory.js +17 -4
- package/dist/esm/models/OsInfo.d.ts +12 -0
- package/dist/esm/models/OsInfo.js +9 -0
- package/dist/esm/models/Product.d.ts +66 -0
- package/dist/esm/models/Product.js +61 -0
- package/dist/esm/models/RDMBacking.d.ts +26 -0
- package/dist/esm/models/RDMBacking.js +17 -0
- package/dist/esm/models/RDMHostLun.d.ts +42 -0
- package/dist/esm/models/RDMHostLun.js +49 -0
- package/dist/esm/models/UpdateInventory.d.ts +2 -2
- package/dist/esm/models/UpdateInventory.js +3 -3
- package/dist/esm/models/VirtualMachineDetail.d.ts +14 -0
- package/dist/esm/models/VirtualMachineDetail.js +8 -0
- package/dist/esm/models/VirtualMachineDisk.d.ts +8 -0
- package/dist/esm/models/VirtualMachineDisk.js +4 -0
- package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/esm/models/VirtualMachineIdentity.js +47 -0
- package/dist/esm/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/esm/models/VirtualMachineNIC.js +6 -0
- package/dist/esm/models/index.d.ts +9 -1
- package/dist/esm/models/index.js +9 -1
- package/dist/esm/runtime.js +4 -3
- package/dist/models/Appliance.d.ts +51 -0
- package/dist/models/Appliance.js +71 -0
- package/dist/models/ApplianceListResponse.d.ts +31 -0
- package/dist/models/ApplianceListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +16 -0
- package/dist/models/ApplicationOverview.js +12 -0
- package/dist/models/CollectedInventory.d.ts +31 -0
- package/dist/models/CollectedInventory.js +51 -0
- package/dist/models/GroupResponse.d.ts +2 -2
- package/dist/models/GroupResponse.js +3 -3
- package/dist/models/Host.d.ts +26 -0
- package/dist/models/Host.js +14 -0
- package/dist/models/HostPhysicalNIC.d.ts +34 -0
- package/dist/models/HostPhysicalNIC.js +52 -0
- package/dist/models/HostStorageAdapter.d.ts +58 -0
- package/dist/models/HostStorageAdapter.js +62 -0
- package/dist/models/HostStorageLun.d.ts +50 -0
- package/dist/models/HostStorageLun.js +58 -0
- package/dist/models/Inventory.d.ts +24 -2
- package/dist/models/Inventory.js +17 -4
- package/dist/models/OsInfo.d.ts +12 -0
- package/dist/models/OsInfo.js +10 -1
- package/dist/models/Product.d.ts +66 -0
- package/dist/models/Product.js +68 -0
- package/dist/models/RDMBacking.d.ts +26 -0
- package/dist/models/RDMBacking.js +18 -0
- package/dist/models/RDMHostLun.d.ts +42 -0
- package/dist/models/RDMHostLun.js +56 -0
- package/dist/models/UpdateInventory.d.ts +2 -2
- package/dist/models/UpdateInventory.js +3 -3
- package/dist/models/VirtualMachineDetail.d.ts +14 -0
- package/dist/models/VirtualMachineDetail.js +8 -0
- package/dist/models/VirtualMachineDisk.d.ts +8 -0
- package/dist/models/VirtualMachineDisk.js +4 -0
- package/dist/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/models/VirtualMachineIdentity.js +54 -0
- package/dist/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/models/VirtualMachineNIC.js +6 -0
- package/dist/models/index.d.ts +9 -1
- package/dist/models/index.js +9 -1
- package/dist/runtime.js +4 -3
- package/docs/Appliance.md +44 -0
- package/docs/ApplianceListResponse.md +34 -0
- package/docs/AppliancesApi.md +76 -0
- package/docs/ApplicationOverview.md +8 -0
- package/docs/CollectedInventory.md +34 -0
- package/docs/CollectorApi.md +0 -70
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +68 -0
- package/docs/Host.md +12 -0
- package/docs/HostPhysicalNIC.md +36 -0
- package/docs/HostStorageAdapter.md +49 -0
- package/docs/HostStorageLun.md +45 -0
- package/docs/InventoriesApi.md +4 -4
- package/docs/Inventory.md +12 -2
- package/docs/OsInfo.md +2 -0
- package/docs/Product.md +52 -0
- package/docs/RDMBacking.md +8 -0
- package/docs/{Inventory1.md → RDMHostLun.md} +13 -16
- package/docs/UpdateInventory.md +1 -1
- package/docs/VirtualMachineDetail.md +6 -0
- package/docs/VirtualMachineDisk.md +4 -0
- package/docs/VirtualMachineIdentity.md +36 -0
- package/docs/VirtualMachineNIC.md +6 -0
- package/package.json +1 -1
- package/src/apis/AppliancesApi.ts +111 -0
- package/src/apis/CollectorApi.ts +0 -97
- package/src/apis/GroupsApi.ts +80 -0
- package/src/apis/InventoriesApi.ts +14 -14
- package/src/apis/index.ts +1 -0
- package/src/models/Appliance.ts +107 -0
- package/src/models/ApplianceListResponse.ts +72 -0
- package/src/models/ApplicationOverview.ts +26 -0
- package/src/models/CollectedInventory.ts +72 -0
- package/src/models/GroupResponse.ts +9 -9
- package/src/models/Host.ts +51 -0
- package/src/models/HostPhysicalNIC.ts +70 -0
- package/src/models/HostStorageAdapter.ts +105 -0
- package/src/models/HostStorageLun.ts +93 -0
- package/src/models/Inventory.ts +42 -11
- package/src/models/OsInfo.ts +15 -0
- package/src/models/Product.ts +118 -0
- package/src/models/RDMBacking.ts +44 -0
- package/src/models/RDMHostLun.ts +82 -0
- package/src/models/UpdateInventory.ts +9 -9
- package/src/models/VirtualMachineDetail.ts +32 -0
- package/src/models/VirtualMachineDisk.ts +12 -0
- package/src/models/VirtualMachineIdentity.ts +71 -0
- package/src/models/VirtualMachineNIC.ts +18 -0
- package/src/models/index.ts +9 -1
- package/src/runtime.ts +3 -3
- package/dist/esm/models/Inventory1.d.ts +0 -53
- package/dist/esm/models/Inventory1.js +0 -57
- package/dist/models/Inventory1.d.ts +0 -53
- package/dist/models/Inventory1.js +0 -64
- package/src/models/Inventory1.ts +0 -103
|
@@ -11,12 +11,15 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { mapValues, parseDateTime, serializeDateTime } from '../runtime.js';
|
|
15
|
+
import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData.js';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the Inventory interface.
|
|
17
18
|
*/
|
|
18
19
|
export function instanceOfInventory(value) {
|
|
19
|
-
if (!('
|
|
20
|
+
if (!('vcenter_id' in value) || value['vcenter_id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('clusters' in value) || value['clusters'] === undefined)
|
|
20
23
|
return false;
|
|
21
24
|
return true;
|
|
22
25
|
}
|
|
@@ -28,7 +31,12 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
31
|
return json;
|
|
29
32
|
}
|
|
30
33
|
return {
|
|
31
|
-
'
|
|
34
|
+
'vcenter_id': json['vcenter_id'],
|
|
35
|
+
'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
36
|
+
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
37
|
+
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
38
|
+
'created_at': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
|
|
39
|
+
'collection_time': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
|
|
32
40
|
};
|
|
33
41
|
}
|
|
34
42
|
export function InventoryToJSON(json) {
|
|
@@ -39,6 +47,11 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
39
47
|
return value;
|
|
40
48
|
}
|
|
41
49
|
return {
|
|
42
|
-
'
|
|
50
|
+
'vcenter_id': value['vcenter_id'],
|
|
51
|
+
'vcenter_version': value['vcenter_version'],
|
|
52
|
+
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
53
|
+
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
54
|
+
'created_at': value['created_at'] == null ? value['created_at'] : serializeDateTime(value['created_at']),
|
|
55
|
+
'collection_time': value['collection_time'] == null ? value['collection_time'] : serializeDateTime(value['collection_time']),
|
|
43
56
|
};
|
|
44
57
|
}
|
|
@@ -27,6 +27,10 @@ export interface OsInfo {
|
|
|
27
27
|
* OS support tier per Red Hat KCS article 4234591
|
|
28
28
|
*/
|
|
29
29
|
supportTier?: OsInfoSupportTierEnum;
|
|
30
|
+
/**
|
|
31
|
+
* MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
|
|
32
|
+
*/
|
|
33
|
+
mtvStatus?: OsInfoMtvStatusEnum;
|
|
30
34
|
/**
|
|
31
35
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
32
36
|
*/
|
|
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
|
|
|
42
46
|
readonly SpecialHandling: "special_handling";
|
|
43
47
|
};
|
|
44
48
|
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const OsInfoMtvStatusEnum: {
|
|
53
|
+
readonly Green: "green";
|
|
54
|
+
readonly Blue: "blue";
|
|
55
|
+
};
|
|
56
|
+
export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
|
|
45
57
|
/**
|
|
46
58
|
* Check if a given object implements the OsInfo interface.
|
|
47
59
|
*/
|
|
@@ -20,6 +20,13 @@ export const OsInfoSupportTierEnum = {
|
|
|
20
20
|
CommunitySupported: 'community_supported',
|
|
21
21
|
SpecialHandling: 'special_handling',
|
|
22
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export const OsInfoMtvStatusEnum = {
|
|
27
|
+
Green: 'green',
|
|
28
|
+
Blue: 'blue',
|
|
29
|
+
};
|
|
23
30
|
/**
|
|
24
31
|
* Check if a given object implements the OsInfo interface.
|
|
25
32
|
*/
|
|
@@ -41,6 +48,7 @@ export function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
48
|
'count': json['count'],
|
|
42
49
|
'supported': json['supported'],
|
|
43
50
|
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
51
|
+
'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
|
|
44
52
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
45
53
|
};
|
|
46
54
|
}
|
|
@@ -55,6 +63,7 @@ export function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
55
63
|
'count': value['count'],
|
|
56
64
|
'supported': value['supported'],
|
|
57
65
|
'supportTier': value['supportTier'],
|
|
66
|
+
'mtvStatus': value['mtvStatus'],
|
|
58
67
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
59
68
|
};
|
|
60
69
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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: v2
|
|
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 Product
|
|
16
|
+
*/
|
|
17
|
+
export interface Product {
|
|
18
|
+
/**
|
|
19
|
+
* Product key
|
|
20
|
+
*/
|
|
21
|
+
key: number;
|
|
22
|
+
/**
|
|
23
|
+
* Product class identifier
|
|
24
|
+
*/
|
|
25
|
+
classId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Product instance identifier
|
|
28
|
+
*/
|
|
29
|
+
instanceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Product name
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Product vendor
|
|
36
|
+
*/
|
|
37
|
+
vendor?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Product version
|
|
40
|
+
*/
|
|
41
|
+
version?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Full product version
|
|
44
|
+
*/
|
|
45
|
+
fullVersion?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Product vendor URL
|
|
48
|
+
*/
|
|
49
|
+
vendorUrl?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Product URL
|
|
52
|
+
*/
|
|
53
|
+
productUrl?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Application URL
|
|
56
|
+
*/
|
|
57
|
+
appUrl?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the Product interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfProduct(value: object): value is Product;
|
|
63
|
+
export declare function ProductFromJSON(json: any): Product;
|
|
64
|
+
export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
|
|
65
|
+
export declare function ProductToJSON(json: any): Product;
|
|
66
|
+
export declare function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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: v2
|
|
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 Product interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfProduct(value) {
|
|
18
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ProductFromJSON(json) {
|
|
23
|
+
return ProductFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'key': json['key'],
|
|
31
|
+
'classId': json['classId'] == null ? undefined : json['classId'],
|
|
32
|
+
'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
|
|
33
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
34
|
+
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
35
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
36
|
+
'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
|
|
37
|
+
'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
|
|
38
|
+
'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
|
|
39
|
+
'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function ProductToJSON(json) {
|
|
43
|
+
return ProductToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'key': value['key'],
|
|
51
|
+
'classId': value['classId'],
|
|
52
|
+
'instanceId': value['instanceId'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'vendor': value['vendor'],
|
|
55
|
+
'version': value['version'],
|
|
56
|
+
'fullVersion': value['fullVersion'],
|
|
57
|
+
'vendorUrl': value['vendorUrl'],
|
|
58
|
+
'productUrl': value['productUrl'],
|
|
59
|
+
'appUrl': value['appUrl'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { RDMHostLun } from './RDMHostLun.js';
|
|
12
13
|
/**
|
|
13
14
|
* Source-provided backing identity for an RDM disk; omitted when unavailable
|
|
14
15
|
* @export
|
|
@@ -19,7 +20,32 @@ export interface RDMBacking {
|
|
|
19
20
|
* LUN UUID reported directly by the RDM disk backing, when available
|
|
20
21
|
*/
|
|
21
22
|
lunUuid?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Device name reported directly by the RDM disk backing
|
|
25
|
+
*/
|
|
26
|
+
deviceName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Source-normalized RDM compatibility mode
|
|
29
|
+
*/
|
|
30
|
+
compatibilityMode?: RDMBackingCompatibilityModeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* UUID explicitly identifying the RDM backing, when available
|
|
33
|
+
*/
|
|
34
|
+
backingUuid?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
hostLun?: RDMHostLun;
|
|
22
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
export declare const RDMBackingCompatibilityModeEnum: {
|
|
44
|
+
readonly Physical: "physical";
|
|
45
|
+
readonly Virtual: "virtual";
|
|
46
|
+
readonly Unknown: "unknown";
|
|
47
|
+
};
|
|
48
|
+
export type RDMBackingCompatibilityModeEnum = typeof RDMBackingCompatibilityModeEnum[keyof typeof RDMBackingCompatibilityModeEnum];
|
|
23
49
|
/**
|
|
24
50
|
* Check if a given object implements the RDMBacking interface.
|
|
25
51
|
*/
|
|
@@ -11,6 +11,15 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { RDMHostLunFromJSON, RDMHostLunToJSON, } from './RDMHostLun.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const RDMBackingCompatibilityModeEnum = {
|
|
19
|
+
Physical: 'physical',
|
|
20
|
+
Virtual: 'virtual',
|
|
21
|
+
Unknown: 'unknown',
|
|
22
|
+
};
|
|
14
23
|
/**
|
|
15
24
|
* Check if a given object implements the RDMBacking interface.
|
|
16
25
|
*/
|
|
@@ -26,6 +35,10 @@ export function RDMBackingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
35
|
}
|
|
27
36
|
return {
|
|
28
37
|
'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
|
|
38
|
+
'deviceName': json['deviceName'] == null ? undefined : json['deviceName'],
|
|
39
|
+
'compatibilityMode': json['compatibilityMode'] == null ? undefined : json['compatibilityMode'],
|
|
40
|
+
'backingUuid': json['backingUuid'] == null ? undefined : json['backingUuid'],
|
|
41
|
+
'hostLun': json['hostLun'] == null ? undefined : RDMHostLunFromJSON(json['hostLun']),
|
|
29
42
|
};
|
|
30
43
|
}
|
|
31
44
|
export function RDMBackingToJSON(json) {
|
|
@@ -37,5 +50,9 @@ export function RDMBackingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
37
50
|
}
|
|
38
51
|
return {
|
|
39
52
|
'lunUuid': value['lunUuid'],
|
|
53
|
+
'deviceName': value['deviceName'],
|
|
54
|
+
'compatibilityMode': value['compatibilityMode'],
|
|
55
|
+
'backingUuid': value['backingUuid'],
|
|
56
|
+
'hostLun': RDMHostLunToJSON(value['hostLun']),
|
|
40
57
|
};
|
|
41
58
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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: v2
|
|
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
|
+
* Host LUN matched to the RDM disk backing through a verified identifier relationship and the VM's running host
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RDMHostLun
|
|
16
|
+
*/
|
|
17
|
+
export interface RDMHostLun {
|
|
18
|
+
/**
|
|
19
|
+
* Object ID of the uniquely resolved running host that owns the matched LUN
|
|
20
|
+
*/
|
|
21
|
+
hostId: string;
|
|
22
|
+
/**
|
|
23
|
+
* SCSI disk key of the matched host LUN, when available
|
|
24
|
+
*/
|
|
25
|
+
key?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Canonical name (e.g. NAA) of the matched host LUN, when available
|
|
28
|
+
*/
|
|
29
|
+
canonicalName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* LUN UUID of the matched host LUN, when available
|
|
32
|
+
*/
|
|
33
|
+
lunUuid?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the RDMHostLun interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfRDMHostLun(value: object): value is RDMHostLun;
|
|
39
|
+
export declare function RDMHostLunFromJSON(json: any): RDMHostLun;
|
|
40
|
+
export declare function RDMHostLunFromJSONTyped(json: any, ignoreDiscriminator: boolean): RDMHostLun;
|
|
41
|
+
export declare function RDMHostLunToJSON(json: any): RDMHostLun;
|
|
42
|
+
export declare function RDMHostLunToJSONTyped(value?: RDMHostLun | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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: v2
|
|
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 RDMHostLun interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRDMHostLun(value) {
|
|
18
|
+
if (!('hostId' in value) || value['hostId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function RDMHostLunFromJSON(json) {
|
|
23
|
+
return RDMHostLunFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function RDMHostLunFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'hostId': json['hostId'],
|
|
31
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
32
|
+
'canonicalName': json['canonicalName'] == null ? undefined : json['canonicalName'],
|
|
33
|
+
'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function RDMHostLunToJSON(json) {
|
|
37
|
+
return RDMHostLunToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function RDMHostLunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'hostId': value['hostId'],
|
|
45
|
+
'key': value['key'],
|
|
46
|
+
'canonicalName': value['canonicalName'],
|
|
47
|
+
'lunUuid': value['lunUuid'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { Inventory } from './Inventory.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -23,7 +23,7 @@ export interface UpdateInventory {
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
inventory:
|
|
26
|
+
inventory: Inventory;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Check if a given object implements the UpdateInventory interface.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the UpdateInventory interface.
|
|
17
17
|
*/
|
|
@@ -31,7 +31,7 @@ export function UpdateInventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
33
|
'agentId': json['agentId'],
|
|
34
|
-
'inventory':
|
|
34
|
+
'inventory': InventoryFromJSON(json['inventory']),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
export function UpdateInventoryToJSON(json) {
|
|
@@ -43,6 +43,6 @@ export function UpdateInventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
45
|
'agentId': value['agentId'],
|
|
46
|
-
'inventory':
|
|
46
|
+
'inventory': InventoryToJSON(value['inventory']),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
@@ -14,6 +14,8 @@ import type { InspectionStatus } from './InspectionStatus.js';
|
|
|
14
14
|
import type { GuestNetwork } from './GuestNetwork.js';
|
|
15
15
|
import type { VirtualMachineIssue } from './VirtualMachineIssue.js';
|
|
16
16
|
import type { VirtualMachineDevice } from './VirtualMachineDevice.js';
|
|
17
|
+
import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
|
|
18
|
+
import type { Product } from './Product.js';
|
|
17
19
|
import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
|
|
18
20
|
import type { Process } from './Process.js';
|
|
19
21
|
import type { VirtualMachineDisk } from './VirtualMachineDisk.js';
|
|
@@ -32,6 +34,10 @@ export interface VirtualMachineDetail {
|
|
|
32
34
|
* Display name of the VirtualMachine
|
|
33
35
|
*/
|
|
34
36
|
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* Free-text notes/description for the VirtualMachine in vSphere
|
|
39
|
+
*/
|
|
40
|
+
annotation?: string;
|
|
35
41
|
/**
|
|
36
42
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
37
43
|
*/
|
|
@@ -150,6 +156,10 @@ export interface VirtualMachineDetail {
|
|
|
150
156
|
*
|
|
151
157
|
*/
|
|
152
158
|
disks: Array<VirtualMachineDisk>;
|
|
159
|
+
/**
|
|
160
|
+
* Physical NICs reported on the VM's host. An empty array means no records were retained.
|
|
161
|
+
*/
|
|
162
|
+
hostPhysicalNics?: Array<HostPhysicalNIC>;
|
|
153
163
|
/**
|
|
154
164
|
* Adapter count reported by the source; 0 when unavailable
|
|
155
165
|
*/
|
|
@@ -182,6 +192,10 @@ export interface VirtualMachineDetail {
|
|
|
182
192
|
* List of processes detected on this VM
|
|
183
193
|
*/
|
|
184
194
|
processes?: Array<Process>;
|
|
195
|
+
/**
|
|
196
|
+
* Products configured in the VM's vApp settings
|
|
197
|
+
*/
|
|
198
|
+
products?: Array<Product>;
|
|
185
199
|
}
|
|
186
200
|
/**
|
|
187
201
|
* Check if a given object implements the VirtualMachineDetail interface.
|
|
@@ -16,6 +16,8 @@ import { InspectionStatusFromJSON, InspectionStatusToJSON, } from './InspectionS
|
|
|
16
16
|
import { GuestNetworkFromJSON, GuestNetworkToJSON, } from './GuestNetwork.js';
|
|
17
17
|
import { VirtualMachineIssueFromJSON, VirtualMachineIssueToJSON, } from './VirtualMachineIssue.js';
|
|
18
18
|
import { VirtualMachineDeviceFromJSON, VirtualMachineDeviceToJSON, } from './VirtualMachineDevice.js';
|
|
19
|
+
import { HostPhysicalNICFromJSON, HostPhysicalNICToJSON, } from './HostPhysicalNIC.js';
|
|
20
|
+
import { ProductFromJSON, ProductToJSON, } from './Product.js';
|
|
19
21
|
import { VmUtilizationDetailsFromJSON, VmUtilizationDetailsToJSON, } from './VmUtilizationDetails.js';
|
|
20
22
|
import { ProcessFromJSON, ProcessToJSON, } from './Process.js';
|
|
21
23
|
import { VirtualMachineDiskFromJSON, VirtualMachineDiskToJSON, } from './VirtualMachineDisk.js';
|
|
@@ -58,6 +60,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
return {
|
|
59
61
|
'id': json['id'],
|
|
60
62
|
'name': json['name'],
|
|
63
|
+
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
61
64
|
'vCenterID': json['vCenterID'],
|
|
62
65
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
63
66
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -87,6 +90,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
87
90
|
'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
|
|
88
91
|
'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
|
|
89
92
|
'disks': (json['disks'].map(VirtualMachineDiskFromJSON)),
|
|
93
|
+
'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNICFromJSON)),
|
|
90
94
|
'nicCount': json['nicCount'],
|
|
91
95
|
'nics': (json['nics'].map(VirtualMachineNICFromJSON)),
|
|
92
96
|
'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDeviceFromJSON)),
|
|
@@ -95,6 +99,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
95
99
|
'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
|
|
96
100
|
'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
|
|
97
101
|
'processes': json['processes'] == null ? undefined : (json['processes'].map(ProcessFromJSON)),
|
|
102
|
+
'products': json['products'] == null ? undefined : (json['products'].map(ProductFromJSON)),
|
|
98
103
|
};
|
|
99
104
|
}
|
|
100
105
|
export function VirtualMachineDetailToJSON(json) {
|
|
@@ -107,6 +112,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
107
112
|
return {
|
|
108
113
|
'id': value['id'],
|
|
109
114
|
'name': value['name'],
|
|
115
|
+
'annotation': value['annotation'],
|
|
110
116
|
'vCenterID': value['vCenterID'],
|
|
111
117
|
'uuid': value['uuid'],
|
|
112
118
|
'firmware': value['firmware'],
|
|
@@ -135,6 +141,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
135
141
|
'toolsStatus': value['toolsStatus'],
|
|
136
142
|
'toolsRunningStatus': value['toolsRunningStatus'],
|
|
137
143
|
'disks': (value['disks'].map(VirtualMachineDiskToJSON)),
|
|
144
|
+
'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNICToJSON)),
|
|
138
145
|
'nicCount': value['nicCount'],
|
|
139
146
|
'nics': (value['nics'].map(VirtualMachineNICToJSON)),
|
|
140
147
|
'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDeviceToJSON)),
|
|
@@ -143,5 +150,6 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
143
150
|
'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
|
|
144
151
|
'utilization': VmUtilizationDetailsToJSON(value['utilization']),
|
|
145
152
|
'processes': value['processes'] == null ? undefined : (value['processes'].map(ProcessToJSON)),
|
|
153
|
+
'products': value['products'] == null ? undefined : (value['products'].map(ProductToJSON)),
|
|
146
154
|
};
|
|
147
155
|
}
|
|
@@ -41,6 +41,14 @@ export interface VirtualMachineDisk {
|
|
|
41
41
|
*
|
|
42
42
|
*/
|
|
43
43
|
rdmBacking?: RDMBacking;
|
|
44
|
+
/**
|
|
45
|
+
* Source-reported thin provisioning; omitted when unavailable
|
|
46
|
+
*/
|
|
47
|
+
thinProvisioned?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Source-reported eager scrubbing; omitted when unavailable
|
|
50
|
+
*/
|
|
51
|
+
eagerlyScrubbed?: boolean;
|
|
44
52
|
/**
|
|
45
53
|
* Bus type (scsi, ide, sata, nvme)
|
|
46
54
|
*/
|
|
@@ -33,6 +33,8 @@ export function VirtualMachineDiskFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'shared': json['shared'] == null ? undefined : json['shared'],
|
|
34
34
|
'rdm': json['rdm'] == null ? undefined : json['rdm'],
|
|
35
35
|
'rdmBacking': json['rdmBacking'] == null ? undefined : RDMBackingFromJSON(json['rdmBacking']),
|
|
36
|
+
'thinProvisioned': json['thinProvisioned'] == null ? undefined : json['thinProvisioned'],
|
|
37
|
+
'eagerlyScrubbed': json['eagerlyScrubbed'] == null ? undefined : json['eagerlyScrubbed'],
|
|
36
38
|
'bus': json['bus'] == null ? undefined : json['bus'],
|
|
37
39
|
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
38
40
|
'datastore': json['datastore'] == null ? undefined : VirtualMachineDatastoreFromJSON(json['datastore']),
|
|
@@ -52,6 +54,8 @@ export function VirtualMachineDiskToJSONTyped(value, ignoreDiscriminator = false
|
|
|
52
54
|
'shared': value['shared'],
|
|
53
55
|
'rdm': value['rdm'],
|
|
54
56
|
'rdmBacking': RDMBackingToJSON(value['rdmBacking']),
|
|
57
|
+
'thinProvisioned': value['thinProvisioned'],
|
|
58
|
+
'eagerlyScrubbed': value['eagerlyScrubbed'],
|
|
55
59
|
'bus': value['bus'],
|
|
56
60
|
'mode': value['mode'],
|
|
57
61
|
'datastore': VirtualMachineDatastoreToJSON(value['datastore']),
|
|
@@ -0,0 +1,34 @@
|
|
|
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: v2
|
|
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 VirtualMachineIdentity
|
|
16
|
+
*/
|
|
17
|
+
export interface VirtualMachineIdentity {
|
|
18
|
+
/**
|
|
19
|
+
* VM ID
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* VM name
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the VirtualMachineIdentity interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfVirtualMachineIdentity(value: object): value is VirtualMachineIdentity;
|
|
31
|
+
export declare function VirtualMachineIdentityFromJSON(json: any): VirtualMachineIdentity;
|
|
32
|
+
export declare function VirtualMachineIdentityFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineIdentity;
|
|
33
|
+
export declare function VirtualMachineIdentityToJSON(json: any): VirtualMachineIdentity;
|
|
34
|
+
export declare function VirtualMachineIdentityToJSONTyped(value?: VirtualMachineIdentity | 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: v2
|
|
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 VirtualMachineIdentity interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVirtualMachineIdentity(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 VirtualMachineIdentityFromJSON(json) {
|
|
25
|
+
return VirtualMachineIdentityFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function VirtualMachineIdentityFromJSONTyped(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 VirtualMachineIdentityToJSON(json) {
|
|
37
|
+
return VirtualMachineIdentityToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function VirtualMachineIdentityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value['id'],
|
|
45
|
+
'name': value['name'],
|
|
46
|
+
};
|
|
47
|
+
}
|