@openshift-migration-advisor/agent-sdk 0.32.0 → 0.33.1-693656015cf9

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 (195) hide show
  1. package/.openapi-generator/FILES +36 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +27 -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/DiskGeometryCondition.d.ts +47 -0
  45. package/dist/esm/models/DiskGeometryCondition.js +58 -0
  46. package/dist/esm/models/Host.d.ts +16 -0
  47. package/dist/esm/models/Host.js +8 -0
  48. package/dist/esm/models/ImageUpgradeImage.d.ts +34 -0
  49. package/dist/esm/models/ImageUpgradeImage.js +47 -0
  50. package/dist/esm/models/ImageUpgradeResult.d.ts +66 -0
  51. package/dist/esm/models/ImageUpgradeResult.js +71 -0
  52. package/dist/esm/models/ImageUpgradeStatus.d.ts +44 -0
  53. package/dist/esm/models/ImageUpgradeStatus.js +57 -0
  54. package/dist/esm/models/ImageUploadStatus.d.ts +44 -0
  55. package/dist/esm/models/ImageUploadStatus.js +56 -0
  56. package/dist/esm/models/OsInfo.d.ts +12 -0
  57. package/dist/esm/models/OsInfo.js +9 -0
  58. package/dist/esm/models/Product.d.ts +66 -0
  59. package/dist/esm/models/Product.js +61 -0
  60. package/dist/esm/models/RDMBacking.d.ts +26 -0
  61. package/dist/esm/models/RDMBacking.js +17 -0
  62. package/dist/esm/models/RDMHostLun.d.ts +42 -0
  63. package/dist/esm/models/RDMHostLun.js +49 -0
  64. package/dist/esm/models/SuccessfulImageUpgrade.d.ts +38 -0
  65. package/dist/esm/models/SuccessfulImageUpgrade.js +52 -0
  66. package/dist/esm/models/VMFilterOptionsResponse.d.ts +8 -0
  67. package/dist/esm/models/VMFilterOptionsResponse.js +8 -0
  68. package/dist/esm/models/VirtualMachine.d.ts +8 -0
  69. package/dist/esm/models/VirtualMachine.js +4 -0
  70. package/dist/esm/models/VirtualMachineDetail.d.ts +5 -0
  71. package/dist/esm/models/VirtualMachineDetail.js +3 -0
  72. package/dist/esm/models/VirtualMachineDisk.d.ts +8 -0
  73. package/dist/esm/models/VirtualMachineDisk.js +4 -0
  74. package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
  75. package/dist/esm/models/VirtualMachineIdentity.js +47 -0
  76. package/dist/esm/models/index.d.ts +16 -0
  77. package/dist/esm/models/index.js +16 -0
  78. package/dist/esm/runtime.js +4 -3
  79. package/dist/models/AgentStatus.d.ts +5 -0
  80. package/dist/models/AgentStatus.js +5 -0
  81. package/dist/models/Appliance.d.ts +51 -0
  82. package/dist/models/Appliance.js +71 -0
  83. package/dist/models/ApplianceListResponse.d.ts +31 -0
  84. package/dist/models/ApplianceListResponse.js +51 -0
  85. package/dist/models/ApplianceRule.d.ts +90 -0
  86. package/dist/models/ApplianceRule.js +106 -0
  87. package/dist/models/ApplianceRuleCondition.d.ts +42 -0
  88. package/dist/models/ApplianceRuleCondition.js +55 -0
  89. package/dist/models/ApplianceRuleFunction.d.ts +37 -0
  90. package/dist/models/ApplianceRuleFunction.js +53 -0
  91. package/dist/models/ApplianceRuleListResponse.d.ts +31 -0
  92. package/dist/models/ApplianceRuleListResponse.js +51 -0
  93. package/dist/models/ApplianceRuleRequest.d.ts +74 -0
  94. package/dist/models/ApplianceRuleRequest.js +93 -0
  95. package/dist/models/ApplicationOverview.d.ts +16 -0
  96. package/dist/models/ApplicationOverview.js +12 -0
  97. package/dist/models/DiskGeometryCondition.d.ts +47 -0
  98. package/dist/models/DiskGeometryCondition.js +66 -0
  99. package/dist/models/Host.d.ts +16 -0
  100. package/dist/models/Host.js +8 -0
  101. package/dist/models/ImageUpgradeImage.d.ts +34 -0
  102. package/dist/models/ImageUpgradeImage.js +54 -0
  103. package/dist/models/ImageUpgradeResult.d.ts +66 -0
  104. package/dist/models/ImageUpgradeResult.js +79 -0
  105. package/dist/models/ImageUpgradeStatus.d.ts +44 -0
  106. package/dist/models/ImageUpgradeStatus.js +64 -0
  107. package/dist/models/ImageUploadStatus.d.ts +44 -0
  108. package/dist/models/ImageUploadStatus.js +64 -0
  109. package/dist/models/OsInfo.d.ts +12 -0
  110. package/dist/models/OsInfo.js +10 -1
  111. package/dist/models/Product.d.ts +66 -0
  112. package/dist/models/Product.js +68 -0
  113. package/dist/models/RDMBacking.d.ts +26 -0
  114. package/dist/models/RDMBacking.js +18 -0
  115. package/dist/models/RDMHostLun.d.ts +42 -0
  116. package/dist/models/RDMHostLun.js +56 -0
  117. package/dist/models/SuccessfulImageUpgrade.d.ts +38 -0
  118. package/dist/models/SuccessfulImageUpgrade.js +59 -0
  119. package/dist/models/VMFilterOptionsResponse.d.ts +8 -0
  120. package/dist/models/VMFilterOptionsResponse.js +8 -0
  121. package/dist/models/VirtualMachine.d.ts +8 -0
  122. package/dist/models/VirtualMachine.js +4 -0
  123. package/dist/models/VirtualMachineDetail.d.ts +5 -0
  124. package/dist/models/VirtualMachineDetail.js +3 -0
  125. package/dist/models/VirtualMachineDisk.d.ts +8 -0
  126. package/dist/models/VirtualMachineDisk.js +4 -0
  127. package/dist/models/VirtualMachineIdentity.d.ts +34 -0
  128. package/dist/models/VirtualMachineIdentity.js +54 -0
  129. package/dist/models/index.d.ts +16 -0
  130. package/dist/models/index.js +16 -0
  131. package/dist/runtime.js +4 -3
  132. package/docs/AgentStatus.md +2 -0
  133. package/docs/Appliance.md +44 -0
  134. package/docs/ApplianceListResponse.md +34 -0
  135. package/docs/ApplianceRule.md +50 -0
  136. package/docs/ApplianceRuleCondition.md +39 -0
  137. package/docs/ApplianceRuleFunction.md +37 -0
  138. package/docs/ApplianceRuleListResponse.md +34 -0
  139. package/docs/ApplianceRuleRequest.md +46 -0
  140. package/docs/AppliancesApi.md +414 -0
  141. package/docs/ApplicationOverview.md +8 -0
  142. package/docs/CollectorApi.md +0 -70
  143. package/docs/DiskGeometryCondition.md +38 -0
  144. package/docs/GroupsApi.md +72 -4
  145. package/docs/Host.md +8 -0
  146. package/docs/ImageUpgradeApi.md +82 -0
  147. package/docs/ImageUpgradeImage.md +36 -0
  148. package/docs/ImageUpgradeResult.md +46 -0
  149. package/docs/ImageUpgradeStatus.md +40 -0
  150. package/docs/ImageUploadStatus.md +36 -0
  151. package/docs/OsInfo.md +2 -0
  152. package/docs/Product.md +52 -0
  153. package/docs/RDMBacking.md +8 -0
  154. package/docs/RDMHostLun.md +41 -0
  155. package/docs/SuccessfulImageUpgrade.md +38 -0
  156. package/docs/VMFilterOptionsResponse.md +4 -0
  157. package/docs/VirtualMachine.md +4 -0
  158. package/docs/VirtualMachineDetail.md +2 -0
  159. package/docs/VirtualMachineDisk.md +4 -0
  160. package/docs/VirtualMachineIdentity.md +36 -0
  161. package/docs/VirtualMachinesApi.md +4 -4
  162. package/package.json +1 -1
  163. package/src/apis/AppliancesApi.ts +504 -0
  164. package/src/apis/CollectorApi.ts +0 -97
  165. package/src/apis/GroupsApi.ts +86 -6
  166. package/src/apis/ImageUpgradeApi.ts +128 -0
  167. package/src/apis/VirtualMachinesApi.ts +6 -6
  168. package/src/apis/index.ts +2 -0
  169. package/src/models/AgentStatus.ts +14 -0
  170. package/src/models/Appliance.ts +107 -0
  171. package/src/models/ApplianceListResponse.ts +72 -0
  172. package/src/models/ApplianceRule.ts +159 -0
  173. package/src/models/ApplianceRuleCondition.ts +87 -0
  174. package/src/models/ApplianceRuleFunction.ts +80 -0
  175. package/src/models/ApplianceRuleListResponse.ts +72 -0
  176. package/src/models/ApplianceRuleRequest.ts +137 -0
  177. package/src/models/ApplicationOverview.ts +26 -0
  178. package/src/models/DiskGeometryCondition.ts +90 -0
  179. package/src/models/Host.ts +24 -0
  180. package/src/models/ImageUpgradeImage.ts +71 -0
  181. package/src/models/ImageUpgradeResult.ts +130 -0
  182. package/src/models/ImageUpgradeStatus.ts +100 -0
  183. package/src/models/ImageUploadStatus.ts +84 -0
  184. package/src/models/OsInfo.ts +15 -0
  185. package/src/models/Product.ts +118 -0
  186. package/src/models/RDMBacking.ts +44 -0
  187. package/src/models/RDMHostLun.ts +82 -0
  188. package/src/models/SuccessfulImageUpgrade.ts +78 -0
  189. package/src/models/VMFilterOptionsResponse.ts +14 -0
  190. package/src/models/VirtualMachine.ts +12 -0
  191. package/src/models/VirtualMachineDetail.ts +13 -0
  192. package/src/models/VirtualMachineDisk.ts +12 -0
  193. package/src/models/VirtualMachineIdentity.ts +71 -0
  194. package/src/models/index.ts +16 -0
  195. package/src/runtime.ts +3 -3
