Virtualization
This page documents the special methods available on Virtualization models. Standard CRUD operations follow the patterns described in Quick Start and the Endpoint reference.
Standard API Operations
The standard endpoint methods (.all(), .filter(), .get(), .create(), .update(), .delete()) follow NetBox's REST API. Refer to the NetBox API documentation for the available fields and filters on each endpoint.
Virtual Machines
Config Rendering
The render_config property renders a virtual machine's configuration from its assigned config template and config contexts.
::: pynetbox.models.virtualization.VirtualMachines.render_config handler: python options: show_source: true
Example:
vm = nb.virtualization.virtual_machines.get(name='web-vm-01')
config = vm.render_config.create()
print(config)Response
This page documents the classes that wrap responses returned by NetBox: Record (a single object) and RecordSet (a lazy collection of records).
Development
Thanks for your interest in contributing to pynetbox! This page covers the project's branch layout, how to propose changes, and where to get help.