mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 18:42:58 +00:00
717 B
717 B
layout | title | parent | subcategory |
---|---|---|---|
page | proxmox_virtual_environment_vms | Data Sources | Virtual Environment |
Data Source: proxmox_virtual_environment_vms
Retrieves information about all VMs in the Proxmox cluster.
Example Usage
data "proxmox_virtual_environment_vms" "ubuntu_vms" {
tags = ["ubuntu"]
}
Argument Reference
node_name
- (Optional) The node name.tags
- (Optional) A list of tags to filter the VMs. The VM must have all the tags to be included in the result.
Attribute Reference
vms
- The VMs list.name
- The virtual machine name.node_name
- The node name.tags
- A list of tags of the VM.vm_id
- The VM identifier.