@@ -0,0 +1,64 @@
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.instanceOfImageUpgradeStatus = instanceOfImageUpgradeStatus;
17
+ exports.ImageUpgradeStatusFromJSON = ImageUpgradeStatusFromJSON;
18
+ exports.ImageUpgradeStatusFromJSONTyped = ImageUpgradeStatusFromJSONTyped;
19
+ exports.ImageUpgradeStatusToJSON = ImageUpgradeStatusToJSON;
20
+ exports.ImageUpgradeStatusToJSONTyped = ImageUpgradeStatusToJSONTyped;
21
+ const ImageUpgradeResult_js_1 = require("./ImageUpgradeResult.js");
22
+ const ImageUploadStatus_js_1 = require("./ImageUploadStatus.js");
23
+ /**
24
+ * Check if a given object implements the ImageUpgradeStatus interface.
25
+ */
26
+ function instanceOfImageUpgradeStatus(value) {
27
+ if (!('currentVersion' in value) || value['currentVersion'] === undefined)
28
+ return false;
29
+ if (!('upload' in value) || value['upload'] === undefined)
30
+ return false;
31
+ if (!('upgrade' in value) || value['upgrade'] === undefined)
32
+ return false;
33
+ if (!('upgradeError' in value) || value['upgradeError'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function ImageUpgradeStatusFromJSON(json) {
38
+ return ImageUpgradeStatusFromJSONTyped(json, false);
39
+ }
40
+ function ImageUpgradeStatusFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'currentVersion': json['currentVersion'],
46
+ 'upload': (0, ImageUploadStatus_js_1.ImageUploadStatusFromJSON)(json['upload']),
47
+ 'upgrade': (0, ImageUpgradeResult_js_1.ImageUpgradeResultFromJSON)(json['upgrade']),
48
+ 'upgradeError': json['upgradeError'],
49
+ };
50
+ }
51
+ function ImageUpgradeStatusToJSON(json) {
52
+ return ImageUpgradeStatusToJSONTyped(json, false);
53
+ }
54
+ function ImageUpgradeStatusToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'currentVersion': value['currentVersion'],
60
+ 'upload': (0, ImageUploadStatus_js_1.ImageUploadStatusToJSON)(value['upload']),
61
+ 'upgrade': (0, ImageUpgradeResult_js_1.ImageUpgradeResultToJSON)(value['upgrade']),
62
+ 'upgradeError': value['upgradeError'],
63
+ };
64
+ }
@@ -0,0 +1,44 @@
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 ImageUploadStatus
16
+ */
17
+ export interface ImageUploadStatus {
18
+ /**
19
+ * Agent upload activity only; idle does not indicate whether the host is running an upgrade. Unknown means the upload state is unavailable. An unreadable host result does not change this state.
20
+ */
21
+ state: ImageUploadStatusStateEnum;
22
+ /**
23
+ * Last upload error, or an upload-state availability error when state is unknown. Host result read errors are reported in upgradeError.
24
+ */
25
+ lastError: string | null;
26
+ }
27
+ /**
28
+ * @export
29
+ */
30
+ export declare const ImageUploadStatusStateEnum: {
31
+ readonly Idle: "idle";
32
+ readonly Uploading: "uploading";
33
+ readonly Validating: "validating";
34
+ readonly Unknown: "unknown";
35
+ };
36
+ export type ImageUploadStatusStateEnum = typeof ImageUploadStatusStateEnum[keyof typeof ImageUploadStatusStateEnum];
37
+ /**
38
+ * Check if a given object implements the ImageUploadStatus interface.
39
+ */
40
+ export declare function instanceOfImageUploadStatus(value: object): value is ImageUploadStatus;
41
+ export declare function ImageUploadStatusFromJSON(json: any): ImageUploadStatus;
42
+ export declare function ImageUploadStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageUploadStatus;
43
+ export declare function ImageUploadStatusToJSON(json: any): ImageUploadStatus;
44
+ export declare function ImageUploadStatusToJSONTyped(value?: ImageUploadStatus | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.ImageUploadStatusStateEnum = void 0;
17
+ exports.instanceOfImageUploadStatus = instanceOfImageUploadStatus;
18
+ exports.ImageUploadStatusFromJSON = ImageUploadStatusFromJSON;
19
+ exports.ImageUploadStatusFromJSONTyped = ImageUploadStatusFromJSONTyped;
20
+ exports.ImageUploadStatusToJSON = ImageUploadStatusToJSON;
21
+ exports.ImageUploadStatusToJSONTyped = ImageUploadStatusToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ImageUploadStatusStateEnum = {
26
+ Idle: 'idle',
27
+ Uploading: 'uploading',
28
+ Validating: 'validating',
29
+ Unknown: 'unknown',
30
+ };
31
+ /**
32
+ * Check if a given object implements the ImageUploadStatus interface.
33
+ */
34
+ function instanceOfImageUploadStatus(value) {
35
+ if (!('state' in value) || value['state'] === undefined)
36
+ return false;
37
+ if (!('lastError' in value) || value['lastError'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function ImageUploadStatusFromJSON(json) {
42
+ return ImageUploadStatusFromJSONTyped(json, false);
43
+ }
44
+ function ImageUploadStatusFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'state': json['state'],
50
+ 'lastError': json['lastError'],
51
+ };
52
+ }
53
+ function ImageUploadStatusToJSON(json) {
54
+ return ImageUploadStatusToJSONTyped(json, false);
55
+ }
56
+ function ImageUploadStatusToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'state': value['state'],
62
+ 'lastError': value['lastError'],
63
+ };
64
+ }
@@ -27,6 +27,10 @@ export interface OsInfo {
27
27
  * OS support tier per Red Hat KCS article 4234591
28
28
  */
29
29
  supportTier?: OsInfoSupportTierEnum;
30
+ /**
31
+ * MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
32
+ */
33
+ mtvStatus?: OsInfoMtvStatusEnum;
30
34
  /**
31
35
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
36
  */
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
42
46
  readonly SpecialHandling: "special_handling";
43
47
  };
