@openshift-migration-advisor/agent-sdk 0.32.0 → 0.33.0-e1c90d7b1b79

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 (213) hide show
  1. package/.openapi-generator/FILES +38 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +28 -4
  4. package/dist/apis/AppliancesApi.d.ts +258 -0
  5. package/dist/apis/AppliancesApi.js +273 -0
  6. package/dist/apis/CollectorApi.d.ts +0 -38
  7. package/dist/apis/CollectorApi.js +0 -59
  8. package/dist/apis/GroupsApi.d.ts +45 -6
  9. package/dist/apis/GroupsApi.js +40 -0
  10. package/dist/apis/ImageUpgradeApi.d.ts +66 -0
  11. package/dist/apis/ImageUpgradeApi.js +90 -0
  12. package/dist/apis/VirtualMachinesApi.d.ts +6 -6
  13. package/dist/apis/index.d.ts +2 -0
  14. package/dist/apis/index.js +2 -0
  15. package/dist/esm/apis/AppliancesApi.d.ts +258 -0
  16. package/dist/esm/apis/AppliancesApi.js +269 -0
  17. package/dist/esm/apis/CollectorApi.d.ts +0 -38
  18. package/dist/esm/apis/CollectorApi.js +0 -59
  19. package/dist/esm/apis/GroupsApi.d.ts +45 -6
  20. package/dist/esm/apis/GroupsApi.js +40 -0
  21. package/dist/esm/apis/ImageUpgradeApi.d.ts +66 -0
  22. package/dist/esm/apis/ImageUpgradeApi.js +86 -0
  23. package/dist/esm/apis/VirtualMachinesApi.d.ts +6 -6
  24. package/dist/esm/apis/index.d.ts +2 -0
  25. package/dist/esm/apis/index.js +2 -0
  26. package/dist/esm/models/AgentStatus.d.ts +5 -0
  27. package/dist/esm/models/AgentStatus.js +5 -0
  28. package/dist/esm/models/Appliance.d.ts +51 -0
  29. package/dist/esm/models/Appliance.js +64 -0
  30. package/dist/esm/models/ApplianceListResponse.d.ts +31 -0
  31. package/dist/esm/models/ApplianceListResponse.js +44 -0
  32. package/dist/esm/models/ApplianceRule.d.ts +90 -0
  33. package/dist/esm/models/ApplianceRule.js +98 -0
  34. package/dist/esm/models/ApplianceRuleCondition.d.ts +42 -0
  35. package/dist/esm/models/ApplianceRuleCondition.js +48 -0
  36. package/dist/esm/models/ApplianceRuleFunction.d.ts +37 -0
  37. package/dist/esm/models/ApplianceRuleFunction.js +46 -0
  38. package/dist/esm/models/ApplianceRuleListResponse.d.ts +31 -0
  39. package/dist/esm/models/ApplianceRuleListResponse.js +44 -0
  40. package/dist/esm/models/ApplianceRuleRequest.d.ts +74 -0
  41. package/dist/esm/models/ApplianceRuleRequest.js +85 -0
  42. package/dist/esm/models/ApplicationOverview.d.ts +16 -0
  43. package/dist/esm/models/ApplicationOverview.js +12 -0
  44. package/dist/esm/models/Datastore.d.ts +9 -0
  45. package/dist/esm/models/Datastore.js +5 -0
  46. package/dist/esm/models/DiskGeometryCondition.d.ts +47 -0
  47. package/dist/esm/models/DiskGeometryCondition.js +58 -0
  48. package/dist/esm/models/Host.d.ts +16 -0
  49. package/dist/esm/models/Host.js +8 -0
  50. package/dist/esm/models/ImageUpgradeImage.d.ts +34 -0
  51. package/dist/esm/models/ImageUpgradeImage.js +47 -0
  52. package/dist/esm/models/ImageUpgradeResult.d.ts +66 -0
  53. package/dist/esm/models/ImageUpgradeResult.js +71 -0
  54. package/dist/esm/models/ImageUpgradeStatus.d.ts +44 -0
  55. package/dist/esm/models/ImageUpgradeStatus.js +57 -0
  56. package/dist/esm/models/ImageUploadStatus.d.ts +44 -0
  57. package/dist/esm/models/ImageUploadStatus.js +56 -0
  58. package/dist/esm/models/OsInfo.d.ts +12 -0
  59. package/dist/esm/models/OsInfo.js +9 -0
  60. package/dist/esm/models/Product.d.ts +66 -0
  61. package/dist/esm/models/Product.js +61 -0
  62. package/dist/esm/models/RDMBacking.d.ts +26 -0
  63. package/dist/esm/models/RDMBacking.js +17 -0
  64. package/dist/esm/models/RDMHostLun.d.ts +42 -0
  65. package/dist/esm/models/RDMHostLun.js +49 -0
  66. package/dist/esm/models/StorageArray.d.ts +42 -0
  67. package/dist/esm/models/StorageArray.js +47 -0
  68. package/dist/esm/models/SuccessfulImageUpgrade.d.ts +38 -0
  69. package/dist/esm/models/SuccessfulImageUpgrade.js +52 -0
  70. package/dist/esm/models/VMFilterOptionsResponse.d.ts +8 -0
  71. package/dist/esm/models/VMFilterOptionsResponse.js +8 -0
  72. package/dist/esm/models/VirtualMachine.d.ts +8 -0
  73. package/dist/esm/models/VirtualMachine.js +4 -0
  74. package/dist/esm/models/VirtualMachineDatastore.d.ts +9 -0
  75. package/dist/esm/models/VirtualMachineDatastore.js +5 -0
  76. package/dist/esm/models/VirtualMachineDetail.d.ts +5 -0
  77. package/dist/esm/models/VirtualMachineDetail.js +3 -0
  78. package/dist/esm/models/VirtualMachineDisk.d.ts +8 -0
  79. package/dist/esm/models/VirtualMachineDisk.js +4 -0
  80. package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
  81. package/dist/esm/models/VirtualMachineIdentity.js +47 -0
  82. package/dist/esm/models/index.d.ts +17 -0
  83. package/dist/esm/models/index.js +17 -0
  84. package/dist/esm/runtime.js +4 -3
  85. package/dist/models/AgentStatus.d.ts +5 -0
  86. package/dist/models/AgentStatus.js +5 -0
  87. package/dist/models/Appliance.d.ts +51 -0
  88. package/dist/models/Appliance.js +71 -0
  89. package/dist/models/ApplianceListResponse.d.ts +31 -0
  90. package/dist/models/ApplianceListResponse.js +51 -0
  91. package/dist/models/ApplianceRule.d.ts +90 -0
  92. package/dist/models/ApplianceRule.js +106 -0
  93. package/dist/models/ApplianceRuleCondition.d.ts +42 -0
  94. package/dist/models/ApplianceRuleCondition.js +55 -0
  95. package/dist/models/ApplianceRuleFunction.d.ts +37 -0
  96. package/dist/models/ApplianceRuleFunction.js +53 -0
  97. package/dist/models/ApplianceRuleListResponse.d.ts +31 -0
  98. package/dist/models/ApplianceRuleListResponse.js +51 -0
  99. package/dist/models/ApplianceRuleRequest.d.ts +74 -0
  100. package/dist/models/ApplianceRuleRequest.js +93 -0
  101. package/dist/models/ApplicationOverview.d.ts +16 -0
  102. package/dist/models/ApplicationOverview.js +12 -0
  103. package/dist/models/Datastore.d.ts +9 -0
  104. package/dist/models/Datastore.js +5 -0
  105. package/dist/models/DiskGeometryCondition.d.ts +47 -0
  106. package/dist/models/DiskGeometryCondition.js +66 -0
  107. package/dist/models/Host.d.ts +16 -0
  108. package/dist/models/Host.js +8 -0
  109. package/dist/models/ImageUpgradeImage.d.ts +34 -0
  110. package/dist/models/ImageUpgradeImage.js +54 -0
  111. package/dist/models/ImageUpgradeResult.d.ts +66 -0
  112. package/dist/models/ImageUpgradeResult.js +79 -0
  113. package/dist/models/ImageUpgradeStatus.d.ts +44 -0
  114. package/dist/models/ImageUpgradeStatus.js +64 -0
  115. package/dist/models/ImageUploadStatus.d.ts +44 -0
  116. package/dist/models/ImageUploadStatus.js +64 -0
  117. package/dist/models/OsInfo.d.ts +12 -0
  118. package/dist/models/OsInfo.js +10 -1
  119. package/dist/models/Product.d.ts +66 -0
  120. package/dist/models/Product.js +68 -0
  121. package/dist/models/RDMBacking.d.ts +26 -0
  122. package/dist/models/RDMBacking.js +18 -0
  123. package/dist/models/RDMHostLun.d.ts +42 -0
  124. package/dist/models/RDMHostLun.js +56 -0
  125. package/dist/models/StorageArray.d.ts +42 -0
  126. package/dist/models/StorageArray.js +54 -0
  127. package/dist/models/SuccessfulImageUpgrade.d.ts +38 -0
  128. package/dist/models/SuccessfulImageUpgrade.js +59 -0
  129. package/dist/models/VMFilterOptionsResponse.d.ts +8 -0
  130. package/dist/models/VMFilterOptionsResponse.js +8 -0
  131. package/dist/models/VirtualMachine.d.ts +8 -0
  132. package/dist/models/VirtualMachine.js +4 -0
  133. package/dist/models/VirtualMachineDatastore.d.ts +9 -0
  134. package/dist/models/VirtualMachineDatastore.js +5 -0
  135. package/dist/models/VirtualMachineDetail.d.ts +5 -0
  136. package/dist/models/VirtualMachineDetail.js +3 -0
  137. package/dist/models/VirtualMachineDisk.d.ts +8 -0
  138. package/dist/models/VirtualMachineDisk.js +4 -0
  139. package/dist/models/VirtualMachineIdentity.d.ts +34 -0
  140. package/dist/models/VirtualMachineIdentity.js +54 -0
  141. package/dist/models/index.d.ts +17 -0
  142. package/dist/models/index.js +17 -0
  143. package/dist/runtime.js +4 -3
  144. package/docs/AgentStatus.md +2 -0
  145. package/docs/Appliance.md +44 -0
  146. package/docs/ApplianceListResponse.md +34 -0
  147. package/docs/ApplianceRule.md +50 -0
  148. package/docs/ApplianceRuleCondition.md +39 -0
  149. package/docs/ApplianceRuleFunction.md +37 -0
  150. package/docs/ApplianceRuleListResponse.md +34 -0
  151. package/docs/ApplianceRuleRequest.md +46 -0
  152. package/docs/AppliancesApi.md +414 -0
  153. package/docs/ApplicationOverview.md +8 -0
  154. package/docs/CollectorApi.md +0 -70
  155. package/docs/Datastore.md +4 -0
  156. package/docs/DiskGeometryCondition.md +38 -0
  157. package/docs/GroupsApi.md +72 -4
  158. package/docs/Host.md +8 -0
  159. package/docs/ImageUpgradeApi.md +82 -0
  160. package/docs/ImageUpgradeImage.md +36 -0
  161. package/docs/ImageUpgradeResult.md +46 -0
  162. package/docs/ImageUpgradeStatus.md +40 -0
  163. package/docs/ImageUploadStatus.md +36 -0
  164. package/docs/OsInfo.md +2 -0
  165. package/docs/Product.md +52 -0
  166. package/docs/RDMBacking.md +8 -0
  167. package/docs/RDMHostLun.md +41 -0
  168. package/docs/StorageArray.md +41 -0
  169. package/docs/SuccessfulImageUpgrade.md +38 -0
  170. package/docs/VMFilterOptionsResponse.md +4 -0
  171. package/docs/VirtualMachine.md +4 -0
  172. package/docs/VirtualMachineDatastore.md +4 -0
  173. package/docs/VirtualMachineDetail.md +2 -0
  174. package/docs/VirtualMachineDisk.md +4 -0
  175. package/docs/VirtualMachineIdentity.md +36 -0
  176. package/docs/VirtualMachinesApi.md +4 -4
  177. package/package.json +1 -1
  178. package/src/apis/AppliancesApi.ts +504 -0
  179. package/src/apis/CollectorApi.ts +0 -97
  180. package/src/apis/GroupsApi.ts +86 -6
  181. package/src/apis/ImageUpgradeApi.ts +128 -0
  182. package/src/apis/VirtualMachinesApi.ts +6 -6
  183. package/src/apis/index.ts +2 -0
  184. package/src/models/AgentStatus.ts +14 -0
  185. package/src/models/Appliance.ts +107 -0
  186. package/src/models/ApplianceListResponse.ts +72 -0
  187. package/src/models/ApplianceRule.ts +159 -0
  188. package/src/models/ApplianceRuleCondition.ts +87 -0
  189. package/src/models/ApplianceRuleFunction.ts +80 -0
  190. package/src/models/ApplianceRuleListResponse.ts +72 -0
  191. package/src/models/ApplianceRuleRequest.ts +137 -0
  192. package/src/models/ApplicationOverview.ts +26 -0
  193. package/src/models/Datastore.ts +19 -0
  194. package/src/models/DiskGeometryCondition.ts +90 -0
  195. package/src/models/Host.ts +24 -0
  196. package/src/models/ImageUpgradeImage.ts +71 -0
  197. package/src/models/ImageUpgradeResult.ts +130 -0
  198. package/src/models/ImageUpgradeStatus.ts +100 -0
  199. package/src/models/ImageUploadStatus.ts +84 -0
  200. package/src/models/OsInfo.ts +15 -0
  201. package/src/models/Product.ts +118 -0
  202. package/src/models/RDMBacking.ts +44 -0
  203. package/src/models/RDMHostLun.ts +82 -0
  204. package/src/models/StorageArray.ts +81 -0
  205. package/src/models/SuccessfulImageUpgrade.ts +78 -0
  206. package/src/models/VMFilterOptionsResponse.ts +14 -0
  207. package/src/models/VirtualMachine.ts +12 -0
  208. package/src/models/VirtualMachineDatastore.ts +20 -0
  209. package/src/models/VirtualMachineDetail.ts +13 -0
  210. package/src/models/VirtualMachineDisk.ts +12 -0
  211. package/src/models/VirtualMachineIdentity.ts +71 -0
  212. package/src/models/index.ts +17 -0
  213. package/src/runtime.ts +3 -3
@@ -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
+ }
@@ -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
+ * Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
14
+ * @export
15
+ * @interface StorageArray
16
+ */
17
+ export interface StorageArray {
18
+ /**
19
+ * Array UUID reported by the source, when available
20
+ */
21
+ uuid?: string;
22
+ /**
23
+ *
24
+ */
25
+ name?: string;
26
+ /**
27
+ * VASA vendor ID, not a SCSI inquiry vendor
28
+ */
29
+ vendorId?: string;
30
+ /**
31
+ * VASA model ID, not a SCSI inquiry model
32
+ */
33
+ modelId?: string;
34
+ }
35
+ /**
36
+ * Check if a given object implements the StorageArray interface.
37
+ */
38
+ export declare function instanceOfStorageArray(value: object): value is StorageArray;
39
+ export declare function StorageArrayFromJSON(json: any): StorageArray;
40
+ export declare function StorageArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageArray;
41
+ export declare function StorageArrayToJSON(json: any): StorageArray;
42
+ export declare function StorageArrayToJSONTyped(value?: StorageArray | 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 StorageArray interface.
16
+ */
17
+ export function instanceOfStorageArray(value) {
18
+ return true;
19
+ }
20
+ export function StorageArrayFromJSON(json) {
21
+ return StorageArrayFromJSONTyped(json, false);
22
+ }
23
+ export function StorageArrayFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'uuid': json['uuid'] == null ? undefined : json['uuid'],
29
+ 'name': json['name'] == null ? undefined : json['name'],
30
+ 'vendorId': json['vendorId'] == null ? undefined : json['vendorId'],
31
+ 'modelId': json['modelId'] == null ? undefined : json['modelId'],
32
+ };
33
+ }
34
+ export function StorageArrayToJSON(json) {
35
+ return StorageArrayToJSONTyped(json, false);
36
+ }
37
+ export function StorageArrayToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'uuid': value['uuid'],
43
+ 'name': value['name'],
44
+ 'vendorId': value['vendorId'],
45
+ 'modelId': value['modelId'],
46
+ };
47
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 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 SuccessfulImageUpgrade
16
+ */
17
+ export interface SuccessfulImageUpgrade {
18
+ /**
19
+ *
20
+ */
21
+ version: string;
22
+ /**
23
+ *
24
+ */
25
+ digest: string;
26
+ /**
27
+ *
28
+ */
29
+ time: Date;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SuccessfulImageUpgrade interface.
33
+ */
34
+ export declare function instanceOfSuccessfulImageUpgrade(value: object): value is SuccessfulImageUpgrade;
35
+ export declare function SuccessfulImageUpgradeFromJSON(json: any): SuccessfulImageUpgrade;
36
+ export declare function SuccessfulImageUpgradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessfulImageUpgrade;
37
+ export declare function SuccessfulImageUpgradeToJSON(json: any): SuccessfulImageUpgrade;
38
+ export declare function SuccessfulImageUpgradeToJSONTyped(value?: SuccessfulImageUpgrade | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 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
+ import { parseDateTime, serializeDateTime } from '../runtime.js';
15
+ /**
16
+ * Check if a given object implements the SuccessfulImageUpgrade interface.
17
+ */
18
+ export function instanceOfSuccessfulImageUpgrade(value) {
19
+ if (!('version' in value) || value['version'] === undefined)
20
+ return false;
21
+ if (!('digest' in value) || value['digest'] === undefined)
22
+ return false;
23
+ if (!('time' in value) || value['time'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function SuccessfulImageUpgradeFromJSON(json) {
28
+ return SuccessfulImageUpgradeFromJSONTyped(json, false);
29
+ }
30
+ export function SuccessfulImageUpgradeFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'version': json['version'],
36
+ 'digest': json['digest'],
37
+ 'time': (json['time'] == null ? json['time'] : parseDateTime(json['time'])),
38
+ };
39
+ }
40
+ export function SuccessfulImageUpgradeToJSON(json) {
41
+ return SuccessfulImageUpgradeToJSONTyped(json, false);
42
+ }
43
+ export function SuccessfulImageUpgradeToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'version': value['version'],
49
+ 'digest': value['digest'],
50
+ 'time': value['time'] == null ? value['time'] : serializeDateTime(value['time']),
51
+ };
52
+ }
@@ -41,6 +41,14 @@ export interface VMFilterOptionsResponse {
41
41
  * Distinct detected application names
42
42
  */
43
43
  applications: Array<string>;
44
+ /**
45
+ * Distinct guest OS values from VM configuration (os_config)
46
+ */
47
+ osConfigs: Array<string>;
48
+ /**
49
+ * Distinct guest OS values reported by VMware Tools (os_tools)
50
+ */
51
+ osTools: Array<string>;
44
52
  }
45
53
  /**
46
54
  * Check if a given object implements the VMFilterOptionsResponse interface.
@@ -27,6 +27,10 @@ export function instanceOfVMFilterOptionsResponse(value) {
27
27
  return false;
28
28
  if (!('applications' in value) || value['applications'] === undefined)
29
29
  return false;
30
+ if (!('osConfigs' in value) || value['osConfigs'] === undefined)
31
+ return false;
32
+ if (!('osTools' in value) || value['osTools'] === undefined)
33
+ return false;
30
34
  return true;
31
35
  }
32
36
  export function VMFilterOptionsResponseFromJSON(json) {
@@ -43,6 +47,8 @@ export function VMFilterOptionsResponseFromJSONTyped(json, ignoreDiscriminator)
43
47
  'concernLabels': json['concernLabels'],
44
48
  'concernCategories': json['concernCategories'],
45
49
  'applications': json['applications'],
50
+ 'osConfigs': json['osConfigs'],
51
+ 'osTools': json['osTools'],
46
52
  };
47
53
  }
48
54
  export function VMFilterOptionsResponseToJSON(json) {
@@ -59,5 +65,7 @@ export function VMFilterOptionsResponseToJSONTyped(value, ignoreDiscriminator =
59
65
  'concernLabels': value['concernLabels'],
60
66
  'concernCategories': value['concernCategories'],
61
67
  'applications': value['applications'],
68
+ 'osConfigs': value['osConfigs'],
69
+ 'osTools': value['osTools'],
62
70
  };
63
71
  }
@@ -80,6 +80,14 @@ export interface VirtualMachine {
80
80
  * User-defined labels for this VM
81
81
  */
82
82
  labels?: Array<string>;
83
+ /**
84
+ * Guest OS according to the VM configuration file (inventory os_config)
85
+ */
86
+ guestName?: string;
87
+ /**
88
+ * Guest OS reported by VMware Tools (inventory os_tools)
89
+ */
90
+ guestNameFromVmwareTools?: string;
83
91
  /**
84
92
  * CPU utilization at p95 (%); absent when no utilization data
85
93
  */
@@ -60,6 +60,8 @@ export function VirtualMachineFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
61
61
  'groups': json['groups'] == null ? undefined : json['groups'],
62
62
  'labels': json['labels'] == null ? undefined : json['labels'],
63
+ 'guestName': json['guestName'] == null ? undefined : json['guestName'],
64
+ 'guestNameFromVmwareTools': json['guestNameFromVmwareTools'] == null ? undefined : json['guestNameFromVmwareTools'],
63
65
  'utilization_cpu_p95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
64
66
  'utilization_mem_p95': json['utilization_mem_p95'] == null ? undefined : json['utilization_mem_p95'],
65
67
  'utilization_cpu_max': json['utilization_cpu_max'] == null ? undefined : json['utilization_cpu_max'],
@@ -92,6 +94,8 @@ export function VirtualMachineToJSONTyped(value, ignoreDiscriminator = false) {
92
94
  'migrationExcluded': value['migrationExcluded'],
93
95
  'groups': value['groups'],
94
96
  'labels': value['labels'],
97
+ 'guestName': value['guestName'],
98
+ 'guestNameFromVmwareTools': value['guestNameFromVmwareTools'],
95
99
  'utilization_cpu_p95': value['utilization_cpu_p95'],
96
100
  'utilization_mem_p95': value['utilization_mem_p95'],
97
101
  'utilization_cpu_max': value['utilization_cpu_max'],
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { StorageArray } from './StorageArray.js';
12
13
  /**
13
14
  * Datastore backing this virtual disk
14
15
  * @export
@@ -55,6 +56,14 @@ export interface VirtualMachineDatastore {
55
56
  * Model reported by matching backing devices when available
56
57
  */
57
58
  model?: string;
59
+ /**
60
+ * Source-reported VASA arrays associated with this datastore, when available
61
+ */
62
+ storageArrays?: Array<StorageArray>;
63
+ /**
64
+ * Source-reported storage container identifier, when available
65
+ */
66
+ storageContainerId?: string;
58
67
  }
59
68
  /**
60
69
  * Check if a given object implements the VirtualMachineDatastore interface.
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { StorageArrayFromJSON, StorageArrayToJSON, } from './StorageArray.js';
14
15
  /**
15
16
  * Check if a given object implements the VirtualMachineDatastore interface.
16
17
  */
@@ -35,6 +36,8 @@ export function VirtualMachineDatastoreFromJSONTyped(json, ignoreDiscriminator)
35
36
  'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
36
37
  'vendor': json['vendor'] == null ? undefined : json['vendor'],
37
38
  'model': json['model'] == null ? undefined : json['model'],
39
+ 'storageArrays': json['storageArrays'] == null ? undefined : (json['storageArrays'].map(StorageArrayFromJSON)),
40
+ 'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
38
41
  };
