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

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.
@@ -49,6 +49,7 @@ docs/GroupsApi.md
49
49
  docs/GuestNetwork.md
50
50
  docs/Histogram.md
51
51
  docs/Host.md
52
+ docs/HostPhysicalNIC.md
52
53
  docs/HostStorageAdapter.md
53
54
  docs/HostStorageLun.md
54
55
  docs/Infra.md
@@ -154,6 +155,7 @@ src/models/GroupResponse.ts
154
155
  src/models/GuestNetwork.ts
155
156
  src/models/Histogram.ts
156
157
  src/models/Host.ts
158
+ src/models/HostPhysicalNIC.ts
157
159
  src/models/HostStorageAdapter.ts
158
160
  src/models/HostStorageLun.ts
159
161
  src/models/Infra.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.31.0-8fbde84d9594
1
+ # @openshift-migration-advisor/agent-sdk@0.31.0-ce8ec7f258cb
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -146,6 +146,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
146
146
  - [GuestNetwork](docs/GuestNetwork.md)
147
147
  - [Histogram](docs/Histogram.md)
148
148
  - [Host](docs/Host.md)
149
+ - [HostPhysicalNIC](docs/HostPhysicalNIC.md)
149
150
  - [HostStorageAdapter](docs/HostStorageAdapter.md)
150
151
  - [HostStorageLun](docs/HostStorageLun.md)
151
152
  - [Infra](docs/Infra.md)
@@ -204,7 +205,7 @@ and is automatically generated by the
204
205
  [OpenAPI Generator](https://openapi-generator.tech) project:
205
206
 
206
207
  - API version: `v2`
207
- - Package version: `0.31.0-8fbde84d9594`
208
+ - Package version: `0.31.0-ce8ec7f258cb`
208
209
  - Generator version: `7.28.0-SNAPSHOT`
209
210
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
210
211
 
@@ -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 HostPhysicalNIC
16
+ */
17
+ export interface HostPhysicalNIC {
18
+ /**
19
+ * Source physical NIC identity, scoped to the VM's host and collection.
20
+ */
21
+ id: string;
22
+ /**
23
+ * Reported link speed in Mbps; omitted when unknown. This is not measured throughput.
24
+ */
25
+ linkSpeedMbps?: number;
26
+ }
27
+ /**
28
+ * Check if a given object implements the HostPhysicalNIC interface.
29
+ */
30
+ export declare function instanceOfHostPhysicalNIC(value: object): value is HostPhysicalNIC;
31
+ export declare function HostPhysicalNICFromJSON(json: any): HostPhysicalNIC;
32
+ export declare function HostPhysicalNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostPhysicalNIC;
33
+ export declare function HostPhysicalNICToJSON(json: any): HostPhysicalNIC;
34
+ export declare function HostPhysicalNICToJSONTyped(value?: HostPhysicalNIC | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
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 HostPhysicalNIC interface.
16
+ */
17
+ export function instanceOfHostPhysicalNIC(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function HostPhysicalNICFromJSON(json) {
23
+ return HostPhysicalNICFromJSONTyped(json, false);
24
+ }
25
+ export function HostPhysicalNICFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'id': json['id'],
31
+ 'linkSpeedMbps': json['linkSpeedMbps'] == null ? undefined : json['linkSpeedMbps'],
32
+ };
33
+ }
34
+ export function HostPhysicalNICToJSON(json) {
35
+ return HostPhysicalNICToJSONTyped(json, false);
36
+ }
37
+ export function HostPhysicalNICToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'id': value['id'],
43
+ 'linkSpeedMbps': value['linkSpeedMbps'],
44
+ };
45
+ }
@@ -14,6 +14,7 @@ import type { InspectionStatus } from './InspectionStatus.js';
14
14
  import type { GuestNetwork } from './GuestNetwork.js';
15
15
  import type { VirtualMachineIssue } from './VirtualMachineIssue.js';
16
16
  import type { VirtualMachineDevice } from './VirtualMachineDevice.js';
17
+ import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
17
18
  import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
18
19
  import type { Process } from './Process.js';
19
20
  import type { VirtualMachineDisk } from './VirtualMachineDisk.js';
