---
title: "init(dataRepresentation:)"
framework: virtualization
role: symbol
role_heading: Initializer
path: "virtualization/vzmachardwaremodel/init(datarepresentation:)"
---

# init(dataRepresentation:)

Creates an instance of the hardware model described by the specified data representation.

## Declaration

```swift
init?(dataRepresentation: Data)
```

## Parameters

- `dataRepresentation`: The opaque data representation of the hardware model.