44
48
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const OsInfoMtvStatusEnum: {
53
+ readonly Green: "green";
54
+ readonly Blue: "blue";
55
+ };
56
+ export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
45
57
  /**
46
58
  * Check if a given object implements the OsInfo interface.
47
59
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OsInfoSupportTierEnum = void 0;
16
+ exports.OsInfoMtvStatusEnum = exports.OsInfoSupportTierEnum = void 0;
17
17
  exports.instanceOfOsInfo = instanceOfOsInfo;
18
18
  exports.OsInfoFromJSON = OsInfoFromJSON;
19
19
  exports.OsInfoFromJSONTyped = OsInfoFromJSONTyped;
@@ -28,6 +28,13 @@ exports.OsInfoSupportTierEnum = {
28
28
  CommunitySupported: 'community_supported',
29
29
  SpecialHandling: 'special_handling',
30
30
  };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.OsInfoMtvStatusEnum = {
35
+ Green: 'green',
36
+ Blue: 'blue',
37
+ };
31
38
  /**
32
39
  * Check if a given object implements the OsInfo interface.
33
40
  */
@@ -49,6 +56,7 @@ function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
49
56
  'count': json['count'],
50
57
  'supported': json['supported'],
51
58
  'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
59
+ 'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
52
60
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
53
61
  };
