vra_block_deviceNivis Nix constructor for the vra_block_device resource (provider vra). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
capacity_in_gb,
project_id,
custom_properties ? null,
deployment_id ? null,
description ? null,
disk_content_base_64 ? null,
encrypted ? null,
expand_snapshots ? null,
id ? null,
cfg_name ? null,
persistent ? null,
purge ? null,
source_reference ? null,
constraints ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
capacity_in_gbproject_id
Optional arguments
custom_properties(defaults tonull)deployment_id(defaults tonull)description(defaults tonull)disk_content_base_64(defaults tonull)encrypted(defaults tonull)expand_snapshots(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)persistent(defaults tonull)purge(defaults tonull)source_reference(defaults tonull)constraints(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
created_atexternal_idexternal_region_idexternal_zone_idlinksorg_idownersnapshotsstatusupdated_at
Example
vra_block_device {
name = "block_device";
capacity_in_gb = …; # required
project_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.