mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-03 03:52:58 +00:00
30 lines
538 B
Markdown
30 lines
538 B
Markdown
---
|
|
layout: page
|
|
title: proxmox_virtual_environment_vm
|
|
parent: Data Sources
|
|
subcategory: Virtual Environment
|
|
---
|
|
|
|
# Data Source: proxmox_virtual_environment_vm
|
|
|
|
Retrieves information about a specific VM.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "proxmox_virtual_environment_vm" "test_vm" {
|
|
node_name = "test"
|
|
vm_id = 100
|
|
}
|
|
```
|
|
|
|
## Argument Reference
|
|
|
|
- `node_name` - (Required) The node name.
|
|
- `vm_id` - (Required) The VM identifier.
|
|
|
|
## Attribute Reference
|
|
|
|
- `name` - The virtual machine name.
|
|
- `tags` - A list of tags of the VM.
|