39
42
  }
40
43
  export function VirtualMachineDatastoreToJSON(json) {
@@ -55,5 +58,7 @@ export function VirtualMachineDatastoreToJSONTyped(value, ignoreDiscriminator =
55
58
  'backingDeviceIds': value['backingDeviceIds'],
56
59
  'vendor': value['vendor'],
57
60
  'model': value['model'],
61
+ 'storageArrays': value['storageArrays'] == null ? undefined : (value['storageArrays'].map(StorageArrayToJSON)),
62
+ 'storageContainerId': value['storageContainerId'],
58
63
  };
59
64
  }
@@ -15,6 +15,7 @@ import type { GuestNetwork } from './GuestNetwork.js';
15
15
  import type { VirtualMachineIssue } from './VirtualMachineIssue.js';
16
16
  import type { VirtualMachineDevice } from './VirtualMachineDevice.js';
17
17
  import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
18
+ import type { Product } from './Product.js';
18
19
  import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
19
20
  import type { Process } from './Process.js';
20
21
  import type { VirtualMachineDisk } from './VirtualMachineDisk.js';
@@ -191,6 +192,10 @@ export interface VirtualMachineDetail {
191
192
  * List of processes detected on this VM
192
193
  */
193
194
  processes?: Array<Process>;
195
+ /**
196
+ * Products configured in the VM's vApp settings
197
+ */
198
+ products?: Array<Product>;
194
199
  }