54
62
  }
@@ -63,6 +71,7 @@ function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
63
71
  'count': value['count'],
64
72
  'supported': value['supported'],
65
73
  'supportTier': value['supportTier'],
74
+ 'mtvStatus': value['mtvStatus'],
66
75
  'upgradeRecommendation': value['upgradeRecommendation'],
67
76
  };
68
77
  }
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Product
16
+ */
17
+ export interface Product {
18
+ /**
19
+ * Product key
20
+ */
21
+ key: number;
22
+ /**
23
+ * Product class identifier
24
+ */
25
+ classId?: string;
26
+ /**
27
+ * Product instance identifier
28
+ */
29
+ instanceId?: string;
30
+ /**
31
+ * Product name
32
+ */
33
+ name?: string;
34
+ /**
35
+ * Product vendor
36
+ */
37
+ vendor?: string;
38
+ /**
39
+ * Product version
40
+ */
41
+ version?: string;
42
+ /**
43
+ * Full product version
44
+ */
45
+ fullVersion?: string;
46
+ /**
47
+ * Product vendor URL
48
+ */
49
+ vendorUrl?: string;
50
+ /**
51
+ * Product URL
52
+ */
53
+ productUrl?: string;
54
+ /**
55
+ * Application URL
56
+ */
57
+ appUrl?: string;
58
+ }
59
+ /**
60
+ * Check if a given object implements the Product interface.
61
+ */
62
+ export declare function instanceOfProduct(value: object): value is Product;
63
+ export declare function ProductFromJSON(json: any): Product;
64
+ export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
65
+ export declare function ProductToJSON(json: any): Product;
66
+ export declare function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,68 @@
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.instanceOfProduct = instanceOfProduct;
17
+ exports.ProductFromJSON = ProductFromJSON;
18
+ exports.ProductFromJSONTyped = ProductFromJSONTyped;
19
+ exports.ProductToJSON = ProductToJSON;
20
+ exports.ProductToJSONTyped = ProductToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Product interface.
23
+ */
24
+ function instanceOfProduct(value) {
25
+ if (!('key' in value) || value['key'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ProductFromJSON(json) {
30
+ return ProductFromJSONTyped(json, false);
31
+ }
32
+ function ProductFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'key': json['key'],
38
+ 'classId': json['classId'] == null ? undefined : json['classId'],
39
+ 'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
40
+ 'name': json['name'] == null ? undefined : json['name'],
41
+ 'vendor': json['vendor'] == null ? undefined : json['vendor'],
42
+ 'version': json['version'] == null ? undefined : json['version'],
43
+ 'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
44
+ 'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
45
+ 'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
46
+ 'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
47
+ };
48
+ }
49
+ function ProductToJSON(json) {
50
+ return ProductToJSONTyped(json, false);
51
+ }
52
+ function ProductToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'key': value['key'],
58
+ 'classId': value['classId'],
59
+ 'instanceId': value['instanceId'],
60
+ 'name': value['name'],
61
+ 'vendor': value['vendor'],
62
+ 'version': value['version'],
63
+ 'fullVersion': value['fullVersion'],
64
+ 'vendorUrl': value['vendorUrl'],
65
+ 'productUrl': value['productUrl'],
66
+ 'appUrl': value['appUrl'],
67
+ };
68
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { RDMHostLun } from './RDMHostLun.js';
12
13
  /**
13
14
  * Source-provided backing identity for an RDM disk; omitted when unavailable
14
15
  * @export
@@ -19,7 +20,32 @@ export interface RDMBacking {
19
20
  * LUN UUID reported directly by the RDM disk backing, when available
20
21
  */
