@migration-planner-ui/agent-client 0.0.37 → 0.0.38

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 (109) hide show
  1. package/dist/apis/DefaultApi.d.ts +381 -0
  2. package/dist/apis/DefaultApi.d.ts.map +1 -0
  3. package/dist/apis/DefaultApi.js +502 -0
  4. package/dist/apis/index.d.ts +1 -1
  5. package/dist/apis/index.js +1 -1
  6. package/dist/models/AgentModeRequest.d.ts +41 -0
  7. package/dist/models/AgentModeRequest.d.ts.map +1 -0
  8. package/dist/models/AgentModeRequest.js +50 -0
  9. package/dist/models/AgentStatus.d.ts +61 -0
  10. package/dist/models/AgentStatus.d.ts.map +1 -0
  11. package/dist/models/AgentStatus.js +63 -0
  12. package/dist/models/CollectorStartRequest.d.ts +45 -0
  13. package/dist/models/CollectorStartRequest.d.ts.map +1 -0
  14. package/dist/models/{Credentials.js → CollectorStartRequest.js} +11 -13
  15. package/dist/models/CollectorStatus.d.ts +52 -0
  16. package/dist/models/CollectorStatus.d.ts.map +1 -0
  17. package/dist/models/CollectorStatus.js +57 -0
  18. package/dist/models/Datastore.d.ts +3 -3
  19. package/dist/models/Datastore.js +3 -3
  20. package/dist/models/DiskSizeTierSummary.d.ts +3 -3
  21. package/dist/models/DiskSizeTierSummary.js +3 -3
  22. package/dist/models/DiskTypeSummary.d.ts +3 -3
  23. package/dist/models/DiskTypeSummary.js +3 -3
  24. package/dist/models/GuestNetwork.d.ts +57 -0
  25. package/dist/models/GuestNetwork.d.ts.map +1 -0
  26. package/dist/models/GuestNetwork.js +49 -0
  27. package/dist/models/Histogram.d.ts +3 -3
  28. package/dist/models/Histogram.js +3 -3
  29. package/dist/models/Host.d.ts +3 -3
  30. package/dist/models/Host.js +3 -3
  31. package/dist/models/Infra.d.ts +3 -3
  32. package/dist/models/Infra.js +3 -3
  33. package/dist/models/InspectorStartRequest.d.ts +40 -0
  34. package/dist/models/InspectorStartRequest.d.ts.map +1 -0
  35. package/dist/models/InspectorStartRequest.js +48 -0
  36. package/dist/models/InspectorStatus.d.ts +52 -0
  37. package/dist/models/InspectorStatus.d.ts.map +1 -0
  38. package/dist/models/InspectorStatus.js +57 -0
  39. package/dist/models/Inventory.d.ts +3 -3
  40. package/dist/models/Inventory.js +3 -3
  41. package/dist/models/InventoryData.d.ts +3 -3
  42. package/dist/models/InventoryData.js +3 -3
  43. package/dist/models/MigrationIssue.d.ts +3 -3
  44. package/dist/models/MigrationIssue.js +3 -3
  45. package/dist/models/Network.d.ts +3 -3
  46. package/dist/models/Network.js +3 -3
  47. package/dist/models/OsInfo.d.ts +3 -3
  48. package/dist/models/OsInfo.js +3 -3
  49. package/dist/models/VCenter.d.ts +3 -3
  50. package/dist/models/VCenter.js +3 -3
  51. package/dist/models/VM.d.ts +76 -0
  52. package/dist/models/VM.d.ts.map +1 -0
  53. package/dist/models/VM.js +72 -0
  54. package/dist/models/VMDetails.d.ts +212 -0
  55. package/dist/models/VMDetails.d.ts.map +1 -0
  56. package/dist/models/VMDetails.js +122 -0
  57. package/dist/models/VMDevice.d.ts +33 -0
  58. package/dist/models/VMDevice.d.ts.map +1 -0
  59. package/dist/models/VMDevice.js +41 -0
  60. package/dist/models/VMDisk.d.ts +69 -0
  61. package/dist/models/VMDisk.d.ts.map +1 -0
  62. package/dist/models/VMDisk.js +53 -0
  63. package/dist/models/VMListResponse.d.ts +52 -0
  64. package/dist/models/VMListResponse.d.ts.map +1 -0
  65. package/dist/models/VMListResponse.js +56 -0
  66. package/dist/models/VMNIC.d.ts +45 -0
  67. package/dist/models/VMNIC.d.ts.map +1 -0
  68. package/dist/models/VMNIC.js +45 -0
  69. package/dist/models/VMResourceBreakdown.d.ts +3 -3
  70. package/dist/models/VMResourceBreakdown.js +3 -3
  71. package/dist/models/VMs.d.ts +17 -3
  72. package/dist/models/VMs.d.ts.map +1 -1
  73. package/dist/models/VMs.js +7 -3
  74. package/dist/models/VcenterCredentials.d.ts +45 -0
  75. package/dist/models/VcenterCredentials.d.ts.map +1 -0
  76. package/dist/models/VcenterCredentials.js +51 -0
  77. package/dist/models/VddkPost200Response.d.ts +39 -0
  78. package/dist/models/VddkPost200Response.d.ts.map +1 -0
  79. package/dist/models/VddkPost200Response.js +47 -0
  80. package/dist/models/VmInspectionStatus.d.ts +57 -0
  81. package/dist/models/VmInspectionStatus.d.ts.map +1 -0
  82. package/dist/models/VmInspectionStatus.js +58 -0
  83. package/dist/models/index.d.ts +16 -6
  84. package/dist/models/index.d.ts.map +1 -1
  85. package/dist/models/index.js +16 -6
  86. package/dist/runtime.d.ts +3 -3
  87. package/dist/runtime.d.ts.map +1 -1
  88. package/dist/runtime.js +4 -4
  89. package/package.json +2 -5
  90. package/dist/apis/AgentUiApi.d.ts +0 -126
  91. package/dist/apis/AgentUiApi.d.ts.map +0 -1
  92. package/dist/apis/AgentUiApi.js +0 -163
  93. package/dist/models/Credentials.d.ts +0 -51
  94. package/dist/models/Credentials.d.ts.map +0 -1
  95. package/dist/models/InventoryReply.d.ts +0 -40
  96. package/dist/models/InventoryReply.d.ts.map +0 -1
  97. package/dist/models/InventoryReply.js +0 -48
  98. package/dist/models/ModelError.d.ts +0 -33
  99. package/dist/models/ModelError.d.ts.map +0 -1
  100. package/dist/models/ModelError.js +0 -43
  101. package/dist/models/ServiceUIReply.d.ts +0 -33
  102. package/dist/models/ServiceUIReply.d.ts.map +0 -1
  103. package/dist/models/ServiceUIReply.js +0 -43
  104. package/dist/models/StatusReply.d.ts +0 -81
  105. package/dist/models/StatusReply.d.ts.map +0 -1
  106. package/dist/models/StatusReply.js +0 -70
  107. package/dist/models/VersionReply.d.ts +0 -33
  108. package/dist/models/VersionReply.d.ts.map +0 -1
  109. package/dist/models/VersionReply.js +0 -43
