mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 19:12:59 +00:00
* feat(vm): add proxmox_virtual_environment_node datasource It helps to get CPU model, number of cores and sockets. Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev> * fix node_name ref * add acceptance test Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --------- Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev> Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
31 lines
714 B
Markdown
31 lines
714 B
Markdown
---
|
|
layout: page
|
|
title: proxmox_virtual_environment_node
|
|
parent: Data Sources
|
|
subcategory: Virtual Environment
|
|
---
|
|
|
|
# Data Source: proxmox_virtual_environment_node
|
|
|
|
Retrieves information about node.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "proxmox_virtual_environment_node" "node" {}
|
|
```
|
|
|
|
## Argument Reference
|
|
|
|
- `node_name` - (Required) The node name.
|
|
|
|
## Attribute Reference
|
|
|
|
- `cpu_count` - The CPU count on the node.
|
|
- `cpu_sockets` - The CPU utilization on the node.
|
|
- `cpu_model` - The CPU model on the node.
|
|
- `memory_available` - The memory available on the node.
|
|
- `memory_used` - The memory used on the node.
|
|
- `memory_total` - The total memory on the node.
|
|
- `uptime` - The uptime in seconds on the node.
|