@@ -154,6 +155,10 @@ export interface VirtualMachineDetail {
154
155
  *
155
156
  */
156
157
  disks: Array<VirtualMachineDisk>;
158
+ /**
159
+ * Physical NICs reported on the VM's host. An empty array means no records were retained.
160
+ */
161
+ hostPhysicalNics?: Array<HostPhysicalNIC>;
157
162
  /**
158
163
  * Adapter count reported by the source; 0 when unavailable
159
164
  */
@@ -16,6 +16,7 @@ import { InspectionStatusFromJSON, InspectionStatusToJSON, } from './InspectionS
16
16
  import { GuestNetworkFromJSON, GuestNetworkToJSON, } from './GuestNetwork.js';
17
17
  import { VirtualMachineIssueFromJSON, VirtualMachineIssueToJSON, } from './VirtualMachineIssue.js';
18
18
  import { VirtualMachineDeviceFromJSON, VirtualMachineDeviceToJSON, } from './VirtualMachineDevice.js';
19
+ import { HostPhysicalNICFromJSON, HostPhysicalNICToJSON, } from './HostPhysicalNIC.js';
19
20
  import { VmUtilizationDetailsFromJSON, VmUtilizationDetailsToJSON, } from './VmUtilizationDetails.js';
20
21
  import { ProcessFromJSON, ProcessToJSON, } from './Process.js';
21
22
  import { VirtualMachineDiskFromJSON, VirtualMachineDiskToJSON, } from './VirtualMachineDisk.js';
@@ -88,6 +89,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
88
89
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
89
90
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
90
91
  'disks': (json['disks'].map(VirtualMachineDiskFromJSON)),
92
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNICFromJSON)),
91
93
  'nicCount': json['nicCount'],
92
94
  'nics': (json['nics'].map(VirtualMachineNICFromJSON)),
93
95
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDeviceFromJSON)),
@@ -137,6 +139,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
137
139
  'toolsStatus': value['toolsStatus'],
138
140
  'toolsRunningStatus': value['toolsRunningStatus'],
139
141
  'disks': (value['disks'].map(VirtualMachineDiskToJSON)),
142
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNICToJSON)),
140
143
  'nicCount': value['nicCount'],
141
144
  'nics': (value['nics'].map(VirtualMachineNICToJSON)),
142
145
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDeviceToJSON)),
@@ -38,6 +38,7 @@ export * from './GroupResponse.js';
38
38
  export * from './GuestNetwork.js';
39
39
  export * from './Histogram.js';
40
40
  export * from './Host.js';
41
+ export * from './HostPhysicalNIC.js';
41
42
  export * from './HostStorageAdapter.js';
42
43
  export * from './HostStorageLun.js';
43
44
  export * from './Infra.js';
@@ -40,6 +40,7 @@ export * from './GroupResponse.js';
40
40
  export * from './GuestNetwork.js';
41
41
  export * from './Histogram.js';
42
42
  export * from './Host.js';
43
+ export * from './HostPhysicalNIC.js';
43
44
  export * from './HostStorageAdapter.js';
44
45
  export * from './HostStorageLun.js';
45
46
  export * from './Infra.js';
@@ -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 HostPhysicalNIC
16
+ */
17
+ export interface HostPhysicalNIC {
18
+ /**
19
+ * Source physical NIC identity, scoped to the VM's host and collection.
20
+ */
21
+ id: string;
22
+ /**
23
+ * Reported link speed in Mbps; omitted when unknown. This is not measured throughput.
24
+ */
25
+ linkSpeedMbps?: number;
26
+ }
27
+ /**
28
+ * Check if a given object implements the HostPhysicalNIC interface.
29
+ */
30
+ export declare function instanceOfHostPhysicalNIC(value: object): value is HostPhysicalNIC;
31
+ export declare function HostPhysicalNICFromJSON(json: any): HostPhysicalNIC;
32
+ export declare function HostPhysicalNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostPhysicalNIC;
33
+ export declare function HostPhysicalNICToJSON(json: any): HostPhysicalNIC;
34
+ export declare function HostPhysicalNICToJSONTyped(value?: HostPhysicalNIC | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfHostPhysicalNIC = instanceOfHostPhysicalNIC;
17
+ exports.HostPhysicalNICFromJSON = HostPhysicalNICFromJSON;
18
+ exports.HostPhysicalNICFromJSONTyped = HostPhysicalNICFromJSONTyped;
19
+ exports.HostPhysicalNICToJSON = HostPhysicalNICToJSON;
20
+ exports.HostPhysicalNICToJSONTyped = HostPhysicalNICToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the HostPhysicalNIC interface.
23
+ */
24
+ function instanceOfHostPhysicalNIC(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function HostPhysicalNICFromJSON(json) {
30
+ return HostPhysicalNICFromJSONTyped(json, false);
31
+ }
32
+ function HostPhysicalNICFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'linkSpeedMbps': json['linkSpeedMbps'] == null ? undefined : json['linkSpeedMbps'],
39
+ };
40
+ }
41
+ function HostPhysicalNICToJSON(json) {
42
+ return HostPhysicalNICToJSONTyped(json, false);
43
+ }
44
+ function HostPhysicalNICToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'id': value['id'],
50
+ 'linkSpeedMbps': value['linkSpeedMbps'],
51
+ };
52
+ }
@@ -14,6 +14,7 @@ import type { InspectionStatus } from './InspectionStatus.js';
14
14
  import type { GuestNetwork } from './GuestNetwork.js';