195
200
  /**
196
201
  * Check if a given object implements the VirtualMachineDetail interface.
@@ -17,6 +17,7 @@ import { GuestNetworkFromJSON, GuestNetworkToJSON, } from './GuestNetwork.js';
17
17
  import { VirtualMachineIssueFromJSON, VirtualMachineIssueToJSON, } from './VirtualMachineIssue.js';
18
18
  import { VirtualMachineDeviceFromJSON, VirtualMachineDeviceToJSON, } from './VirtualMachineDevice.js';
19
19
  import { HostPhysicalNICFromJSON, HostPhysicalNICToJSON, } from './HostPhysicalNIC.js';
20
+ import { ProductFromJSON, ProductToJSON, } from './Product.js';
20
21
  import { VmUtilizationDetailsFromJSON, VmUtilizationDetailsToJSON, } from './VmUtilizationDetails.js';
21
22
  import { ProcessFromJSON, ProcessToJSON, } from './Process.js';
22
23
  import { VirtualMachineDiskFromJSON, VirtualMachineDiskToJSON, } from './VirtualMachineDisk.js';
@@ -98,6 +99,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
98
99
  'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
99
100
  'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
100
101
  'processes': json['processes'] == null ? undefined : (json['processes'].map(ProcessFromJSON)),
102
+ 'products': json['products'] == null ? undefined : (json['products'].map(ProductFromJSON)),
101
103
  };
102
104
  }
103
105
  export function VirtualMachineDetailToJSON(json) {
@@ -148,5 +150,6 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
148
150
  'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
149
151
  'utilization': VmUtilizationDetailsToJSON(value['utilization']),
150
152
  'processes': value['processes'] == null ? undefined : (value['processes'].map(ProcessToJSON)),
153
+ 'products': value['products'] == null ? undefined : (value['products'].map(ProductToJSON)),
151
154
  };
152
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
+ }
@@ -1,6 +1,13 @@
1
1
  export * from './AgentModeRequest.js';
2
2
  export * from './AgentStatus.js';
3
3
  export * from './AgentStatusConsoleConnection.js';
4
+ export * from './Appliance.js';
5
+ export * from './ApplianceListResponse.js';
6
+ export * from './ApplianceRule.js';
7
+ export * from './ApplianceRuleCondition.js';
8
+ export * from './ApplianceRuleFunction.js';
9
+ export * from './ApplianceRuleListResponse.js';
10
+ export * from './ApplianceRuleRequest.js';
4
11
  export * from './ApplicationListResponse.js';
5
12
  export * from './ApplicationOverview.js';
6
13
  export * from './ApplicationVM.js';
@@ -26,6 +33,7 @@ export * from './Datastore.js';
26
33
  export * from './DatastoreDetail.js';
27
34
  export * from './DatastorePairRequest.js';
28
35
  export * from './DeleteLabelGloballyResponse.js';
36
+ export * from './DiskGeometryCondition.js';
29
37
  export * from './DiskSizeTierSummary.js';
30
38
  export * from './DiskTypeSummary.js';
31
39
  export * from './EstimateRange.js';
@@ -41,6 +49,10 @@ export * from './Host.js';
41
49
  export * from './HostPhysicalNIC.js';
42
50
  export * from './HostStorageAdapter.js';
43
51
  export * from './HostStorageLun.js';
52
+ export * from './ImageUpgradeImage.js';
53
+ export * from './ImageUpgradeResult.js';
54
+ export * from './ImageUpgradeStatus.js';
55
+ export * from './ImageUploadStatus.js';
44
56
  export * from './Infra.js';
45
57
  export * from './InspectionStatus.js';
46
58
  export * from './InspectorStatus.js';
@@ -54,13 +66,17 @@ export * from './OsInfo.js';
54
66
  export * from './PairCapability.js';
55
67
  export * from './PairCapabilityRequest.js';
56
68
  export * from './Process.js';
69
+ export * from './Product.js';
57
70
  export * from './RDMBacking.js';
71
+ export * from './RDMHostLun.js';
58
72
  export * from './RightsizingClusterResponse.js';
59
73
  export * from './RightsizingClusterUtilization.js';
60
74
  export * from './StartForecasterRequest.js';
61
75
  export * from './StartInspectionRequest.js';
62
76
  export * from './StopForecasterPair202Response.js';
77
+ export * from './StorageArray.js';
63
78
  export * from './StorageIoConfiguration.js';
79
+ export * from './SuccessfulImageUpgrade.js';
64
80
  export * from './UpdateGroupRequest.js';
65
81
  export * from './UpdateInventory.js';
66
82
  export * from './UpdateLabelVMsRequest.js';
@@ -77,6 +93,7 @@ export * from './VirtualMachineDatastore.js';
77
93
  export * from './VirtualMachineDetail.js';
78
94
  export * from './VirtualMachineDevice.js';
79
95
  export * from './VirtualMachineDisk.js';
96
+ export * from './VirtualMachineIdentity.js';
80
97
  export * from './VirtualMachineInspectionConcern.js';
81
98
  export * from './VirtualMachineInspectionResults.js';
82
99
  export * from './VirtualMachineIssue.js';