get_vm_config
Retrieve a VM's configuration by specifying the node and VM ID, with an option to fetch current runtime or pending settings.
Instructions
Get the configuration of a VM.
Args: node: The node name. vmid: The VM ID. current: If True, return current (runtime) config. If False, return pending config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| current | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |