proxmox_lxcNivis Nix constructor for the proxmox_lxc resource (provider proxmox). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
target_node,
arch ? null,
bwlimit ? null,
clone ? null,
clone_storage ? null,
cmode ? null,
console ? null,
cores ? null,
cpulimit ? null,
cpuunits ? null,
description ? null,
force ? null,
full ? null,
hagroup ? null,
hastate ? null,
hookscript ? null,
hostname ? null,
id ? null,
ignore_unpack_errors ? null,
lock ? null,
memory ? null,
nameserver ? null,
onboot ? null,
ostemplate ? null,
ostype ? null,
password ? null,
pool ? null,
protection ? null,
restore ? null,
searchdomain ? null,
ssh_public_keys ? null,
start ? null,
startup ? null,
swap ? null,
tags ? null,
template ? null,
tty ? null,
unique ? null,
unprivileged ? null,
vmid ? null,
features ? null,
mountpoint ? null,
network ? null,
rootfs ? null,
timeouts ? null,
overrides ? {}
}Required arguments
target_node
Optional arguments
arch(defaults tonull)bwlimit(defaults tonull)clone(defaults tonull)clone_storage(defaults tonull)cmode(defaults tonull)console(defaults tonull)cores(defaults tonull)cpulimit(defaults tonull)cpuunits(defaults tonull)description(defaults tonull)force(defaults tonull)full(defaults tonull)hagroup(defaults tonull)hastate(defaults tonull)hookscript(defaults tonull)hostname(defaults tonull)id(defaults tonull)ignore_unpack_errors(defaults tonull)lock(defaults tonull)memory(defaults tonull)nameserver(defaults tonull)onboot(defaults tonull)ostemplate(defaults tonull)ostype(defaults tonull)password(defaults tonull)pool(defaults tonull)protection(defaults tonull)restore(defaults tonull)searchdomain(defaults tonull)ssh_public_keys(defaults tonull)start(defaults tonull)startup(defaults tonull)swap(defaults tonull)tags(defaults tonull)template(defaults tonull)tty(defaults tonull)unique(defaults tonull)unprivileged(defaults tonull)vmid(defaults tonull)features(defaults tonull)mountpoint(defaults tonull)network(defaults tonull)rootfs(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
unused
Example
proxmox_lxc {
name = "lxc";
target_node = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.