@@ -0,0 +1,212 @@
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: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { VMNIC } from './VMNIC.js';
13
+ import type { VmInspectionStatus } from './VmInspectionStatus.js';
14
+ import type { GuestNetwork } from './GuestNetwork.js';
15
+ import type { VMDevice } from './VMDevice.js';
16
+ import type { VMDisk } from './VMDisk.js';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface VMDetails
21
+ */
22
+ export interface VMDetails {
23
+ /**
24
+ * Unique identifier for the VM in vCenter
25
+ * @type {string}
26
+ * @memberof VMDetails
27
+ */
28
+ id: string;
29
+ /**
30
+ * Display name of the VM
31
+ * @type {string}
32
+ * @memberof VMDetails
33
+ */
34
+ name: string;
35
+ /**
36
+ * Universally unique identifier assigned by vCenter
37
+ * @type {string}
38
+ * @memberof VMDetails
39
+ */
40
+ uuid?: string;
41
+ /**
42
+ * Firmware type used by the VM (bios or efi)
43
+ * @type {string}
44
+ * @memberof VMDetails
45
+ */
46
+ firmware?: string;
47
+ /**
48
+ * Current power state of the VM (poweredOn, poweredOff, or suspended)
49
+ * @type {string}
50
+ * @memberof VMDetails
51
+ */
52
+ powerState: string;
53
+ /**
54
+ * State of the connection between vCenter and the VM's host (connected, disconnected, orphaned, or inaccessible)
55
+ * @type {string}
56
+ * @memberof VMDetails
57
+ */
58
+ connectionState: string;
59
+ /**
60
+ * Reference to the ESXi host where the VM is running
61
+ * @type {string}
62
+ * @memberof VMDetails
63
+ */
64
+ host?: string;
65
+ /**
66
+ * Name of the datacenter containing the VM
67
+ * @type {string}
68
+ * @memberof VMDetails
69
+ */
70
+ datacenter?: string;
71
+ /**
72
+ * Name of the cluster containing the VM
73
+ * @type {string}
74
+ * @memberof VMDetails
75
+ */
76
+ cluster?: string;
77
+ /**
78
+ * Reference to the inventory folder containing the VM
79
+ * @type {string}
80
+ * @memberof VMDetails
81
+ */
82
+ folder?: string;
83
+ /**
84
+ * Total number of virtual CPUs allocated to the VM
85
+ * @type {number}
86
+ * @memberof VMDetails
87
+ */
88
+ cpuCount: number;
89
+ /**
90
+ * Number of CPU cores per virtual socket
91
+ * @type {number}
92
+ * @memberof VMDetails
93
+ */
94
+ coresPerSocket: number;
95
+ /**
96
+ * List of physical CPU IDs the VM is pinned to for scheduling
97
+ * @type {Array<number>}
98
+ * @memberof VMDetails
99
+ */
100
+ cpuAffinity?: Array<number>;
101
+ /**
102
+ * Amount of memory allocated to the VM in megabytes
103
+ * @type {number}
104
+ * @memberof VMDetails
105
+ */
106
+ memoryMB: number;
107
+ /**
108
+ * Full name of the guest operating system as reported by VMware Tools
109
+ * @type {string}
110
+ * @memberof VMDetails
111
+ */
112
+ guestName?: string;
113
+ /**
114
+ * VMware identifier for the guest OS type (e.g., rhel8_64Guest)
115
+ * @type {string}
116
+ * @memberof VMDetails
117
+ */
118
+ guestId?: string;
119
+ /**
120
+ * Hostname of the guest OS as reported by VMware Tools
121
+ * @type {string}
122
+ * @memberof VMDetails
123
+ */
124
+ hostName?: string;
125
+ /**
126
+ * Primary IP address of the guest OS as reported by VMware Tools
127
+ * @type {string}
128
+ * @memberof VMDetails
129
+ */
130
+ ipAddress?: string;
131
+ /**
132
+ * Total storage space consumed by the VM in bytes
133
+ * @type {number}
134
+ * @memberof VMDetails
135
+ */
136
+ storageUsed?: number;
137
+ /**
138
+ * Whether the VM is a template rather than a regular VM
139
+ * @type {boolean}
140
+ * @memberof VMDetails
141
+ */
142
+ isTemplate?: boolean;
143
+ /**
144
+ * Whether VMware Fault Tolerance is enabled, which maintains a live shadow VM for instant failover
145
+ * @type {boolean}
146
+ * @memberof VMDetails
147
+ */
148
+ faultToleranceEnabled?: boolean;
149
+ /**
150
+ * Whether nested virtualization is enabled, allowing hypervisors to run inside the VM
151
+ * @type {boolean}
152
+ * @memberof VMDetails
153
+ */
154
+ nestedHVEnabled?: boolean;
155
+ /**
156
+ * Installation status of VMware Tools (toolsNotInstalled, toolsNotRunning, toolsOld, toolsOk)
157
+ * @type {string}
158
+ * @memberof VMDetails
159
+ */
160
+ toolsStatus?: string;
161
+ /**
162
+ * Whether VMware Tools is currently running in the guest OS
163
+ * @type {string}
164
+ * @memberof VMDetails
165
+ */
166
+ toolsRunningStatus?: string;
167
+ /**
168
+ * List of virtual disks attached to the VM
169
+ * @type {Array<VMDisk>}
170
+ * @memberof VMDetails
171
+ */
172
+ disks: Array<VMDisk>;
173
+ /**
174
+ * List of virtual network interface cards attached to the VM
175
+ * @type {Array<VMNIC>}
176
+ * @memberof VMDetails
177
+ */
178
+ nics: Array<VMNIC>;
179
+ /**
180
+ * List of other virtual devices attached to the VM
181
+ * @type {Array<VMDevice>}
182
+ * @memberof VMDetails
183
+ */
184
+ devices?: Array<VMDevice>;
185
+ /**
186
+ * Network configuration inside the guest OS as reported by VMware Tools
187
+ * @type {Array<GuestNetwork>}
188
+ * @memberof VMDetails
189
+ */
190
+ guestNetworks?: Array<GuestNetwork>;
191
+ /**
192
+ * List of issue identifiers affecting this VM
193
+ * @type {Array<string>}
194
+ * @memberof VMDetails
195
+ */
196
+ issues?: Array<string>;
197
+ /**
198
+ *
199
+ * @type {VmInspectionStatus}
200
+ * @memberof VMDetails
201
+ */
202
+ inspection?: VmInspectionStatus;
203
+ }
204
+ /**
205
+ * Check if a given object implements the VMDetails interface.
206
+ */
207
+ export declare function instanceOfVMDetails(value: object): value is VMDetails;
208
+ export declare function VMDetailsFromJSON(json: any): VMDetails;
209
+ export declare function VMDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMDetails;
210
+ export declare function VMDetailsToJSON(json: any): VMDetails;
211
+ export declare function VMDetailsToJSONTyped(value?: VMDetails | null, ignoreDiscriminator?: boolean): any;
212
+ //# sourceMappingURL=VMDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VMDetails.d.ts","sourceRoot":"","sources":["../../src/models/VMDetails.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,122 @@
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: v1
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 { VMNICFromJSON, VMNICToJSON, } from './VMNIC.js';
15
+ import { VmInspectionStatusFromJSON, VmInspectionStatusToJSON, } from './VmInspectionStatus.js';
16
+ import { GuestNetworkFromJSON, GuestNetworkToJSON, } from './GuestNetwork.js';
17
+ import { VMDeviceFromJSON, VMDeviceToJSON, } from './VMDevice.js';
18
+ import { VMDiskFromJSON, VMDiskToJSON, } from './VMDisk.js';
19
+ /**
20
+ * Check if a given object implements the VMDetails interface.
21
+ */
22
+ export function instanceOfVMDetails(value) {
23
+ if (!('id' in value) || value['id'] === undefined)
24
+ return false;
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('powerState' in value) || value['powerState'] === undefined)
28
+ return false;
29
+ if (!('connectionState' in value) || value['connectionState'] === undefined)
30
+ return false;
31
+ if (!('cpuCount' in value) || value['cpuCount'] === undefined)
32
+ return false;
33
+ if (!('coresPerSocket' in value) || value['coresPerSocket'] === undefined)
34
+ return false;
35
+ if (!('memoryMB' in value) || value['memoryMB'] === undefined)
36
+ return false;
37
+ if (!('disks' in value) || value['disks'] === undefined)
38
+ return false;
39
+ if (!('nics' in value) || value['nics'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ export function VMDetailsFromJSON(json) {
44
+ return VMDetailsFromJSONTyped(json, false);
45
+ }
46
+ export function VMDetailsFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'name': json['name'],
53
+ 'uuid': json['uuid'] == null ? undefined : json['uuid'],
54
+ 'firmware': json['firmware'] == null ? undefined : json['firmware'],
55
+ 'powerState': json['powerState'],
56
+ 'connectionState': json['connectionState'],
57
+ 'host': json['host'] == null ? undefined : json['host'],
58
+ 'datacenter': json['datacenter'] == null ? undefined : json['datacenter'],
59
+ 'cluster': json['cluster'] == null ? undefined : json['cluster'],
60
+ 'folder': json['folder'] == null ? undefined : json['folder'],
61
+ 'cpuCount': json['cpuCount'],
62
+ 'coresPerSocket': json['coresPerSocket'],
63
+ 'cpuAffinity': json['cpuAffinity'] == null ? undefined : json['cpuAffinity'],
64
+ 'memoryMB': json['memoryMB'],
65
+ 'guestName': json['guestName'] == null ? undefined : json['guestName'],
66
+ 'guestId': json['guestId'] == null ? undefined : json['guestId'],
67
+ 'hostName': json['hostName'] == null ? undefined : json['hostName'],
68
+ 'ipAddress': json['ipAddress'] == null ? undefined : json['ipAddress'],
69
+ 'storageUsed': json['storageUsed'] == null ? undefined : json['storageUsed'],
70
+ 'isTemplate': json['isTemplate'] == null ? undefined : json['isTemplate'],
71
+ 'faultToleranceEnabled': json['faultToleranceEnabled'] == null ? undefined : json['faultToleranceEnabled'],
72
+ 'nestedHVEnabled': json['nestedHVEnabled'] == null ? undefined : json['nestedHVEnabled'],
73
+ 'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
74
+ 'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
75
+ 'disks': (json['disks'].map(VMDiskFromJSON)),
76
+ 'nics': (json['nics'].map(VMNICFromJSON)),
77
+ 'devices': json['devices'] == null ? undefined : (json['devices'].map(VMDeviceFromJSON)),
78
+ 'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetworkFromJSON)),
79
+ 'issues': json['issues'] == null ? undefined : json['issues'],
80
+ 'inspection': json['inspection'] == null ? undefined : VmInspectionStatusFromJSON(json['inspection']),
81
+ };
82
+ }
83
+ export function VMDetailsToJSON(json) {
84
+ return VMDetailsToJSONTyped(json, false);
85
+ }
86
+ export function VMDetailsToJSONTyped(value, ignoreDiscriminator = false) {
87
+ if (value == null) {
88
+ return value;
89
+ }
90
+ return {
91
+ 'id': value['id'],
92
+ 'name': value['name'],
93
+ 'uuid': value['uuid'],
94
+ 'firmware': value['firmware'],
95
+ 'powerState': value['powerState'],
96
+ 'connectionState': value['connectionState'],
97
+ 'host': value['host'],
98
+ 'datacenter': value['datacenter'],
99
+ 'cluster': value['cluster'],
100
+ 'folder': value['folder'],
101
+ 'cpuCount': value['cpuCount'],
102
+ 'coresPerSocket': value['coresPerSocket'],
103
+ 'cpuAffinity': value['cpuAffinity'],
104
+ 'memoryMB': value['memoryMB'],
105
+ 'guestName': value['guestName'],
106
+ 'guestId': value['guestId'],
107
+ 'hostName': value['hostName'],
108
+ 'ipAddress': value['ipAddress'],
109
+ 'storageUsed': value['storageUsed'],
110
+ 'isTemplate': value['isTemplate'],
111
+ 'faultToleranceEnabled': value['faultToleranceEnabled'],
112
+ 'nestedHVEnabled': value['nestedHVEnabled'],
113
+ 'toolsStatus': value['toolsStatus'],
114
+ 'toolsRunningStatus': value['toolsRunningStatus'],
115
+ 'disks': (value['disks'].map(VMDiskToJSON)),
116
+ 'nics': (value['nics'].map(VMNICToJSON)),
117
+ 'devices': value['devices'] == null ? undefined : (value['devices'].map(VMDeviceToJSON)),
118
+ 'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetworkToJSON)),
119
+ 'issues': value['issues'],
120
+ 'inspection': VmInspectionStatusToJSON(value['inspection']),
121
+ };
122
+ }
@@ -0,0 +1,33 @@
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: v1
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 VMDevice
16
+ */
17
+ export interface VMDevice {
18
+ /**
19
+ * Type of virtual device (e.g., cdrom, floppy, usb, serial, parallel)
20
+ * @type {string}
21
+ * @memberof VMDevice
22
+ */
23
+ kind?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the VMDevice interface.
27
+ */
28
+ export declare function instanceOfVMDevice(value: object): value is VMDevice;
29
+ export declare function VMDeviceFromJSON(json: any): VMDevice;
30
+ export declare function VMDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMDevice;
31
+ export declare function VMDeviceToJSON(json: any): VMDevice;
32
+ export declare function VMDeviceToJSONTyped(value?: VMDevice | null, ignoreDiscriminator?: boolean): any;
33
+ //# sourceMappingURL=VMDevice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VMDevice.d.ts","sourceRoot":"","sources":["../../src/models/VMDevice.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAEnE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAQvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStG"}
@@ -0,0 +1,41 @@
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: v1
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 VMDevice interface.
16
+ */
17
+ export function instanceOfVMDevice(value) {
18
+ return true;
19
+ }
20
+ export function VMDeviceFromJSON(json) {
21
+ return VMDeviceFromJSONTyped(json, false);
22
+ }
23
+ export function VMDeviceFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'kind': json['kind'] == null ? undefined : json['kind'],
29
+ };
30
+ }
31
+ export function VMDeviceToJSON(json) {
32
+ return VMDeviceToJSONTyped(json, false);
33
+ }
34
+ export function VMDeviceToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'kind': value['kind'],
40
+ };
41
+ }
@@ -0,0 +1,69 @@
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: v1
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 VMDisk
16
+ */
17
+ export interface VMDisk {
18
+ /**
19
+ * Unique key identifying this disk within the VM
20
+ * @type {number}
21
+ * @memberof VMDisk
22
+ */
23
+ key?: number;
24
+ /**
25
+ * Path to the VMDK file in the datastore
26
+ * @type {string}
27
+ * @memberof VMDisk
28
+ */
29
+ file?: string;
30
+ /**
31
+ * Disk capacity in bytes
32
+ * @type {number}
33
+ * @memberof VMDisk
34
+ */
35
+ capacity?: number;
36
+ /**
37
+ * Whether this disk is shared between multiple VMs
38
+ * @type {boolean}
39
+ * @memberof VMDisk
40
+ */
41
+ shared?: boolean;
42
+ /**
43
+ * Whether this is a Raw Device Mapping (direct LUN access)
44
+ * @type {boolean}
45
+ * @memberof VMDisk
46
+ */
47
+ rdm?: boolean;
48
+ /**
49
+ * Bus type (e.g., scsi, ide, sata, nvme)
50
+ * @type {string}
51
+ * @memberof VMDisk
52
+ */
53
+ bus?: string;
54
+ /**
55
+ * Disk mode (e.g., persistent, independent_persistent, independent_nonpersistent)
56
+ * @type {string}
57
+ * @memberof VMDisk
58
+ */
59
+ mode?: string;
60
+ }
61
+ /**
62
+ * Check if a given object implements the VMDisk interface.
63
+ */
64
+ export declare function instanceOfVMDisk(value: object): value is VMDisk;
65
+ export declare function VMDiskFromJSON(json: any): VMDisk;
66
+ export declare function VMDiskFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMDisk;
67
+ export declare function VMDiskToJSON(json: any): VMDisk;
68
+ export declare function VMDiskToJSONTyped(value?: VMDisk | null, ignoreDiscriminator?: boolean): any;
69
+ //# sourceMappingURL=VMDisk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VMDisk.d.ts","sourceRoot":"","sources":["../../src/models/VMDisk.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAE/D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAcnF;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAelG"}
@@ -0,0 +1,53 @@
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: v1
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 VMDisk interface.
16
+ */
17
+ export function instanceOfVMDisk(value) {
18
+ return true;
19
+ }
20
+ export function VMDiskFromJSON(json) {
21
+ return VMDiskFromJSONTyped(json, false);
22
+ }
23
+ export function VMDiskFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'key': json['key'] == null ? undefined : json['key'],
29
+ 'file': json['file'] == null ? undefined : json['file'],
30
+ 'capacity': json['capacity'] == null ? undefined : json['capacity'],
31
+ 'shared': json['shared'] == null ? undefined : json['shared'],
32
+ 'rdm': json['rdm'] == null ? undefined : json['rdm'],
33
+ 'bus': json['bus'] == null ? undefined : json['bus'],
34
+ 'mode': json['mode'] == null ? undefined : json['mode'],
35
+ };
36
+ }
37
+ export function VMDiskToJSON(json) {
38
+ return VMDiskToJSONTyped(json, false);
39
+ }
40
+ export function VMDiskToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'key': value['key'],
46
+ 'file': value['file'],
47
+ 'capacity': value['capacity'],
48
+ 'shared': value['shared'],
49
+ 'rdm': value['rdm'],
50
+ 'bus': value['bus'],
51
+ 'mode': value['mode'],
52
+ };
53
+ }
@@ -0,0 +1,52 @@
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: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { VM } from './VM.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface VMListResponse
17
+ */
18
+ export interface VMListResponse {
19
+ /**
20
+ *
21
+ * @type {Array<VM>}
22
+ * @memberof VMListResponse
23
+ */
24
+ vms: Array<VM>;
25
+ /**
26
+ * Total number of VMs matching the filter
27
+ * @type {number}
28
+ * @memberof VMListResponse
29
+ */
30
+ total: number;
31
+ /**
32
+ * Current page number
33
+ * @type {number}
34
+ * @memberof VMListResponse
35
+ */
36
+ page: number;
37
+ /**
38
+ * Total number of pages
39
+ * @type {number}
40
+ * @memberof VMListResponse
41
+ */
42
+ pageCount: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the VMListResponse interface.
46
+ */
47
+ export declare function instanceOfVMListResponse(value: object): value is VMListResponse;
48
+ export declare function VMListResponseFromJSON(json: any): VMListResponse;
49
+ export declare function VMListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMListResponse;
50
+ export declare function VMListResponseToJSON(json: any): VMListResponse;
51
+ export declare function VMListResponseToJSONTyped(value?: VMListResponse | null, ignoreDiscriminator?: boolean): any;
52
+ //# sourceMappingURL=VMListResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VMListResponse.d.ts","sourceRoot":"","sources":["../../src/models/VMListResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAQlC;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;IACf;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAM/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAWnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYlH"}
@@ -0,0 +1,56 @@
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: v1
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 { VMFromJSON, VMToJSON, } from './VM.js';
15
+ /**
16
+ * Check if a given object implements the VMListResponse interface.
17
+ */
18
+ export function instanceOfVMListResponse(value) {
19
+ if (!('vms' in value) || value['vms'] === undefined)
20
+ return false;
21
+ if (!('total' in value) || value['total'] === undefined)
22
+ return false;
23
+ if (!('page' in value) || value['page'] === undefined)
24
+ return false;
25
+ if (!('pageCount' in value) || value['pageCount'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function VMListResponseFromJSON(json) {
30
+ return VMListResponseFromJSONTyped(json, false);
31
+ }
32
+ export function VMListResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'vms': (json['vms'].map(VMFromJSON)),
38
+ 'total': json['total'],
39
+ 'page': json['page'],
40
+ 'pageCount': json['pageCount'],
41
+ };
42
+ }
43
+ export function VMListResponseToJSON(json) {
44
+ return VMListResponseToJSONTyped(json, false);
45
+ }
46
+ export function VMListResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'vms': (value['vms'].map(VMToJSON)),
52
+ 'total': value['total'],
53
+ 'page': value['page'],
54
+ 'pageCount': value['pageCount'],
55
+ };
56
+ }