google_backup_dr_auto_protection_policy

Nivis Nix constructor for the google_backup_dr_auto_protection_policy resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  auto_protection_policy_id,
  location,
  deletion_policy ? null,
  description ? null,
  id ? null,
  project ? null,
  backup_plan_details ? null,
  criteria ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • auto_protection_policy_id
  • location
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • project (defaults to null)
  • backup_plan_details (defaults to null)
  • criteria (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • binding_summary
  • create_time
  • etag
  • name
  • policy_evaluation_summary
  • state
  • update_time
Example
google_backup_dr_auto_protection_policy {
  name = "backup_dr_auto_protection_policy";
  auto_protection_policy_id = …;  # required
  location = …;  # required
}

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