alicloud_ecs_auto_snapshot_policyNivis 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_weekdaysretention_daystime_points
Optional arguments
association_type(defaults tonull)auto_snapshot_policy_name(defaults tonull)copied_snapshots_retention_days(defaults tonull)enable_cross_region_copy(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)resource_group_id(defaults tonull)tags(defaults tonull)target_copy_regions(defaults tonull)copy_encryption_configuration(defaults tonull)target_tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timeregion_idstatus
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.