15
15
  import type { VirtualMachineIssue } from './VirtualMachineIssue.js';
16
16
  import type { VirtualMachineDevice } from './VirtualMachineDevice.js';
17
+ import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
17
18
  import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
18
19
  import type { Process } from './Process.js';
19
20
  import type { VirtualMachineDisk } from './VirtualMachineDisk.js';
@@ -154,6 +155,10 @@ export interface VirtualMachineDetail {
154
155
  *
155
156
  */
156
157
  disks: Array<VirtualMachineDisk>;
158
+ /**
159
+ * Physical NICs reported on the VM's host. An empty array means no records were retained.
160
+ */
161
+ hostPhysicalNics?: Array<HostPhysicalNIC>;
157
162
  /**
158
163
  * Adapter count reported by the source; 0 when unavailable
159
164
  */
@@ -23,6 +23,7 @@ const InspectionStatus_js_1 = require("./InspectionStatus.js");
23
23
  const GuestNetwork_js_1 = require("./GuestNetwork.js");
24
24
  const VirtualMachineIssue_js_1 = require("./VirtualMachineIssue.js");
25
25
  const VirtualMachineDevice_js_1 = require("./VirtualMachineDevice.js");
26
+ const HostPhysicalNIC_js_1 = require("./HostPhysicalNIC.js");
26
27
  const VmUtilizationDetails_js_1 = require("./VmUtilizationDetails.js");
27
28
  const Process_js_1 = require("./Process.js");
28
29
  const VirtualMachineDisk_js_1 = require("./VirtualMachineDisk.js");
@@ -95,6 +96,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
95
96
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
96
97
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
97
98
  'disks': (json['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskFromJSON)),
99
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICFromJSON)),
98
100
  'nicCount': json['nicCount'],
99
101
  'nics': (json['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICFromJSON)),
100
102
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceFromJSON)),
@@ -144,6 +146,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
144
146
  'toolsStatus': value['toolsStatus'],
145
147
  'toolsRunningStatus': value['toolsRunningStatus'],
146
148
  'disks': (value['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskToJSON)),
149
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICToJSON)),
147
150
  'nicCount': value['nicCount'],
148
151
  'nics': (value['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICToJSON)),
149
152
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceToJSON)),
@@ -38,6 +38,7 @@ export * from './GroupResponse.js';
38
38
  export * from './GuestNetwork.js';
39
39
  export * from './Histogram.js';
40
40
  export * from './Host.js';
41
+ export * from './HostPhysicalNIC.js';
41
42
  export * from './HostStorageAdapter.js';
42
43
  export * from './HostStorageLun.js';
43
44
  export * from './Infra.js';
@@ -56,6 +56,7 @@ __exportStar(require("./GroupResponse.js"), exports);
56
56
  __exportStar(require("./GuestNetwork.js"), exports);
57
57
  __exportStar(require("./Histogram.js"), exports);
58
58
  __exportStar(require("./Host.js"), exports);
59
+ __exportStar(require("./HostPhysicalNIC.js"), exports);
59
60
  __exportStar(require("./HostStorageAdapter.js"), exports);
60
61
  __exportStar(require("./HostStorageLun.js"), exports);
61
62
  __exportStar(require("./Infra.js"), exports);
@@ -0,0 +1,36 @@
1
+
2
+ # HostPhysicalNIC
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `linkSpeedMbps` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { HostPhysicalNIC } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "id": null,
20
+ "linkSpeedMbps": null,
21
+ } satisfies HostPhysicalNIC
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as HostPhysicalNIC
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -38,6 +38,7 @@ Name | Type
38
38
  `toolsStatus` | string
39
39
  `toolsRunningStatus` | string
40
40
  `disks` | [Array&lt;VirtualMachineDisk&gt;](VirtualMachineDisk.md)
41
+ `hostPhysicalNics` | [Array&lt;HostPhysicalNIC&gt;](HostPhysicalNIC.md)
41
42
  `nicCount` | number
42
43
  `nics` | [Array&lt;VirtualMachineNIC&gt;](VirtualMachineNIC.md)
43
44
  `devices` | [Array&lt;VirtualMachineDevice&gt;](VirtualMachineDevice.md)
