vra_block_device

Nivis 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_gb
  • project_id
Optional arguments
  • custom_properties (defaults to null)
  • deployment_id (defaults to null)
  • description (defaults to null)
  • disk_content_base_64 (defaults to null)
  • encrypted (defaults to null)
  • expand_snapshots (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • persistent (defaults to null)
  • purge (defaults to null)
  • source_reference (defaults to null)
  • constraints (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • created_at
  • external_id
  • external_region_id
  • external_zone_id
  • links
  • org_id
  • owner
  • snapshots
  • status
  • updated_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.