@openshift-migration-advisor/agent-sdk 0.30.0 → 0.31.0-91c2f03b4968
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 +14 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +10 -4
- package/dist/apis/InventoriesApi.d.ts +9 -9
- package/dist/apis/InventoriesApi.js +3 -3
- package/dist/esm/apis/InventoriesApi.d.ts +9 -9
- package/dist/esm/apis/InventoriesApi.js +3 -3
- 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/Datastore.d.ts +14 -2
- package/dist/esm/models/Datastore.js +6 -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 +10 -0
- package/dist/esm/models/Host.js +6 -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 +30 -0
- package/dist/esm/models/RDMBacking.js +41 -0
- package/dist/esm/models/UpdateInventory.d.ts +2 -2
- package/dist/esm/models/UpdateInventory.js +3 -3
- package/dist/esm/models/VirtualMachineDatastore.d.ts +66 -0
- package/dist/esm/models/VirtualMachineDatastore.js +59 -0
- package/dist/esm/models/VirtualMachineDetail.d.ts +18 -0
- package/dist/esm/models/VirtualMachineDetail.js +12 -0
- package/dist/esm/models/VirtualMachineDisk.d.ts +10 -0
- package/dist/esm/models/VirtualMachineDisk.js +6 -0
- package/dist/esm/models/VirtualMachineNIC.d.ts +16 -0
- package/dist/esm/models/VirtualMachineNIC.js +8 -0
- package/dist/esm/models/index.d.ts +7 -1
- package/dist/esm/models/index.js +7 -1
- 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/Datastore.d.ts +14 -2
- package/dist/models/Datastore.js +6 -0
- package/dist/models/GroupResponse.d.ts +2 -2
- package/dist/models/GroupResponse.js +3 -3
- package/dist/models/Host.d.ts +10 -0
- package/dist/models/Host.js +6 -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 +30 -0
- package/dist/models/RDMBacking.js +48 -0
- package/dist/models/UpdateInventory.d.ts +2 -2
- package/dist/models/UpdateInventory.js +3 -3
- package/dist/models/VirtualMachineDatastore.d.ts +66 -0
- package/dist/models/VirtualMachineDatastore.js +66 -0
- package/dist/models/VirtualMachineDetail.d.ts +18 -0
- package/dist/models/VirtualMachineDetail.js +12 -0
- package/dist/models/VirtualMachineDisk.d.ts +10 -0
- package/dist/models/VirtualMachineDisk.js +6 -0
- package/dist/models/VirtualMachineNIC.d.ts +16 -0
- package/dist/models/VirtualMachineNIC.js +8 -0
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.js +7 -1
- package/docs/ApplicationOverview.md +8 -0
- package/docs/CollectedInventory.md +34 -0
- package/docs/Datastore.md +6 -0
- package/docs/GroupResponse.md +1 -1
- package/docs/Host.md +4 -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/{Inventory1.md → RDMBacking.md} +7 -14
- package/docs/UpdateInventory.md +1 -1
- package/docs/VirtualMachineDatastore.md +53 -0
- package/docs/VirtualMachineDetail.md +8 -0
- package/docs/VirtualMachineDisk.md +4 -0
- package/docs/VirtualMachineNIC.md +8 -0
- package/package.json +1 -1
- package/src/apis/InventoriesApi.ts +14 -14
- package/src/models/ApplicationOverview.ts +26 -0
- package/src/models/CollectedInventory.ts +72 -0
- package/src/models/Datastore.ts +20 -2
- package/src/models/GroupResponse.ts +9 -9
- package/src/models/Host.ts +27 -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 +63 -0
- package/src/models/UpdateInventory.ts +9 -9
- package/src/models/VirtualMachineDatastore.ts +117 -0
- package/src/models/VirtualMachineDetail.ts +39 -0
- package/src/models/VirtualMachineDisk.ts +27 -0
- package/src/models/VirtualMachineNIC.ts +24 -0
- package/src/models/index.ts +7 -1
- package/dist/esm/models/Inventory1.d.ts +0 -49
- package/dist/esm/models/Inventory1.js +0 -55
- package/dist/models/Inventory1.d.ts +0 -49
- package/dist/models/Inventory1.js +0 -62
- package/src/models/Inventory1.ts +0 -97
|
@@ -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
|
+
* Datastore backing this virtual disk
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VirtualMachineDatastore
|
|
16
|
+
*/
|
|
17
|
+
export interface VirtualMachineDatastore {
|
|
18
|
+
/**
|
|
19
|
+
* Datastore object ID
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Datastore name
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Datastore type (VMFS, NFS, vSAN, vVol)
|
|
28
|
+
*/
|
|
29
|
+
type?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Datastore filesystem type
|
|
32
|
+
*/
|
|
33
|
+
filesystemType?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Datastore filesystem major version when available
|
|
36
|
+
*/
|
|
37
|
+
filesystemMajorVersion?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Backing storage transport protocol when available (for example FC, iSCSI, or NFS)
|
|
40
|
+
*/
|
|
41
|
+
protocolType?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Datastore storage access category when available (Block, File, or Object)
|
|
44
|
+
*/
|
|
45
|
+
storageProtocol?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
|
|
48
|
+
*/
|
|
49
|
+
backingDeviceIds?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Vendor reported by matching backing devices when available
|
|
52
|
+
*/
|
|
53
|
+
vendor?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Model reported by matching backing devices when available
|
|
56
|
+
*/
|
|
57
|
+
model?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the VirtualMachineDatastore interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfVirtualMachineDatastore(value: object): value is VirtualMachineDatastore;
|
|
63
|
+
export declare function VirtualMachineDatastoreFromJSON(json: any): VirtualMachineDatastore;
|
|
64
|
+
export declare function VirtualMachineDatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineDatastore;
|
|
65
|
+
export declare function VirtualMachineDatastoreToJSON(json: any): VirtualMachineDatastore;
|
|
66
|
+
export declare function VirtualMachineDatastoreToJSONTyped(value?: VirtualMachineDatastore | 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: 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 VirtualMachineDatastore interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVirtualMachineDatastore(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function VirtualMachineDatastoreFromJSON(json) {
|
|
21
|
+
return VirtualMachineDatastoreFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function VirtualMachineDatastoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
30
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
31
|
+
'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
|
|
32
|
+
'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
|
|
33
|
+
'protocolType': json['protocolType'] == null ? undefined : json['protocolType'],
|
|
34
|
+
'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
|
|
35
|
+
'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
|
|
36
|
+
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
37
|
+
'model': json['model'] == null ? undefined : json['model'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function VirtualMachineDatastoreToJSON(json) {
|
|
41
|
+
return VirtualMachineDatastoreToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function VirtualMachineDatastoreToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
'type': value['type'],
|
|
51
|
+
'filesystemType': value['filesystemType'],
|
|
52
|
+
'filesystemMajorVersion': value['filesystemMajorVersion'],
|
|
53
|
+
'protocolType': value['protocolType'],
|
|
54
|
+
'storageProtocol': value['storageProtocol'],
|
|
55
|
+
'backingDeviceIds': value['backingDeviceIds'],
|
|
56
|
+
'vendor': value['vendor'],
|
|
57
|
+
'model': value['model'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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,14 @@ 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>;
|
|
163
|
+
/**
|
|
164
|
+
* Adapter count reported by the source; 0 when unavailable
|
|
165
|
+
*/
|
|
166
|
+
nicCount: number;
|
|
153
167
|
/**
|
|
154
168
|
*
|
|
155
169
|
*/
|
|
@@ -178,6 +192,10 @@ export interface VirtualMachineDetail {
|
|
|
178
192
|
* List of processes detected on this VM
|
|
179
193
|
*/
|
|
180
194
|
processes?: Array<Process>;
|
|
195
|
+
/**
|
|
196
|
+
* Products configured in the VM's vApp settings
|
|
197
|
+
*/
|
|
198
|
+
products?: Array<Product>;
|
|
181
199
|
}
|
|
182
200
|
/**
|
|
183
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';
|
|
@@ -42,6 +44,8 @@ export function instanceOfVirtualMachineDetail(value) {
|
|
|
42
44
|
return false;
|
|
43
45
|
if (!('disks' in value) || value['disks'] === undefined)
|
|
44
46
|
return false;
|
|
47
|
+
if (!('nicCount' in value) || value['nicCount'] === undefined)
|
|
48
|
+
return false;
|
|
45
49
|
if (!('nics' in value) || value['nics'] === undefined)
|
|
46
50
|
return false;
|
|
47
51
|
return true;
|
|
@@ -56,6 +60,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
60
|
return {
|
|
57
61
|
'id': json['id'],
|
|
58
62
|
'name': json['name'],
|
|
63
|
+
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
59
64
|
'vCenterID': json['vCenterID'],
|
|
60
65
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
61
66
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -85,6 +90,8 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
85
90
|
'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
|
|
86
91
|
'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
|
|
87
92
|
'disks': (json['disks'].map(VirtualMachineDiskFromJSON)),
|
|
93
|
+
'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNICFromJSON)),
|
|
94
|
+
'nicCount': json['nicCount'],
|
|
88
95
|
'nics': (json['nics'].map(VirtualMachineNICFromJSON)),
|
|
89
96
|
'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDeviceFromJSON)),
|
|
90
97
|
'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetworkFromJSON)),
|
|
@@ -92,6 +99,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
92
99
|
'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
|
|
93
100
|
'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
|
|
94
101
|
'processes': json['processes'] == null ? undefined : (json['processes'].map(ProcessFromJSON)),
|
|
102
|
+
'products': json['products'] == null ? undefined : (json['products'].map(ProductFromJSON)),
|
|
95
103
|
};
|
|
96
104
|
}
|
|
97
105
|
export function VirtualMachineDetailToJSON(json) {
|
|
@@ -104,6 +112,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
104
112
|
return {
|
|
105
113
|
'id': value['id'],
|
|
106
114
|
'name': value['name'],
|
|
115
|
+
'annotation': value['annotation'],
|
|
107
116
|
'vCenterID': value['vCenterID'],
|
|
108
117
|
'uuid': value['uuid'],
|
|
109
118
|
'firmware': value['firmware'],
|
|
@@ -132,6 +141,8 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
132
141
|
'toolsStatus': value['toolsStatus'],
|
|
133
142
|
'toolsRunningStatus': value['toolsRunningStatus'],
|
|
134
143
|
'disks': (value['disks'].map(VirtualMachineDiskToJSON)),
|
|
144
|
+
'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNICToJSON)),
|
|
145
|
+
'nicCount': value['nicCount'],
|
|
135
146
|
'nics': (value['nics'].map(VirtualMachineNICToJSON)),
|
|
136
147
|
'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDeviceToJSON)),
|
|
137
148
|
'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetworkToJSON)),
|
|
@@ -139,5 +150,6 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
139
150
|
'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
|
|
140
151
|
'utilization': VmUtilizationDetailsToJSON(value['utilization']),
|
|
141
152
|
'processes': value['processes'] == null ? undefined : (value['processes'].map(ProcessToJSON)),
|
|
153
|
+
'products': value['products'] == null ? undefined : (value['products'].map(ProductToJSON)),
|
|
142
154
|
};
|
|
143
155
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { RDMBacking } from './RDMBacking.js';
|
|
13
|
+
import type { VirtualMachineDatastore } from './VirtualMachineDatastore.js';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -35,6 +37,10 @@ export interface VirtualMachineDisk {
|
|
|
35
37
|
* Whether this is a Raw Device Mapping
|
|
36
38
|
*/
|
|
37
39
|
rdm?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
rdmBacking?: RDMBacking;
|
|
38
44
|
/**
|
|
39
45
|
* Bus type (scsi, ide, sata, nvme)
|
|
40
46
|
*/
|
|
@@ -43,6 +49,10 @@ export interface VirtualMachineDisk {
|
|
|
43
49
|
* Disk mode (persistent, independent_persistent, independent_nonpersistent)
|
|
44
50
|
*/
|
|
45
51
|
mode?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
datastore?: VirtualMachineDatastore;
|
|
46
56
|
}
|
|
47
57
|
/**
|
|
48
58
|
* Check if a given object implements the VirtualMachineDisk interface.
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { RDMBackingFromJSON, RDMBackingToJSON, } from './RDMBacking.js';
|
|
15
|
+
import { VirtualMachineDatastoreFromJSON, VirtualMachineDatastoreToJSON, } from './VirtualMachineDatastore.js';
|
|
14
16
|
/**
|
|
15
17
|
* Check if a given object implements the VirtualMachineDisk interface.
|
|
16
18
|
*/
|
|
@@ -30,8 +32,10 @@ export function VirtualMachineDiskFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
32
|
'capacity': json['capacity'] == null ? undefined : json['capacity'],
|
|
31
33
|
'shared': json['shared'] == null ? undefined : json['shared'],
|
|
32
34
|
'rdm': json['rdm'] == null ? undefined : json['rdm'],
|
|
35
|
+
'rdmBacking': json['rdmBacking'] == null ? undefined : RDMBackingFromJSON(json['rdmBacking']),
|
|
33
36
|
'bus': json['bus'] == null ? undefined : json['bus'],
|
|
34
37
|
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
38
|
+
'datastore': json['datastore'] == null ? undefined : VirtualMachineDatastoreFromJSON(json['datastore']),
|
|
35
39
|
};
|
|
36
40
|
}
|
|
37
41
|
export function VirtualMachineDiskToJSON(json) {
|
|
@@ -47,7 +51,9 @@ export function VirtualMachineDiskToJSONTyped(value, ignoreDiscriminator = false
|
|
|
47
51
|
'capacity': value['capacity'],
|
|
48
52
|
'shared': value['shared'],
|
|
49
53
|
'rdm': value['rdm'],
|
|
54
|
+
'rdmBacking': RDMBackingToJSON(value['rdmBacking']),
|
|
50
55
|
'bus': value['bus'],
|
|
51
56
|
'mode': value['mode'],
|
|
57
|
+
'datastore': VirtualMachineDatastoreToJSON(value['datastore']),
|
|
52
58
|
};
|
|
53
59
|
}
|
|
@@ -15,6 +15,22 @@
|
|
|
15
15
|
* @interface VirtualMachineNIC
|
|
16
16
|
*/
|
|
17
17
|
export interface VirtualMachineNIC {
|
|
18
|
+
/**
|
|
19
|
+
* Virtual adapter model, such as Vmxnet3 or E1000
|
|
20
|
+
*/
|
|
21
|
+
adapter?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Port-group VLAN configuration when supplied; empty when unknown.
|
|
24
|
+
*/
|
|
25
|
+
vlanId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
28
|
+
*/
|
|
29
|
+
ipv4Addresses?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
32
|
+
*/
|
|
33
|
+
ipv6Addresses?: Array<string>;
|
|
18
34
|
/**
|
|
19
35
|
* MAC address
|
|
20
36
|
*/
|
|
@@ -25,6 +25,10 @@ export function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
+
'adapter': json['adapter'] == null ? undefined : json['adapter'],
|
|
29
|
+
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
30
|
+
'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
|
|
31
|
+
'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
|
|
28
32
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
29
33
|
'network': json['network'] == null ? undefined : json['network'],
|
|
30
34
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -38,6 +42,10 @@ export function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
38
42
|
return value;
|
|
39
43
|
}
|
|
40
44
|
return {
|
|
45
|
+
'adapter': value['adapter'],
|
|
46
|
+
'vlanId': value['vlanId'],
|
|
47
|
+
'ipv4Addresses': value['ipv4Addresses'],
|
|
48
|
+
'ipv6Addresses': value['ipv6Addresses'],
|
|
41
49
|
'mac': value['mac'],
|
|
42
50
|
'network': value['network'],
|
|
43
51
|
'index': value['index'],
|
|
@@ -10,6 +10,7 @@ export * from './CapabilityStatus.js';
|
|
|
10
10
|
export * from './CapabilityStatusCapabilities.js';
|
|
11
11
|
export * from './ClusterFeatures.js';
|
|
12
12
|
export * from './ClusterUtilization.js';
|
|
13
|
+
export * from './CollectedInventory.js';
|
|
13
14
|
export * from './Collection.js';
|
|
14
15
|
export * from './CollectionAggregate.js';
|
|
15
16
|
export * from './CollectionComparisonDiff.js';
|
|
@@ -37,11 +38,13 @@ export * from './GroupResponse.js';
|
|
|
37
38
|
export * from './GuestNetwork.js';
|
|
38
39
|
export * from './Histogram.js';
|
|
39
40
|
export * from './Host.js';
|
|
41
|
+
export * from './HostPhysicalNIC.js';
|
|
42
|
+
export * from './HostStorageAdapter.js';
|
|
43
|
+
export * from './HostStorageLun.js';
|
|
40
44
|
export * from './Infra.js';
|
|
41
45
|
export * from './InspectionStatus.js';
|
|
42
46
|
export * from './InspectorStatus.js';
|
|
43
47
|
export * from './Inventory.js';
|
|
44
|
-
export * from './Inventory1.js';
|
|
45
48
|
export * from './InventoryData.js';
|
|
46
49
|
export * from './IssuesBreakdown.js';
|
|
47
50
|
export * from './MigrationIssue.js';
|
|
@@ -51,6 +54,8 @@ export * from './OsInfo.js';
|
|
|
51
54
|
export * from './PairCapability.js';
|
|
52
55
|
export * from './PairCapabilityRequest.js';
|
|
53
56
|
export * from './Process.js';
|
|
57
|
+
export * from './Product.js';
|
|
58
|
+
export * from './RDMBacking.js';
|
|
54
59
|
export * from './RightsizingClusterResponse.js';
|
|
55
60
|
export * from './RightsizingClusterUtilization.js';
|
|
56
61
|
export * from './StartForecasterRequest.js';
|
|
@@ -69,6 +74,7 @@ export * from './VcenterCredentials.js';
|
|
|
69
74
|
export * from './VddkProperties.js';
|
|
70
75
|
export * from './VersionInfo.js';
|
|
71
76
|
export * from './VirtualMachine.js';
|
|
77
|
+
export * from './VirtualMachineDatastore.js';
|
|
72
78
|
export * from './VirtualMachineDetail.js';
|
|
73
79
|
export * from './VirtualMachineDevice.js';
|
|
74
80
|
export * from './VirtualMachineDisk.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -12,6 +12,7 @@ export * from './CapabilityStatus.js';
|
|
|
12
12
|
export * from './CapabilityStatusCapabilities.js';
|
|
13
13
|
export * from './ClusterFeatures.js';
|
|
14
14
|
export * from './ClusterUtilization.js';
|
|
15
|
+
export * from './CollectedInventory.js';
|
|
15
16
|
export * from './Collection.js';
|
|
16
17
|
export * from './CollectionAggregate.js';
|
|
17
18
|
export * from './CollectionComparisonDiff.js';
|
|
@@ -39,11 +40,13 @@ export * from './GroupResponse.js';
|
|
|
39
40
|
export * from './GuestNetwork.js';
|
|
40
41
|
export * from './Histogram.js';
|
|
41
42
|
export * from './Host.js';
|
|
43
|
+
export * from './HostPhysicalNIC.js';
|
|
44
|
+
export * from './HostStorageAdapter.js';
|
|
45
|
+
export * from './HostStorageLun.js';
|
|
42
46
|
export * from './Infra.js';
|
|
43
47
|
export * from './InspectionStatus.js';
|
|
44
48
|
export * from './InspectorStatus.js';
|
|
45
49
|
export * from './Inventory.js';
|
|
46
|
-
export * from './Inventory1.js';
|
|
47
50
|
export * from './InventoryData.js';
|
|
48
51
|
export * from './IssuesBreakdown.js';
|
|
49
52
|
export * from './MigrationIssue.js';
|
|
@@ -53,6 +56,8 @@ export * from './OsInfo.js';
|
|
|
53
56
|
export * from './PairCapability.js';
|
|
54
57
|
export * from './PairCapabilityRequest.js';
|
|
55
58
|
export * from './Process.js';
|
|
59
|
+
export * from './Product.js';
|
|
60
|
+
export * from './RDMBacking.js';
|
|
56
61
|
export * from './RightsizingClusterResponse.js';
|
|
57
62
|
export * from './RightsizingClusterUtilization.js';
|
|
58
63
|
export * from './StartForecasterRequest.js';
|
|
@@ -71,6 +76,7 @@ export * from './VcenterCredentials.js';
|
|
|
71
76
|
export * from './VddkProperties.js';
|
|
72
77
|
export * from './VersionInfo.js';
|
|
73
78
|
export * from './VirtualMachine.js';
|
|
79
|
+
export * from './VirtualMachineDatastore.js';
|
|
74
80
|
export * from './VirtualMachineDetail.js';
|
|
75
81
|
export * from './VirtualMachineDevice.js';
|
|
76
82
|
export * from './VirtualMachineDisk.js';
|
|
@@ -24,6 +24,22 @@ export interface ApplicationOverview {
|
|
|
24
24
|
* Application description
|
|
25
25
|
*/
|
|
26
26
|
description: string;
|
|
27
|
+
/**
|
|
28
|
+
* Application vendor
|
|
29
|
+
*/
|
|
30
|
+
vendor: string;
|
|
31
|
+
/**
|
|
32
|
+
* Application category
|
|
33
|
+
*/
|
|
34
|
+
category: string;
|
|
35
|
+
/**
|
|
36
|
+
* Detection confidence percentage; defaults to 0 when omitted
|
|
37
|
+
*/
|
|
38
|
+
confidence?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the application has a known container deployment option
|
|
41
|
+
*/
|
|
42
|
+
containerizationCandidate?: boolean;
|
|
27
43
|
/**
|
|
28
44
|
* Number of VMs running this application
|
|
29
45
|
*/
|
|
@@ -27,6 +27,10 @@ function instanceOfApplicationOverview(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('description' in value) || value['description'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('vendor' in value) || value['vendor'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
33
|
+
return false;
|
|
30
34
|
if (!('vmCount' in value) || value['vmCount'] === undefined)
|
|
31
35
|
return false;
|
|
32
36
|
if (!('vms' in value) || value['vms'] === undefined)
|
|
@@ -43,6 +47,10 @@ function ApplicationOverviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
47
|
return {
|
|
44
48
|
'name': json['name'],
|
|
45
49
|
'description': json['description'],
|
|
50
|
+
'vendor': json['vendor'],
|
|
51
|
+
'category': json['category'],
|
|
52
|
+
'confidence': json['confidence'] == null ? undefined : json['confidence'],
|
|
53
|
+
'containerizationCandidate': json['containerizationCandidate'] == null ? undefined : json['containerizationCandidate'],
|
|
46
54
|
'vmCount': json['vmCount'],
|
|
47
55
|
'vms': (json['vms'].map(ApplicationVM_js_1.ApplicationVMFromJSON)),
|
|
48
56
|
};
|
|
@@ -57,6 +65,10 @@ function ApplicationOverviewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
65
|
return {
|
|
58
66
|
'name': value['name'],
|
|
59
67
|
'description': value['description'],
|
|
68
|
+
'vendor': value['vendor'],
|
|
69
|
+
'category': value['category'],
|
|
70
|
+
'confidence': value['confidence'],
|
|
71
|
+
'containerizationCandidate': value['containerizationCandidate'],
|
|
60
72
|
'vmCount': value['vmCount'],
|
|
61
73
|
'vms': (value['vms'].map(ApplicationVM_js_1.ApplicationVMToJSON)),
|
|
62
74
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import type { UpdateInventory } from './UpdateInventory.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CollectedInventory
|
|
17
|
+
*/
|
|
18
|
+
export interface CollectedInventory {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
inventory: UpdateInventory;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the CollectedInventory interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfCollectedInventory(value: object): value is CollectedInventory;
|
|
28
|
+
export declare function CollectedInventoryFromJSON(json: any): CollectedInventory;
|
|
29
|
+
export declare function CollectedInventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectedInventory;
|
|
30
|
+
export declare function CollectedInventoryToJSON(json: any): CollectedInventory;
|
|
31
|
+
export declare function CollectedInventoryToJSONTyped(value?: CollectedInventory | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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: v2
|
|
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.instanceOfCollectedInventory = instanceOfCollectedInventory;
|
|
17
|
+
exports.CollectedInventoryFromJSON = CollectedInventoryFromJSON;
|
|
18
|
+
exports.CollectedInventoryFromJSONTyped = CollectedInventoryFromJSONTyped;
|
|
19
|
+
exports.CollectedInventoryToJSON = CollectedInventoryToJSON;
|
|
20
|
+
exports.CollectedInventoryToJSONTyped = CollectedInventoryToJSONTyped;
|
|
21
|
+
const UpdateInventory_js_1 = require("./UpdateInventory.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CollectedInventory interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCollectedInventory(value) {
|
|
26
|
+
if (!('inventory' in value) || value['inventory'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CollectedInventoryFromJSON(json) {
|
|
31
|
+
return CollectedInventoryFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CollectedInventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'inventory': (0, UpdateInventory_js_1.UpdateInventoryFromJSON)(json['inventory']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CollectedInventoryToJSON(json) {
|
|
42
|
+
return CollectedInventoryToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CollectedInventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'inventory': (0, UpdateInventory_js_1.UpdateInventoryToJSON)(value['inventory']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -20,6 +20,18 @@ export interface Datastore {
|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
type: string;
|
|
23
|
+
/**
|
|
24
|
+
* Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
|
|
25
|
+
*/
|
|
26
|
+
backingDeviceIds?: Array<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
|
|
29
|
+
*/
|
|
30
|
+
filesystemType?: string;
|
|
31
|
+
/**
|
|
32
|
+
* VMFS major version when reported; omitted when unknown or not applicable
|
|
33
|
+
*/
|
|
34
|
+
filesystemMajorVersion?: number;
|
|
23
35
|
/**
|
|
24
36
|
* Storage access category derived from Datastore.Type
|
|
25
37
|
*/
|
|
@@ -37,7 +49,7 @@ export interface Datastore {
|
|
|
37
49
|
*/
|
|
38
50
|
freeCapacityGB: number;
|
|
39
51
|
/**
|
|
40
|
-
*
|
|
52
|
+
* Vendor reported by matching backing devices when available
|
|
41
53
|
*/
|
|
42
54
|
vendor: string;
|
|
43
55
|
/**
|
|
@@ -53,7 +65,7 @@ export interface Datastore {
|
|
|
53
65
|
*/
|
|
54
66
|
protocolType: string;
|
|
55
67
|
/**
|
|
56
|
-
*
|
|
68
|
+
* Model reported by matching backing devices when available
|
|
57
69
|
*/
|
|
58
70
|
model: string;
|
|
59
71
|
/**
|
package/dist/models/Datastore.js
CHANGED
|
@@ -59,6 +59,9 @@ function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
}
|
|
60
60
|
return {
|
|
61
61
|
'type': json['type'],
|
|
62
|
+
'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
|
|
63
|
+
'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
|
|
64
|
+
'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
|
|
62
65
|
'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
|
|
63
66
|
'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
|
|
64
67
|
'totalCapacityGB': json['totalCapacityGB'],
|
|
@@ -81,6 +84,9 @@ function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
81
84
|
}
|
|
82
85
|
return {
|
|
83
86
|
'type': value['type'],
|
|
87
|
+
'backingDeviceIds': value['backingDeviceIds'],
|
|
88
|
+
'filesystemType': value['filesystemType'],
|
|
89
|
+
'filesystemMajorVersion': value['filesystemMajorVersion'],
|
|
84
90
|
'storageProtocol': value['storageProtocol'],
|
|
85
91
|
'vsanSnapshotSupport': value['vsanSnapshotSupport'],
|
|
86
92
|
'totalCapacityGB': value['totalCapacityGB'],
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Group } from './Group.js';
|
|
13
|
-
import type {
|
|
13
|
+
import type { Inventory } from './Inventory.js';
|
|
14
14
|
import type { VirtualMachine } from './VirtualMachine.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -25,7 +25,7 @@ export interface GroupResponse {
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
inventory?:
|
|
28
|
+
inventory?: Inventory;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
*/
|