alicloud_ecs_auto_snapshot_policy

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

Constructor
{
  name,
  repeat_weekdays,
  retention_days,
  time_points,
  association_type ? null,
  auto_snapshot_policy_name ? null,
  copied_snapshots_retention_days ? null,
  enable_cross_region_copy ? null,
  id ? null,
  cfg_name ? null,
  resource_group_id ? null,
  tags ? null,
  target_copy_regions ? null,
  copy_encryption_configuration ? null,
  target_tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • repeat_weekdays
  • retention_days
  • time_points
Optional arguments
  • association_type (defaults to null)
  • auto_snapshot_policy_name (defaults to null)
  • copied_snapshots_retention_days (defaults to null)
  • enable_cross_region_copy (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • resource_group_id (defaults to null)
  • tags (defaults to null)
  • target_copy_regions (defaults to null)
  • copy_encryption_configuration (defaults to null)
  • target_tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • region_id
  • status
Example
alicloud_ecs_auto_snapshot_policy {
  name = "ecs_auto_snapshot_policy";
  repeat_weekdays = …;  # required
  retention_days = …;  # required
  time_points = …;  # required
}

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