@openshift-migration-advisor/agent-sdk 0.33.1-84c734aba511 → 0.33.1-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 (76) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +14 -2
  3. package/dist/apis/AppliancesApi.d.ts +194 -0
  4. package/dist/apis/AppliancesApi.js +201 -0
  5. package/dist/apis/GroupsApi.d.ts +6 -6
  6. package/dist/apis/VirtualMachinesApi.d.ts +6 -6
  7. package/dist/esm/apis/AppliancesApi.d.ts +194 -0
  8. package/dist/esm/apis/AppliancesApi.js +201 -0
  9. package/dist/esm/apis/GroupsApi.d.ts +6 -6
  10. package/dist/esm/apis/VirtualMachinesApi.d.ts +6 -6
  11. package/dist/esm/models/ApplianceRule.d.ts +90 -0
  12. package/dist/esm/models/ApplianceRule.js +98 -0
  13. package/dist/esm/models/ApplianceRuleCondition.d.ts +42 -0
  14. package/dist/esm/models/ApplianceRuleCondition.js +48 -0
  15. package/dist/esm/models/ApplianceRuleFunction.d.ts +37 -0
  16. package/dist/esm/models/ApplianceRuleFunction.js +46 -0
  17. package/dist/esm/models/ApplianceRuleListResponse.d.ts +31 -0
  18. package/dist/esm/models/ApplianceRuleListResponse.js +44 -0
  19. package/dist/esm/models/ApplianceRuleRequest.d.ts +74 -0
  20. package/dist/esm/models/ApplianceRuleRequest.js +85 -0
  21. package/dist/esm/models/Datastore.d.ts +9 -0
  22. package/dist/esm/models/Datastore.js +5 -0
  23. package/dist/esm/models/DiskGeometryCondition.d.ts +47 -0
  24. package/dist/esm/models/DiskGeometryCondition.js +58 -0
  25. package/dist/esm/models/StorageArray.d.ts +42 -0
  26. package/dist/esm/models/StorageArray.js +47 -0
  27. package/dist/esm/models/VirtualMachineDatastore.d.ts +9 -0
  28. package/dist/esm/models/VirtualMachineDatastore.js +5 -0
  29. package/dist/esm/models/index.d.ts +7 -0
  30. package/dist/esm/models/index.js +7 -0
  31. package/dist/models/ApplianceRule.d.ts +90 -0
  32. package/dist/models/ApplianceRule.js +106 -0
  33. package/dist/models/ApplianceRuleCondition.d.ts +42 -0
  34. package/dist/models/ApplianceRuleCondition.js +55 -0
  35. package/dist/models/ApplianceRuleFunction.d.ts +37 -0
  36. package/dist/models/ApplianceRuleFunction.js +53 -0
  37. package/dist/models/ApplianceRuleListResponse.d.ts +31 -0
  38. package/dist/models/ApplianceRuleListResponse.js +51 -0
  39. package/dist/models/ApplianceRuleRequest.d.ts +74 -0
  40. package/dist/models/ApplianceRuleRequest.js +93 -0
  41. package/dist/models/Datastore.d.ts +9 -0
  42. package/dist/models/Datastore.js +5 -0
  43. package/dist/models/DiskGeometryCondition.d.ts +47 -0
  44. package/dist/models/DiskGeometryCondition.js +66 -0
  45. package/dist/models/StorageArray.d.ts +42 -0
  46. package/dist/models/StorageArray.js +54 -0
  47. package/dist/models/VirtualMachineDatastore.d.ts +9 -0
  48. package/dist/models/VirtualMachineDatastore.js +5 -0
  49. package/dist/models/index.d.ts +7 -0
  50. package/dist/models/index.js +7 -0
  51. package/docs/ApplianceRule.md +50 -0
  52. package/docs/ApplianceRuleCondition.md +39 -0
  53. package/docs/ApplianceRuleFunction.md +37 -0
  54. package/docs/ApplianceRuleListResponse.md +34 -0
  55. package/docs/ApplianceRuleRequest.md +46 -0
  56. package/docs/AppliancesApi.md +338 -0
  57. package/docs/Datastore.md +4 -0
  58. package/docs/DiskGeometryCondition.md +38 -0
  59. package/docs/GroupsApi.md +4 -4
  60. package/docs/StorageArray.md +41 -0
  61. package/docs/VirtualMachineDatastore.md +4 -0
  62. package/docs/VirtualMachinesApi.md +4 -4
  63. package/package.json +1 -1
  64. package/src/apis/AppliancesApi.ts +393 -0
  65. package/src/apis/GroupsApi.ts +6 -6
  66. package/src/apis/VirtualMachinesApi.ts +6 -6
  67. package/src/models/ApplianceRule.ts +159 -0
  68. package/src/models/ApplianceRuleCondition.ts +87 -0
  69. package/src/models/ApplianceRuleFunction.ts +80 -0
  70. package/src/models/ApplianceRuleListResponse.ts +72 -0
  71. package/src/models/ApplianceRuleRequest.ts +137 -0
  72. package/src/models/Datastore.ts +19 -0
  73. package/src/models/DiskGeometryCondition.ts +90 -0
  74. package/src/models/StorageArray.ts +81 -0
  75. package/src/models/VirtualMachineDatastore.ts +20 -0
  76. package/src/models/index.ts +7 -0
