vra_policy_lease

Nivis Nix constructor for the vra_policy_lease 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,
  enforcement_type,
  lease_term_max,
  lease_total_term_max,
  criteria ? null,
  description ? null,
  id ? null,
  lease_grace ? null,
  cfg_name ? null,
  project_criteria ? null,
  project_id ? null,
  overrides ? {}
}
Required arguments
  • enforcement_type
  • lease_term_max
  • lease_total_term_max
Optional arguments
  • criteria (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • lease_grace (defaults to null)
  • cfg_name (defaults to null)
  • project_criteria (defaults to null)
  • project_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • created_at
  • created_by
  • last_updated_at
  • last_updated_by
  • org_id
Example
vra_policy_lease {
  name = "policy_lease";
  enforcement_type = …;  # required
  lease_term_max = …;  # required
  lease_total_term_max = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.