---
title: VZMemoryBalloonDevice
framework: virtualization
role: symbol
role_heading: Class
path: virtualization/vzmemoryballoondevice
---

# VZMemoryBalloonDevice

The common behavior for memory devices.

## Declaration

```swift
class VZMemoryBalloonDevice
```

## Overview

Overview Don’t instantiate this class directly. To request a memory ballon device, add an appropriate configuration object to the memoryBalloonDevices property of the VZVirtualMachineConfiguration object that you use to configure the virtual machine. In response, the system instantiates the subclass of VZMemoryBalloonDevice that matches your request. For example, if you supply a VZVirtioTraditionalMemoryBalloonDeviceConfiguration object in your configuration, the system creates a VZVirtioTraditionalMemoryBalloonDevice object.

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [VZVirtioTraditionalMemoryBalloonDevice](virtualization/vzvirtiotraditionalmemoryballoondevice.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Memory balloon devices

- [VZVirtioTraditionalMemoryBalloonDevice](virtualization/vzvirtiotraditionalmemoryballoondevice.md)
