@openshift-migration-advisor/agent-sdk 0.30.0 → 0.31.0-8fbde84d9594

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/.openapi-generator/FILES +10 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +8 -4
  4. package/dist/apis/InventoriesApi.d.ts +9 -9
  5. package/dist/apis/InventoriesApi.js +3 -3
  6. package/dist/esm/apis/InventoriesApi.d.ts +9 -9
  7. package/dist/esm/apis/InventoriesApi.js +3 -3
  8. package/dist/esm/models/CollectedInventory.d.ts +31 -0
  9. package/dist/esm/models/CollectedInventory.js +44 -0
  10. package/dist/esm/models/Datastore.d.ts +14 -2
  11. package/dist/esm/models/Datastore.js +6 -0
  12. package/dist/esm/models/GroupResponse.d.ts +2 -2
  13. package/dist/esm/models/GroupResponse.js +3 -3
  14. package/dist/esm/models/Host.d.ts +10 -0
  15. package/dist/esm/models/Host.js +6 -0
  16. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  17. package/dist/esm/models/HostStorageAdapter.js +55 -0
  18. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  19. package/dist/esm/models/HostStorageLun.js +51 -0
  20. package/dist/esm/models/Inventory.d.ts +24 -2
  21. package/dist/esm/models/Inventory.js +17 -4
  22. package/dist/esm/models/RDMBacking.d.ts +30 -0
  23. package/dist/esm/models/RDMBacking.js +41 -0
  24. package/dist/esm/models/UpdateInventory.d.ts +2 -2
  25. package/dist/esm/models/UpdateInventory.js +3 -3
  26. package/dist/esm/models/VirtualMachineDatastore.d.ts +66 -0
  27. package/dist/esm/models/VirtualMachineDatastore.js +59 -0
  28. package/dist/esm/models/VirtualMachineDetail.d.ts +8 -0
  29. package/dist/esm/models/VirtualMachineDetail.js +6 -0
  30. package/dist/esm/models/VirtualMachineDisk.d.ts +10 -0
  31. package/dist/esm/models/VirtualMachineDisk.js +6 -0
  32. package/dist/esm/models/VirtualMachineNIC.d.ts +16 -0
  33. package/dist/esm/models/VirtualMachineNIC.js +8 -0
  34. package/dist/esm/models/index.d.ts +5 -1
  35. package/dist/esm/models/index.js +5 -1
  36. package/dist/models/CollectedInventory.d.ts +31 -0
  37. package/dist/models/CollectedInventory.js +51 -0
  38. package/dist/models/Datastore.d.ts +14 -2
  39. package/dist/models/Datastore.js +6 -0
  40. package/dist/models/GroupResponse.d.ts +2 -2
  41. package/dist/models/GroupResponse.js +3 -3
  42. package/dist/models/Host.d.ts +10 -0
  43. package/dist/models/Host.js +6 -0
  44. package/dist/models/HostStorageAdapter.d.ts +58 -0
  45. package/dist/models/HostStorageAdapter.js +62 -0
  46. package/dist/models/HostStorageLun.d.ts +50 -0
  47. package/dist/models/HostStorageLun.js +58 -0
  48. package/dist/models/Inventory.d.ts +24 -2
  49. package/dist/models/Inventory.js +17 -4
  50. package/dist/models/RDMBacking.d.ts +30 -0
  51. package/dist/models/RDMBacking.js +48 -0
  52. package/dist/models/UpdateInventory.d.ts +2 -2
  53. package/dist/models/UpdateInventory.js +3 -3
  54. package/dist/models/VirtualMachineDatastore.d.ts +66 -0
  55. package/dist/models/VirtualMachineDatastore.js +66 -0
  56. package/dist/models/VirtualMachineDetail.d.ts +8 -0
  57. package/dist/models/VirtualMachineDetail.js +6 -0
  58. package/dist/models/VirtualMachineDisk.d.ts +10 -0
  59. package/dist/models/VirtualMachineDisk.js +6 -0
  60. package/dist/models/VirtualMachineNIC.d.ts +16 -0
  61. package/dist/models/VirtualMachineNIC.js +8 -0
  62. package/dist/models/index.d.ts +5 -1
  63. package/dist/models/index.js +5 -1
  64. package/docs/CollectedInventory.md +34 -0
  65. package/docs/Datastore.md +6 -0
  66. package/docs/GroupResponse.md +1 -1
  67. package/docs/Host.md +4 -0
  68. package/docs/HostStorageAdapter.md +49 -0
  69. package/docs/HostStorageLun.md +45 -0
  70. package/docs/InventoriesApi.md +4 -4
  71. package/docs/Inventory.md +12 -2
  72. package/docs/{Inventory1.md → RDMBacking.md} +7 -14
  73. package/docs/UpdateInventory.md +1 -1
  74. package/docs/VirtualMachineDatastore.md +53 -0
  75. package/docs/VirtualMachineDetail.md +4 -0
  76. package/docs/VirtualMachineDisk.md +4 -0
  77. package/docs/VirtualMachineNIC.md +8 -0
  78. package/package.json +1 -1
  79. package/src/apis/InventoriesApi.ts +14 -14
  80. package/src/models/CollectedInventory.ts +72 -0
  81. package/src/models/Datastore.ts +20 -2
  82. package/src/models/GroupResponse.ts +9 -9
  83. package/src/models/Host.ts +27 -0
  84. package/src/models/HostStorageAdapter.ts +105 -0
  85. package/src/models/HostStorageLun.ts +93 -0
  86. package/src/models/Inventory.ts +42 -11
  87. package/src/models/RDMBacking.ts +63 -0
  88. package/src/models/UpdateInventory.ts +9 -9
  89. package/src/models/VirtualMachineDatastore.ts +117 -0
  90. package/src/models/VirtualMachineDetail.ts +13 -0
  91. package/src/models/VirtualMachineDisk.ts +27 -0
  92. package/src/models/VirtualMachineNIC.ts +24 -0
  93. package/src/models/index.ts +5 -1
  94. package/dist/esm/models/Inventory1.d.ts +0 -49
  95. package/dist/esm/models/Inventory1.js +0 -55
  96. package/dist/models/Inventory1.d.ts +0 -49
  97. package/dist/models/Inventory1.js +0 -62
  98. package/src/models/Inventory1.ts +0 -97
