Skip to content

Commit d433656

Browse files
committed
doc: Add scheduled policy frequency types to backup compliance policy documentation
1 parent 77fc656 commit d433656

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/data-sources/backup_compliance_policy.md

+5
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ In addition to all arguments above, the following attributes are exported:
145145
* `updated_date` - ISO 8601 timestamp format in UTC that indicates when the user updated the Data Protection Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
146146
* `updated_user` - Email address that identifies the user who updated the Backup Compliance Policy settings. MongoDB Cloud ignores this email setting when you enable or update the Backup Compliance Policy settings.
147147
* `on_demand_policy_item` - Specifications for [on-demand policy](#on-demand-policy-item).
148+
* `policy_item_hourly` - Scheduled policy using an hourly frequency type, see [block fields](#policy-item-hourly).
149+
* `policy_item_daily` - Scheduled policy using a daily frequency type, see [block fields](#policy-item-daily).
150+
* `policy_item_weekly` - Scheduled policy using a weekly frequency type, see [block fields](#policy-item-weekly).
151+
* `policy_item_monthly` - Scheduled policy using a monthly frequency type, see [block fields](#policy-item-monthly).
152+
* `policy_item_yearly` - Scheduled policy using a yearly frequency type, see [block fields](#policy-item-yearly).
148153

149154
### On Demand Policy Item
150155
* `id` - Unique identifier of the backup policy item.

docs/resources/backup_compliance_policy.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,11 @@ resource "mongodbatlas_backup_compliance_policy" "backup_policy" {
164164
* `encryption_at_rest_enabled` - Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
165165
* `restore_window_days` - Number of previous days that you can restore back to with Continuous Cloud Backup with a Backup Compliance Policy. You must specify a positive, non-zero integer, and the maximum retention window can't exceed the hourly retention time. This parameter applies only to Continuous Cloud Backups with a Backup Compliance Policy.
166166
* `on_demand_policy_item` - Specifications for [on-demand policy](#on-demand-policy-item).
167-
167+
* `policy_item_hourly` - Scheduled policy using an hourly frequency type, see [block fields](#policy-item-hourly).
168+
* `policy_item_daily` - Scheduled policy using a daily frequency type, see [block fields](#policy-item-daily).
169+
* `policy_item_weekly` - Scheduled policy using a weekly frequency type, see [block fields](#policy-item-weekly).
170+
* `policy_item_monthly` - Scheduled policy using a monthly frequency type, see [block fields](#policy-item-monthly).
171+
* `policy_item_yearly` - Scheduled policy using a yearly frequency type, see [block fields](#policy-item-yearly).
168172

169173
## Attributes Reference
170174

0 commit comments

Comments
 (0)