@@ -0,0 +1,81 @@
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
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
18
+ * @export
19
+ * @interface StorageArray
20
+ */
21
+ export interface StorageArray {
22
+ /**
23
+ * Array UUID reported by the source, when available
24
+ */
25
+ uuid?: string;
26
+ /**
27
+ *
28
+ */
29
+ name?: string;
30
+ /**
31
+ * VASA vendor ID, not a SCSI inquiry vendor
32
+ */
33
+ vendorId?: string;
34
+ /**
35
+ * VASA model ID, not a SCSI inquiry model
36
+ */
37
+ modelId?: string;
38
+ }
39
+
40
+ /**
41
+ * Check if a given object implements the StorageArray interface.
42
+ */
43
+ export function instanceOfStorageArray(value: object): value is StorageArray {
44
+ return true;
45
+ }
46
+
47
+ export function StorageArrayFromJSON(json: any): StorageArray {
48
+ return StorageArrayFromJSONTyped(json, false);
49
+ }
50
+
51
+ export function StorageArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageArray {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+
57
+ 'uuid': json['uuid'] == null ? undefined : json['uuid'],
58
+ 'name': json['name'] == null ? undefined : json['name'],
59
+ 'vendorId': json['vendorId'] == null ? undefined : json['vendorId'],
60
+ 'modelId': json['modelId'] == null ? undefined : json['modelId'],
61
+ };
62
+ }
63
+
64
+ export function StorageArrayToJSON(json: any): StorageArray {
65
+ return StorageArrayToJSONTyped(json, false);
66
+ }
67
+
68
+ export function StorageArrayToJSONTyped(value?: StorageArray | null, ignoreDiscriminator: boolean = false): any {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+
73
+ return {
74
+
75
+ 'uuid': value['uuid'],
76
+ 'name': value['name'],
77
+ 'vendorId': value['vendorId'],
78
+ 'modelId': value['modelId'],
79
+ };
80
+ }
81
+
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { StorageArray } from './StorageArray.js';
17
+ import {
18
+ StorageArrayFromJSON,
19
+ StorageArrayFromJSONTyped,
20
+ StorageArrayToJSON,
21
+ StorageArrayToJSONTyped,
22
+ } from './StorageArray.js';
23
+
16
24
  /**
17
25
  * Datastore backing this virtual disk
18
26
  * @export
@@ -59,6 +67,14 @@ export interface VirtualMachineDatastore {
59
67
  * Model reported by matching backing devices when available
60
68
  */
61
69
  model?: string;
70
+ /**
71
+ * Source-reported VASA arrays associated with this datastore, when available
72
+ */
73
+ storageArrays?: Array<StorageArray>;
74
+ /**
75
+ * Source-reported storage container identifier, when available
76
+ */
77
+ storageContainerId?: string;
62
78
  }
63
79
 
64
80
  /**
@@ -88,6 +104,8 @@ export function VirtualMachineDatastoreFromJSONTyped(json: any, ignoreDiscrimina
88
104
  'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
89
105
  'vendor': json['vendor'] == null ? undefined : json['vendor'],
90
106
  'model': json['model'] == null ? undefined : json['model'],
107
+ 'storageArrays': json['storageArrays'] == null ? undefined : ((json['storageArrays'] as Array<any>).map(StorageArrayFromJSON)),
108
+ 'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
91
109
  };
92
110
  }
93
111
 
@@ -112,6 +130,8 @@ export function VirtualMachineDatastoreToJSONTyped(value?: VirtualMachineDatasto
112
130
  'backingDeviceIds': value['backingDeviceIds'],
113
131
  'vendor': value['vendor'],
114
132
  'model': value['model'],
133
+ 'storageArrays': value['storageArrays'] == null ? undefined : ((value['storageArrays'] as Array<any>).map(StorageArrayToJSON)),
134
+ 'storageContainerId': value['storageContainerId'],
115
135
  };
116
136
  }
117
137
 
@@ -5,6 +5,11 @@ export * from './AgentStatus.js';
5
5
  export * from './AgentStatusConsoleConnection.js';
6
6
  export * from './Appliance.js';
7
7
  export * from './ApplianceListResponse.js';
8
+ export * from './ApplianceRule.js';
9
+ export * from './ApplianceRuleCondition.js';
10
+ export * from './ApplianceRuleFunction.js';
11
+ export * from './ApplianceRuleListResponse.js';
12
+ export * from './ApplianceRuleRequest.js';
8
13
  export * from './ApplicationListResponse.js';
9
14
  export * from './ApplicationOverview.js';
10
15
  export * from './ApplicationVM.js';
@@ -30,6 +35,7 @@ export * from './Datastore.js';
30
35
  export * from './DatastoreDetail.js';
31
36
  export * from './DatastorePairRequest.js';
32
37
  export * from './DeleteLabelGloballyResponse.js';
38
+ export * from './DiskGeometryCondition.js';
33
39
  export * from './DiskSizeTierSummary.js';
34
40
  export * from './DiskTypeSummary.js';
35
41
  export * from './EstimateRange.js';
@@ -70,6 +76,7 @@ export * from './RightsizingClusterUtilization.js';
70
76
  export * from './StartForecasterRequest.js';
71
77
  export * from './StartInspectionRequest.js';
72
78
  export * from './StopForecasterPair202Response.js';
79
+ export * from './StorageArray.js';
73
80
  export * from './StorageIoConfiguration.js';
74
81
  export * from './SuccessfulImageUpgrade.js';
75
82
  export * from './UpdateGroupRequest.js';