21
22
  lunUuid?: string;
23
+ /**
24
+ * Device name reported directly by the RDM disk backing
25
+ */
26
+ deviceName?: string;
27
+ /**
28
+ * Source-normalized RDM compatibility mode
29
+ */
30
+ compatibilityMode?: RDMBackingCompatibilityModeEnum;
31
+ /**
32
+ * UUID explicitly identifying the RDM backing, when available
33
+ */
34
+ backingUuid?: string;
35
+ /**
36
+ *
37
+ */
38
+ hostLun?: RDMHostLun;
22
39
  }
40
+ /**
41
+ * @export
42
+ */
43
+ export declare const RDMBackingCompatibilityModeEnum: {
44
+ readonly Physical: "physical";
45
+ readonly Virtual: "virtual";
46
+ readonly Unknown: "unknown";
47
+ };
48
+ export type RDMBackingCompatibilityModeEnum = typeof RDMBackingCompatibilityModeEnum[keyof typeof RDMBackingCompatibilityModeEnum];
23
49
  /**
24
50
  * Check if a given object implements the RDMBacking interface.
25
51
  */
@@ -13,11 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RDMBackingCompatibilityModeEnum = void 0;
16
17
  exports.instanceOfRDMBacking = instanceOfRDMBacking;
17
18
  exports.RDMBackingFromJSON = RDMBackingFromJSON;
18
19
  exports.RDMBackingFromJSONTyped = RDMBackingFromJSONTyped;
19
20
  exports.RDMBackingToJSON = RDMBackingToJSON;
20
21
  exports.RDMBackingToJSONTyped = RDMBackingToJSONTyped;
22
+ const RDMHostLun_js_1 = require("./RDMHostLun.js");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.RDMBackingCompatibilityModeEnum = {
27
+ Physical: 'physical',
28
+ Virtual: 'virtual',
29
+ Unknown: 'unknown',
30
+ };
21
31
  /**
22
32
  * Check if a given object implements the RDMBacking interface.
23
33
  */
@@ -33,6 +43,10 @@ function RDMBackingFromJSONTyped(json, ignoreDiscriminator) {
33
43
  }
34
44
  return {
35
45
  'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
46
+ 'deviceName': json['deviceName'] == null ? undefined : json['deviceName'],
47
+ 'compatibilityMode': json['compatibilityMode'] == null ? undefined : json['compatibilityMode'],
48
+ 'backingUuid': json['backingUuid'] == null ? undefined : json['backingUuid'],
49
+ 'hostLun': json['hostLun'] == null ? undefined : (0, RDMHostLun_js_1.RDMHostLunFromJSON)(json['hostLun']),
36
50
  };
