Skip to content

Data Source: proxmox_virtual_environment_replication

Warning

Deprecated: Use proxmox_replication instead. This data source will be removed in v1.0.

Retrieves information about an existing Replication.

Example Usage

data "proxmox_virtual_environment_replication" "example" {
  id = "100-0"
}

output "data_proxmox_virtual_environment_replication" {
  value = {
    id     = data.proxmox_virtual_environment_replication.example.id
    target = data.proxmox_virtual_environment_replication.example.target
    type   = data.proxmox_virtual_environment_replication.example.type
    jobnum = data.proxmox_virtual_environment_replication.example.jobnum
    guest  = data.proxmox_virtual_environment_replication.example.guest
  }
}

Schema

Required

  • id (String) Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. '-'.

Read-Only

  • comment (String) Description.
  • disable (Boolean) Flag to disable/deactivate this replication.
  • guest (Number) Guest ID.
  • jobnum (Number) Unique, sequential ID assigned to each job.
  • rate (Number) Rate limit in mbps (megabytes per second) as floating point number.
  • schedule (String) Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15
  • source (String) For internal use, to detect if the guest was stolen.
  • target (String) Target node.
  • type (String) Section type.