ionoscloud_volumeNivis Nix constructor for the ionoscloud_volume resource (provider ionoscloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
datacenter_id,
disk_type,
size,
availability_zone ? null,
backup_unit_id ? null,
bus ? null,
cpu_hot_plug ? null,
disc_virtio_hot_plug ? null,
disc_virtio_hot_unplug ? null,
expose_serial ? null,
id ? null,
image_name ? null,
image_password ? null,
licence_type ? null,
location ? null,
cfg_name ? null,
nic_hot_plug ? null,
nic_hot_unplug ? null,
ram_hot_plug ? null,
require_legacy_bios ? null,
server_id ? null,
ssh_key_path ? null,
ssh_keys ? null,
user_data ? null,
timeouts ? null,
overrides ? {}
}Required arguments
datacenter_iddisk_typesize
Optional arguments
availability_zone(defaults tonull)backup_unit_id(defaults tonull)bus(defaults tonull)cpu_hot_plug(defaults tonull)disc_virtio_hot_plug(defaults tonull)disc_virtio_hot_unplug(defaults tonull)expose_serial(defaults tonull)id(defaults tonull)image_name(defaults tonull)image_password(defaults tonull)licence_type(defaults tonull)location(defaults tonull)cfg_name(defaults tonull)nic_hot_plug(defaults tonull)nic_hot_unplug(defaults tonull)ram_hot_plug(defaults tonull)require_legacy_bios(defaults tonull)server_id(defaults tonull)ssh_key_path(defaults tonull)ssh_keys(defaults tonull)user_data(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
boot_serverdevice_numberimageimage_idpci_slotsshkey
Example
ionoscloud_volume {
name = "volume";
datacenter_id = …; # required
disk_type = …; # required
size = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.