37
51
  }
38
52
  function RDMBackingToJSON(json) {
@@ -44,5 +58,9 @@ function RDMBackingToJSONTyped(value, ignoreDiscriminator = false) {
44
58
  }
45
59
  return {
46
60
  'lunUuid': value['lunUuid'],
61
+ 'deviceName': value['deviceName'],
62
+ 'compatibilityMode': value['compatibilityMode'],
63
+ 'backingUuid': value['backingUuid'],
64
+ 'hostLun': (0, RDMHostLun_js_1.RDMHostLunToJSON)(value['hostLun']),
47
65
  };
48
66
  }
@@ -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,56 @@
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.instanceOfRDMHostLun = instanceOfRDMHostLun;
17
+ exports.RDMHostLunFromJSON = RDMHostLunFromJSON;
18
+ exports.RDMHostLunFromJSONTyped = RDMHostLunFromJSONTyped;
19
+ exports.RDMHostLunToJSON = RDMHostLunToJSON;
20
+ exports.RDMHostLunToJSONTyped = RDMHostLunToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RDMHostLun interface.
23
+ */
24
+ function instanceOfRDMHostLun(value) {
25
+ if (!('hostId' in value) || value['hostId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function RDMHostLunFromJSON(json) {
30
+ return RDMHostLunFromJSONTyped(json, false);
31
+ }
32
+ function RDMHostLunFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'hostId': json['hostId'],
38
+ 'key': json['key'] == null ? undefined : json['key'],
39
+ 'canonicalName': json['canonicalName'] == null ? undefined : json['canonicalName'],
40
+ 'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
41
+ };
42
+ }
43
+ function RDMHostLunToJSON(json) {
44
+ return RDMHostLunToJSONTyped(json, false);
45
+ }
46
+ function RDMHostLunToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'hostId': value['hostId'],
52
+ 'key': value['key'],
53
+ 'canonicalName': value['canonicalName'],
54
+ 'lunUuid': value['lunUuid'],
55
+ };
56
+ }
@@ -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,59 @@
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.instanceOfSuccessfulImageUpgrade = instanceOfSuccessfulImageUpgrade;
17
+ exports.SuccessfulImageUpgradeFromJSON = SuccessfulImageUpgradeFromJSON;
18
+ exports.SuccessfulImageUpgradeFromJSONTyped = SuccessfulImageUpgradeFromJSONTyped;
19
+ exports.SuccessfulImageUpgradeToJSON = SuccessfulImageUpgradeToJSON;
20
+ exports.SuccessfulImageUpgradeToJSONTyped = SuccessfulImageUpgradeToJSONTyped;
21
+ const runtime_js_1 = require("../runtime.js");
22
+ /**
23
+ * Check if a given object implements the SuccessfulImageUpgrade interface.
24
+ */
25
+ function instanceOfSuccessfulImageUpgrade(value) {
26
+ if (!('version' in value) || value['version'] === undefined)
27
+ return false;
28
+ if (!('digest' in value) || value['digest'] === undefined)
29
+ return false;
30
+ if (!('time' in value) || value['time'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function SuccessfulImageUpgradeFromJSON(json) {
35
+ return SuccessfulImageUpgradeFromJSONTyped(json, false);
36
+ }
37
+ function SuccessfulImageUpgradeFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'version': json['version'],
43
+ 'digest': json['digest'],
44
+ 'time': (json['time'] == null ? json['time'] : (0, runtime_js_1.parseDateTime)(json['time'])),
45
+ };
46
+ }
47
+ function SuccessfulImageUpgradeToJSON(json) {
48
+ return SuccessfulImageUpgradeToJSONTyped(json, false);
49
+ }
50
+ function SuccessfulImageUpgradeToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'version': value['version'],
56
+ 'digest': value['digest'],
57
+ 'time': value['time'] == null ? value['time'] : (0, runtime_js_1.serializeDateTime)(value['time']),
58
+ };
59
+ }
@@ -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.