<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZStorageDeviceConfiguration/attachment",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZStorageDeviceConfiguration(py)attachment"
  },
  "title" : "attachment"
}
-->

# attachment

The attachment object that provides the underlying storage for the device.

```
var attachment: VZStorageDeviceAttachment { get }
```

## Discussion

The attachment object defines which local resource on the host computer appears as a disk in the virtual machine.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)