@@ -0,0 +1,48 @@
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.instanceOfRDMBacking = instanceOfRDMBacking;
17
+ exports.RDMBackingFromJSON = RDMBackingFromJSON;
18
+ exports.RDMBackingFromJSONTyped = RDMBackingFromJSONTyped;
19
+ exports.RDMBackingToJSON = RDMBackingToJSON;
20
+ exports.RDMBackingToJSONTyped = RDMBackingToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RDMBacking interface.
23
+ */
24
+ function instanceOfRDMBacking(value) {
25
+ return true;
26
+ }
27
+ function RDMBackingFromJSON(json) {
28
+ return RDMBackingFromJSONTyped(json, false);
29
+ }
30
+ function RDMBackingFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
36
+ };
37
+ }
38
+ function RDMBackingToJSON(json) {
39
+ return RDMBackingToJSONTyped(json, false);
40
+ }
41
+ function RDMBackingToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'lunUuid': value['lunUuid'],
47
+ };
48
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Inventory1 } from './Inventory1.js';
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: Inventory1;
26
+ inventory: Inventory;
27
27
  }
28
28
  /**
29
29
  * Check if a given object implements the UpdateInventory interface.
@@ -18,7 +18,7 @@ exports.UpdateInventoryFromJSON = UpdateInventoryFromJSON;
18
18
  exports.UpdateInventoryFromJSONTyped = UpdateInventoryFromJSONTyped;
19
19
  exports.UpdateInventoryToJSON = UpdateInventoryToJSON;
20
20
  exports.UpdateInventoryToJSONTyped = UpdateInventoryToJSONTyped;
21
- const Inventory1_js_1 = require("./Inventory1.js");
21
+ const Inventory_js_1 = require("./Inventory.js");
22
22
  /**
23
23
  * Check if a given object implements the UpdateInventory interface.
24
24
  */
@@ -38,7 +38,7 @@ function UpdateInventoryFromJSONTyped(json, ignoreDiscriminator) {
38
38
  }