@@ -86,6 +87,7 @@ const example = {
86
87
  "toolsStatus": null,
87
88
  "toolsRunningStatus": null,
88
89
  "disks": null,
90
+ "hostPhysicalNics": null,
89
91
  "nicCount": null,
90
92
  "nics": null,
91
93
  "devices": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/agent-sdk",
3
- "version": "0.31.0-8fbde84d9594",
3
+ "version": "0.31.0-ce8ec7f258cb",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/agent-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,70 @@
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
+ *
18
+ * @export
19
+ * @interface HostPhysicalNIC
20
+ */
21
+ export interface HostPhysicalNIC {
22
+ /**
23
+ * Source physical NIC identity, scoped to the VM's host and collection.
24
+ */
25
+ id: string;
26
+ /**
27
+ * Reported link speed in Mbps; omitted when unknown. This is not measured throughput.
28
+ */
29
+ linkSpeedMbps?: number;
30
+ }
31
+
32
+ /**
33
+ * Check if a given object implements the HostPhysicalNIC interface.
34
+ */
35
+ export function instanceOfHostPhysicalNIC(value: object): value is HostPhysicalNIC {
36
+ if (!('id' in value) || value['id'] === undefined) return false;
37
+ return true;
38
+ }
39
+
40
+ export function HostPhysicalNICFromJSON(json: any): HostPhysicalNIC {
41
+ return HostPhysicalNICFromJSONTyped(json, false);
42
+ }
43
+
44
+ export function HostPhysicalNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostPhysicalNIC {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+
50
+ 'id': json['id'],
51
+ 'linkSpeedMbps': json['linkSpeedMbps'] == null ? undefined : json['linkSpeedMbps'],
52
+ };
53
+ }
54
+
55
+ export function HostPhysicalNICToJSON(json: any): HostPhysicalNIC {
56
+ return HostPhysicalNICToJSONTyped(json, false);
57
+ }
58
+
59
+ export function HostPhysicalNICToJSONTyped(value?: HostPhysicalNIC | null, ignoreDiscriminator: boolean = false): any {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+
64
+ return {
65
+
66
+ 'id': value['id'],
67
+ 'linkSpeedMbps': value['linkSpeedMbps'],
68
+ };
69
+ }
70
+
@@ -48,6 +48,13 @@ import {
48
48
  VirtualMachineDeviceToJSON,
49
49
  VirtualMachineDeviceToJSONTyped,
50
50
  } from './VirtualMachineDevice.js';
51
+ import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
52
+ import {
53
+ HostPhysicalNICFromJSON,
54
+ HostPhysicalNICFromJSONTyped,
55
+ HostPhysicalNICToJSON,
56
+ HostPhysicalNICToJSONTyped,
57
+ } from './HostPhysicalNIC.js';
51
58
  import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
52
59
  import {
53
60
  VmUtilizationDetailsFromJSON,
@@ -211,6 +218,10 @@ export interface VirtualMachineDetail {
211
218
  *
212
219
  */
213
220
  disks: Array<VirtualMachineDisk>;
221
+ /**
222
+ * Physical NICs reported on the VM's host. An empty array means no records were retained.
223
+ */
224
+ hostPhysicalNics?: Array<HostPhysicalNIC>;
214
225
  /**
215
226
  * Adapter count reported by the source; 0 when unavailable
216
227
  */
@@ -305,6 +316,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
305
316
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
306
317
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
307
318
  'disks': ((json['disks'] as Array<any>).map(VirtualMachineDiskFromJSON)),
319
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : ((json['hostPhysicalNics'] as Array<any>).map(HostPhysicalNICFromJSON)),
308
320
  'nicCount': json['nicCount'],
309
321
  'nics': ((json['nics'] as Array<any>).map(VirtualMachineNICFromJSON)),
310
322
  'devices': json['devices'] == null ? undefined : ((json['devices'] as Array<any>).map(VirtualMachineDeviceFromJSON)),
@@ -358,6 +370,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
358
370
  'toolsStatus': value['toolsStatus'],
359
371
  'toolsRunningStatus': value['toolsRunningStatus'],
360
372
  'disks': ((value['disks'] as Array<any>).map(VirtualMachineDiskToJSON)),
373
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : ((value['hostPhysicalNics'] as Array<any>).map(HostPhysicalNICToJSON)),
361
374
  'nicCount': value['nicCount'],
362
375
  'nics': ((value['nics'] as Array<any>).map(VirtualMachineNICToJSON)),
363
376
  'devices': value['devices'] == null ? undefined : ((value['devices'] as Array<any>).map(VirtualMachineDeviceToJSON)),
@@ -40,6 +40,7 @@ export * from './GroupResponse.js';
40
40
  export * from './GuestNetwork.js';
41
41
  export * from './Histogram.js';
42
42
  export * from './Host.js';
43
+ export * from './HostPhysicalNIC.js';
43
44
  export * from './HostStorageAdapter.js';
44
45
  export * from './HostStorageLun.js';
45
46
  export * from './Infra.js';