0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-29 18:21:10 +00:00
terraform-provider-proxmox/docs/data-sources/virtual_environment_metrics_server.md
Rafał Safin d1cc2144f8
feat(cluster): add proxmox_virtual_environment_metrics_server resource (#1719)
Signed-off-by: rafsaf <rafal.safin@rafsaf.pl>
2025-02-03 13:11:26 -05:00

1.1 KiB

layout title parent subcategory description
page proxmox_virtual_environment_metrics_server Data Sources Virtual Environment Retrieves information about a specific PVE metric server.

Data Source: proxmox_virtual_environment_metrics_server

Retrieves information about a specific PVE metric server.

Example Usage

data "proxmox_virtual_environment_metrics_server" "example" {
  name = "example_influxdb"
}

output "data_proxmox_virtual_environment_metrics_server" {
  value = {
    server = data.proxmox_virtual_environment_metrics_server.example.server
    port   = data.proxmox_virtual_environment_metrics_server.example.port
  }
}

Schema

Required

  • name (String) Unique name that will be ID of this metric server in PVE.

Read-Only

  • disable (Boolean) Indicates if the metric server is disabled.
  • id (String) The unique identifier of this resource.
  • port (Number) Server network port.
  • server (String) Server dns name or IP address.
  • type (String) Plugin type. Either graphite or influxdb.