39
39
  return {
40
40
  'agentId': json['agentId'],
41
- 'inventory': (0, Inventory1_js_1.Inventory1FromJSON)(json['inventory']),
41
+ 'inventory': (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
42
42
  };
43
43
  }
44
44
  function UpdateInventoryToJSON(json) {
@@ -50,6 +50,6 @@ function UpdateInventoryToJSONTyped(value, ignoreDiscriminator = false) {
50
50
  }
51
51
  return {
52
52
  'agentId': value['agentId'],
53
- 'inventory': (0, Inventory1_js_1.Inventory1ToJSON)(value['inventory']),
53
+ 'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
54
54
  };
55
55
  }
@@ -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,66 @@
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.instanceOfVirtualMachineDatastore = instanceOfVirtualMachineDatastore;
17
+ exports.VirtualMachineDatastoreFromJSON = VirtualMachineDatastoreFromJSON;
18
+ exports.VirtualMachineDatastoreFromJSONTyped = VirtualMachineDatastoreFromJSONTyped;
19
+ exports.VirtualMachineDatastoreToJSON = VirtualMachineDatastoreToJSON;
20
+ exports.VirtualMachineDatastoreToJSONTyped = VirtualMachineDatastoreToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VirtualMachineDatastore interface.
23
+ */
24
+ function instanceOfVirtualMachineDatastore(value) {
25
+ return true;
26
+ }
27
+ function VirtualMachineDatastoreFromJSON(json) {
28
+ return VirtualMachineDatastoreFromJSONTyped(json, false);
29
+ }
30
+ function VirtualMachineDatastoreFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'type': json['type'] == null ? undefined : json['type'],
38
+ 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
39
+ 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
40
+ 'protocolType': json['protocolType'] == null ? undefined : json['protocolType'],
41
+ 'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
42
+ 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
43
+ 'vendor': json['vendor'] == null ? undefined : json['vendor'],
44
+ 'model': json['model'] == null ? undefined : json['model'],
45
+ };
46
+ }
47
+ function VirtualMachineDatastoreToJSON(json) {
48
+ return VirtualMachineDatastoreToJSONTyped(json, false);
49
+ }
50
+ function VirtualMachineDatastoreToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'id': value['id'],
56
+ 'name': value['name'],
57
+ 'type': value['type'],
58
+ 'filesystemType': value['filesystemType'],
59
+ 'filesystemMajorVersion': value['filesystemMajorVersion'],
60
+ 'protocolType': value['protocolType'],
61
+ 'storageProtocol': value['storageProtocol'],
62
+ 'backingDeviceIds': value['backingDeviceIds'],
63
+ 'vendor': value['vendor'],
64
+ 'model': value['model'],
65
+ };
66
+ }
@@ -32,6 +32,10 @@ export interface VirtualMachineDetail {
32
32
  * Display name of the VirtualMachine
33
33
  */
34
34
  name: string;
35
+ /**
36
+ * Free-text notes/description for the VirtualMachine in vSphere
37
+ */
38
+ annotation?: string;
35
39
  /**
36
40
  * Identifier of the vCenter this VirtualMachine belongs to
37
41
  */
@@ -150,6 +154,10 @@ export interface VirtualMachineDetail {
150
154
  *
151
155
  */
152
156
  disks: Array<VirtualMachineDisk>;
157
+ /**
158
+ * Adapter count reported by the source; 0 when unavailable
159
+ */
160
+ nicCount: number;
153
161
  /**
154
162
  *
155
163
  */
@@ -49,6 +49,8 @@ function instanceOfVirtualMachineDetail(value) {
49
49
  return false;
50
50
  if (!('disks' in value) || value['disks'] === undefined)
51
51
  return false;
52
+ if (!('nicCount' in value) || value['nicCount'] === undefined)
53
+ return false;
52
54
  if (!('nics' in value) || value['nics'] === undefined)
53
55
  return false;
54
56
  return true;
@@ -63,6 +65,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
63
65
  return {
64
66
  'id': json['id'],
65
67
  'name': json['name'],
68
+ 'annotation': json['annotation'] == null ? undefined : json['annotation'],
66
69
  'vCenterID': json['vCenterID'],
67
70
  'uuid': json['uuid'] == null ? undefined : json['uuid'],
68
71
  'firmware': json['firmware'] == null ? undefined : json['firmware'],
@@ -92,6 +95,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
92
95
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
93
96
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
94
97
  'disks': (json['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskFromJSON)),
98
+ 'nicCount': json['nicCount'],
95
99
  'nics': (json['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICFromJSON)),
96
100
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceFromJSON)),
97
101
  'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkFromJSON)),
@@ -111,6 +115,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
111
115
  return {
112
116
  'id': value['id'],
113
117
  'name': value['name'],
118
+ 'annotation': value['annotation'],
114
119
  'vCenterID': value['vCenterID'],
115
120
  'uuid': value['uuid'],
116
121
  'firmware': value['firmware'],
@@ -139,6 +144,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
139
144
  'toolsStatus': value['toolsStatus'],
140
145
  'toolsRunningStatus': value['toolsRunningStatus'],
141
146
  'disks': (value['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskToJSON)),
147
+ 'nicCount': value['nicCount'],
142
148
  'nics': (value['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICToJSON)),
143
149
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceToJSON)),
144
150
  'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkToJSON)),
@@ -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.
@@ -18,6 +18,8 @@ exports.VirtualMachineDiskFromJSON = VirtualMachineDiskFromJSON;
18
18
  exports.VirtualMachineDiskFromJSONTyped = VirtualMachineDiskFromJSONTyped;
19
19
  exports.VirtualMachineDiskToJSON = VirtualMachineDiskToJSON;
20
20
  exports.VirtualMachineDiskToJSONTyped = VirtualMachineDiskToJSONTyped;
21
+ const RDMBacking_js_1 = require("./RDMBacking.js");
22
+ const VirtualMachineDatastore_js_1 = require("./VirtualMachineDatastore.js");
21
23
  /**
22
24
  * Check if a given object implements the VirtualMachineDisk interface.
23
25
  */
@@ -37,8 +39,10 @@ function VirtualMachineDiskFromJSONTyped(json, ignoreDiscriminator) {
37
39
  'capacity': json['capacity'] == null ? undefined : json['capacity'],
38
40
  'shared': json['shared'] == null ? undefined : json['shared'],
39
41
  'rdm': json['rdm'] == null ? undefined : json['rdm'],
42
+ 'rdmBacking': json['rdmBacking'] == null ? undefined : (0, RDMBacking_js_1.RDMBackingFromJSON)(json['rdmBacking']),
40
43
  'bus': json['bus'] == null ? undefined : json['bus'],
41
44
  'mode': json['mode'] == null ? undefined : json['mode'],
45
+ 'datastore': json['datastore'] == null ? undefined : (0, VirtualMachineDatastore_js_1.VirtualMachineDatastoreFromJSON)(json['datastore']),
42
46
  };
43
47
  }
44
48
  function VirtualMachineDiskToJSON(json) {
@@ -54,7 +58,9 @@ function VirtualMachineDiskToJSONTyped(value, ignoreDiscriminator = false) {
54
58
  'capacity': value['capacity'],
55
59
  'shared': value['shared'],
56
60
  'rdm': value['rdm'],
61
+ 'rdmBacking': (0, RDMBacking_js_1.RDMBackingToJSON)(value['rdmBacking']),
57
62
  'bus': value['bus'],
58
63
  'mode': value['mode'],
64
+ 'datastore': (0, VirtualMachineDatastore_js_1.VirtualMachineDatastoreToJSON)(value['datastore']),
59
65
  };
60
66
  }
@@ -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
  */
@@ -32,6 +32,10 @@ function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'adapter': json['adapter'] == null ? undefined : json['adapter'],
36
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
37
+ 'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
38
+ 'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
35
39
  'mac': json['mac'] == null ? undefined : json['mac'],
36
40
  'network': json['network'] == null ? undefined : json['network'],
37
41
  'index': json['index'] == null ? undefined : json['index'],
@@ -45,6 +49,10 @@ function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
45
49
  return value;
46
50
  }
47
51
  return {
52
+ 'adapter': value['adapter'],
53
+ 'vlanId': value['vlanId'],
54
+ 'ipv4Addresses': value['ipv4Addresses'],
55
+ 'ipv6Addresses': value['ipv6Addresses'],
48
56
  'mac': value['mac'],
49
57
  'network': value['network'],
50
58
  '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,12 @@ 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 './HostStorageAdapter.js';
42
+ export * from './HostStorageLun.js';
40
43
  export * from './Infra.js';
41
44
  export * from './InspectionStatus.js';
42
45
  export * from './InspectorStatus.js';
43
46
  export * from './Inventory.js';
44
- export * from './Inventory1.js';
45
47
  export * from './InventoryData.js';
46
48
  export * from './IssuesBreakdown.js';
47
49
  export * from './MigrationIssue.js';
@@ -51,6 +53,7 @@ export * from './OsInfo.js';
51
53
  export * from './PairCapability.js';
52
54
  export * from './PairCapabilityRequest.js';
53
55
  export * from './Process.js';
56
+ export * from './RDMBacking.js';
54
57
  export * from './RightsizingClusterResponse.js';
55
58
  export * from './RightsizingClusterUtilization.js';
56
59
  export * from './StartForecasterRequest.js';
@@ -69,6 +72,7 @@ export * from './VcenterCredentials.js';
69
72
  export * from './VddkProperties.js';
70
73
  export * from './VersionInfo.js';
71
74
  export * from './VirtualMachine.js';
75
+ export * from './VirtualMachineDatastore.js';
72
76
  export * from './VirtualMachineDetail.js';
73
77
  export * from './VirtualMachineDevice.js';
74
78
  export * from './VirtualMachineDisk.js';
@@ -28,6 +28,7 @@ __exportStar(require("./CapabilityStatus.js"), exports);
28
28
  __exportStar(require("./CapabilityStatusCapabilities.js"), exports);
29
29
  __exportStar(require("./ClusterFeatures.js"), exports);
30
30
  __exportStar(require("./ClusterUtilization.js"), exports);
31
+ __exportStar(require("./CollectedInventory.js"), exports);
31
32
  __exportStar(require("./Collection.js"), exports);
32
33
  __exportStar(require("./CollectionAggregate.js"), exports);
33
34
  __exportStar(require("./CollectionComparisonDiff.js"), exports);
@@ -55,11 +56,12 @@ __exportStar(require("./GroupResponse.js"), exports);
55
56
  __exportStar(require("./GuestNetwork.js"), exports);
56
57
  __exportStar(require("./Histogram.js"), exports);
57
58
  __exportStar(require("./Host.js"), exports);
59
+ __exportStar(require("./HostStorageAdapter.js"), exports);
60
+ __exportStar(require("./HostStorageLun.js"), exports);
58
61
  __exportStar(require("./Infra.js"), exports);
59
62
  __exportStar(require("./InspectionStatus.js"), exports);
60
63
  __exportStar(require("./InspectorStatus.js"), exports);
61
64
  __exportStar(require("./Inventory.js"), exports);
62
- __exportStar(require("./Inventory1.js"), exports);
63
65
  __exportStar(require("./InventoryData.js"), exports);
64
66
  __exportStar(require("./IssuesBreakdown.js"), exports);
65
67
  __exportStar(require("./MigrationIssue.js"), exports);
@@ -69,6 +71,7 @@ __exportStar(require("./OsInfo.js"), exports);
69
71
  __exportStar(require("./PairCapability.js"), exports);
70
72
  __exportStar(require("./PairCapabilityRequest.js"), exports);
71
73
  __exportStar(require("./Process.js"), exports);
74
+ __exportStar(require("./RDMBacking.js"), exports);
72
75
  __exportStar(require("./RightsizingClusterResponse.js"), exports);
73
76
  __exportStar(require("./RightsizingClusterUtilization.js"), exports);
74
77
  __exportStar(require("./StartForecasterRequest.js"), exports);
@@ -87,6 +90,7 @@ __exportStar(require("./VcenterCredentials.js"), exports);
87
90
  __exportStar(require("./VddkProperties.js"), exports);
88
91
  __exportStar(require("./VersionInfo.js"), exports);
89
92
  __exportStar(require("./VirtualMachine.js"), exports);
93
+ __exportStar(require("./VirtualMachineDatastore.js"), exports);
90
94
  __exportStar(require("./VirtualMachineDetail.js"), exports);
91
95
  __exportStar(require("./VirtualMachineDevice.js"), exports);
92
96
  __exportStar(require("./VirtualMachineDisk.js"), exports);
@@ -0,0 +1,34 @@
1
+
2
+ # CollectedInventory
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `inventory` | [UpdateInventory](UpdateInventory.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CollectedInventory } from '@openshift-migration-advisor/agent-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "inventory": null,
19
+ } satisfies CollectedInventory
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as CollectedInventory
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
package/docs/Datastore.md CHANGED
@@ -7,6 +7,9 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `type` | string
10
+ `backingDeviceIds` | Array&lt;string&gt;
11
+ `filesystemType` | string
12
+ `filesystemMajorVersion` | number
10
13
  `storageProtocol` | string
11
14
  `vsanSnapshotSupport` | boolean
12
15
  `totalCapacityGB` | number
@@ -27,6 +30,9 @@ import type { Datastore } from '@openshift-migration-advisor/agent-sdk'
27
30
  // TODO: Update the object below with actual values
28
31
  const example = {
29
32
  "type": null,
33
+ "backingDeviceIds": null,
34
+ "filesystemType": null,
35
+ "filesystemMajorVersion": null,
30
36
  "storageProtocol": null,
31
37
  "vsanSnapshotSupport": null,
32
38
  "totalCapacityGB": null,
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `group` | [Group](Group.md)
10
- `inventory` | [Inventory1](Inventory1.md)
10
+ `inventory` | [Inventory](Inventory.md)
11
11
  `vms` | [Array&lt;VirtualMachine&gt;](VirtualMachine.md)
12
12
  `total` | number
13
13
  `page` | number
package/docs/Host.md CHANGED
@@ -14,6 +14,8 @@ Name | Type
14
14
  `memoryMB` | number
15
15
  `vmotionSupported` | boolean
16
16
  `storageVmotionSupported` | boolean
17
+ `storageAdapters` | [Array&lt;HostStorageAdapter&gt;](HostStorageAdapter.md)
18
+ `storageLuns` | [Array&lt;HostStorageLun&gt;](HostStorageLun.md)
17
19
 
18
20
  ## Example
19
21
 
@@ -30,6 +32,8 @@ const example = {
30
32
  "memoryMB": null,
31
33
  "vmotionSupported": null,
32
34
  "storageVmotionSupported": null,
35
+ "storageAdapters": null,
36
+ "storageLuns": null,
33
37
  } satisfies Host
34
38
 
35
39
  console.log(example)
@@ -0,0 +1,49 @@
1
+
2
+ # HostStorageAdapter
3
+
4
+ Source-provided adapter facts. Missing or conflicting values are omitted.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `device` | string
11
+ `key` | string
12
+ `type` | string
13
+ `protocol` | string
14
+ `model` | string
15
+ `driver` | string
16
+ `nodeWwn` | string
17
+ `portWwn` | string
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { HostStorageAdapter } from '@openshift-migration-advisor/agent-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "device": null,
27
+ "key": null,
28
+ "type": null,
29
+ "protocol": null,
30
+ "model": null,
31
+ "driver": null,
32
+ "nodeWwn": null,
33
+ "portWwn": null,
34
+ } satisfies HostStorageAdapter
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as HostStorageAdapter
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,45 @@
1
+
2
+ # HostStorageLun
3
+
4
+ A host-visible LUN; missing or conflicting identity/metadata fields are omitted.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `canonicalName` | string
11
+ `key` | string
12
+ `lunUuid` | string
13
+ `vendor` | string
14
+ `model` | string
15
+ `adapterDevices` | Array&lt;string&gt;
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { HostStorageLun } from '@openshift-migration-advisor/agent-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "canonicalName": null,
25
+ "key": null,
26
+ "lunUuid": null,
27
+ "vendor": null,
28
+ "model": null,
29
+ "adapterDevices": null,
30
+ } satisfies HostStorageLun
31
+
32
+ console.log(example)
33
+
34
+ // Convert the instance to a JSON string
35
+ const exampleJSON: string = JSON.stringify(example)
36
+ console.log(exampleJSON)
37
+
38
+ // Parse the JSON string back to an object
39
+ const exampleParsed = JSON.parse(exampleJSON) as HostStorageLun
40
+ console.log(exampleParsed)
41
+ ```
42
+
43
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
44
+
45
+