hcloud_volumeNivis Nix constructor for the hcloud_volume resource (provider hcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
size,
automount ? null,
delete_protection ? null,
format ? null,
id ? null,
labels ? null,
location ? null,
cfg_name ? null,
server_id ? null,
overrides ? {}
}Required arguments
size
Optional arguments
automount(defaults tonull)delete_protection(defaults tonull)format(defaults tonull)id(defaults tonull)labels(defaults tonull)location(defaults tonull)cfg_name(defaults tonull)server_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
linux_device
Example
hcloud_volume {
name = "volume";
size = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.