mongodbatlas.BackupCompliancePolicy
Explore with Pulumi AI
Import
Backup Compliance Policy entries can be imported using project project_id
in the format project_id
, e.g.
$ pulumi import mongodbatlas:index/backupCompliancePolicy:BackupCompliancePolicy backup_policy 5d0f1f73cf09a29120e173cf
For more information seeMongoDB Atlas API Reference and Backup Compliance Policy Prohibited Actions.
Create BackupCompliancePolicy Resource
new BackupCompliancePolicy(name: string, args: BackupCompliancePolicyArgs, opts?: CustomResourceOptions);
@overload
def BackupCompliancePolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
authorized_email: Optional[str] = None,
copy_protection_enabled: Optional[bool] = None,
encryption_at_rest_enabled: Optional[bool] = None,
on_demand_policy_item: Optional[BackupCompliancePolicyOnDemandPolicyItemArgs] = None,
pit_enabled: Optional[bool] = None,
policy_item_daily: Optional[BackupCompliancePolicyPolicyItemDailyArgs] = None,
policy_item_hourly: Optional[BackupCompliancePolicyPolicyItemHourlyArgs] = None,
policy_item_monthlies: Optional[Sequence[BackupCompliancePolicyPolicyItemMonthlyArgs]] = None,
policy_item_weeklies: Optional[Sequence[BackupCompliancePolicyPolicyItemWeeklyArgs]] = None,
project_id: Optional[str] = None,
restore_window_days: Optional[int] = None)
@overload
def BackupCompliancePolicy(resource_name: str,
args: BackupCompliancePolicyArgs,
opts: Optional[ResourceOptions] = None)
func NewBackupCompliancePolicy(ctx *Context, name string, args BackupCompliancePolicyArgs, opts ...ResourceOption) (*BackupCompliancePolicy, error)
public BackupCompliancePolicy(string name, BackupCompliancePolicyArgs args, CustomResourceOptions? opts = null)
public BackupCompliancePolicy(String name, BackupCompliancePolicyArgs args)
public BackupCompliancePolicy(String name, BackupCompliancePolicyArgs args, CustomResourceOptions options)
type: mongodbatlas:BackupCompliancePolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupCompliancePolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BackupCompliancePolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackupCompliancePolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupCompliancePolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupCompliancePolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BackupCompliancePolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BackupCompliancePolicy resource accepts the following input properties:
- string
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- Copy
Protection boolEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- Encryption
At boolRest 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.
- On
Demand BackupPolicy Item Compliance Policy On Demand Policy Item - Pit
Enabled bool Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- Project
Id string Unique 24-hexadecimal digit string that identifies your project.
- Policy
Item BackupDaily Compliance Policy Policy Item Daily - Policy
Item BackupHourly Compliance Policy Policy Item Hourly - Policy
Item List<BackupMonthlies Compliance Policy Policy Item Monthly> - Policy
Item List<BackupWeeklies Compliance Policy Policy Item Weekly> - Restore
Window intDays 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.
- string
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- Copy
Protection boolEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- Encryption
At boolRest 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.
- On
Demand BackupPolicy Item Compliance Policy On Demand Policy Item Args - Pit
Enabled bool Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- Project
Id string Unique 24-hexadecimal digit string that identifies your project.
- Policy
Item BackupDaily Compliance Policy Policy Item Daily Args - Policy
Item BackupHourly Compliance Policy Policy Item Hourly Args - Policy
Item []BackupMonthlies Compliance Policy Policy Item Monthly Args - Policy
Item []BackupWeeklies Compliance Policy Policy Item Weekly Args - Restore
Window intDays 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.
- String
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy
Protection BooleanEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption
At BooleanRest 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.
- on
Demand BackupPolicy Item Compliance Policy On Demand Policy Item - pit
Enabled Boolean Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- project
Id String Unique 24-hexadecimal digit string that identifies your project.
- policy
Item BackupDaily Compliance Policy Policy Item Daily - policy
Item BackupHourly Compliance Policy Policy Item Hourly - policy
Item List<BackupMonthlies Compliance Policy Policy Item Monthly> - policy
Item List<BackupWeeklies Compliance Policy Policy Item Weekly> - restore
Window IntegerDays 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.
- string
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy
Protection booleanEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption
At booleanRest 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.
- on
Demand BackupPolicy Item Compliance Policy On Demand Policy Item - pit
Enabled boolean Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- project
Id string Unique 24-hexadecimal digit string that identifies your project.
- policy
Item BackupDaily Compliance Policy Policy Item Daily - policy
Item BackupHourly Compliance Policy Policy Item Hourly - policy
Item BackupMonthlies Compliance Policy Policy Item Monthly[] - policy
Item BackupWeeklies Compliance Policy Policy Item Weekly[] - restore
Window numberDays 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.
- str
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy_
protection_ boolenabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption_
at_ boolrest_ 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.
- on_
demand_ Backuppolicy_ item Compliance Policy On Demand Policy Item Args - pit_
enabled bool Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- project_
id str Unique 24-hexadecimal digit string that identifies your project.
- policy_
item_ Backupdaily Compliance Policy Policy Item Daily Args - policy_
item_ Backuphourly Compliance Policy Policy Item Hourly Args - policy_
item_ Sequence[Backupmonthlies Compliance Policy Policy Item Monthly Args] - policy_
item_ Sequence[Backupweeklies Compliance Policy Policy Item Weekly Args] - restore_
window_ intdays 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.
- String
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy
Protection BooleanEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption
At BooleanRest 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.
- on
Demand Property MapPolicy Item - pit
Enabled Boolean Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- project
Id String Unique 24-hexadecimal digit string that identifies your project.
- policy
Item Property MapDaily - policy
Item Property MapHourly - policy
Item List<Property Map>Monthlies - policy
Item List<Property Map>Weeklies - restore
Window NumberDays 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupCompliancePolicy resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- State string
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- Updated
Date string 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.
- Updated
User string 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.
- Id string
The provider-assigned unique ID for this managed resource.
- State string
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- Updated
Date string 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.
- Updated
User string 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.
- id String
The provider-assigned unique ID for this managed resource.
- state String
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated
Date String 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.
- updated
User String 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.
- id string
The provider-assigned unique ID for this managed resource.
- state string
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated
Date string 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.
- updated
User string 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.
- id str
The provider-assigned unique ID for this managed resource.
- state str
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated_
date str 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.
- updated_
user str 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.
- id String
The provider-assigned unique ID for this managed resource.
- state String
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated
Date String 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.
- updated
User String 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.
Look up Existing BackupCompliancePolicy Resource
Get an existing BackupCompliancePolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BackupCompliancePolicyState, opts?: CustomResourceOptions): BackupCompliancePolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authorized_email: Optional[str] = None,
copy_protection_enabled: Optional[bool] = None,
encryption_at_rest_enabled: Optional[bool] = None,
on_demand_policy_item: Optional[BackupCompliancePolicyOnDemandPolicyItemArgs] = None,
pit_enabled: Optional[bool] = None,
policy_item_daily: Optional[BackupCompliancePolicyPolicyItemDailyArgs] = None,
policy_item_hourly: Optional[BackupCompliancePolicyPolicyItemHourlyArgs] = None,
policy_item_monthlies: Optional[Sequence[BackupCompliancePolicyPolicyItemMonthlyArgs]] = None,
policy_item_weeklies: Optional[Sequence[BackupCompliancePolicyPolicyItemWeeklyArgs]] = None,
project_id: Optional[str] = None,
restore_window_days: Optional[int] = None,
state: Optional[str] = None,
updated_date: Optional[str] = None,
updated_user: Optional[str] = None) -> BackupCompliancePolicy
func GetBackupCompliancePolicy(ctx *Context, name string, id IDInput, state *BackupCompliancePolicyState, opts ...ResourceOption) (*BackupCompliancePolicy, error)
public static BackupCompliancePolicy Get(string name, Input<string> id, BackupCompliancePolicyState? state, CustomResourceOptions? opts = null)
public static BackupCompliancePolicy get(String name, Output<String> id, BackupCompliancePolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- string
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- Copy
Protection boolEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- Encryption
At boolRest 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.
- On
Demand BackupPolicy Item Compliance Policy On Demand Policy Item - Pit
Enabled bool Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- Policy
Item BackupDaily Compliance Policy Policy Item Daily - Policy
Item BackupHourly Compliance Policy Policy Item Hourly - Policy
Item List<BackupMonthlies Compliance Policy Policy Item Monthly> - Policy
Item List<BackupWeeklies Compliance Policy Policy Item Weekly> - Project
Id string Unique 24-hexadecimal digit string that identifies your project.
- Restore
Window intDays 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.
- State string
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- Updated
Date string 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.
- Updated
User string 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.
- string
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- Copy
Protection boolEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- Encryption
At boolRest 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.
- On
Demand BackupPolicy Item Compliance Policy On Demand Policy Item Args - Pit
Enabled bool Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- Policy
Item BackupDaily Compliance Policy Policy Item Daily Args - Policy
Item BackupHourly Compliance Policy Policy Item Hourly Args - Policy
Item []BackupMonthlies Compliance Policy Policy Item Monthly Args - Policy
Item []BackupWeeklies Compliance Policy Policy Item Weekly Args - Project
Id string Unique 24-hexadecimal digit string that identifies your project.
- Restore
Window intDays 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.
- State string
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- Updated
Date string 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.
- Updated
User string 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.
- String
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy
Protection BooleanEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption
At BooleanRest 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.
- on
Demand BackupPolicy Item Compliance Policy On Demand Policy Item - pit
Enabled Boolean Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- policy
Item BackupDaily Compliance Policy Policy Item Daily - policy
Item BackupHourly Compliance Policy Policy Item Hourly - policy
Item List<BackupMonthlies Compliance Policy Policy Item Monthly> - policy
Item List<BackupWeeklies Compliance Policy Policy Item Weekly> - project
Id String Unique 24-hexadecimal digit string that identifies your project.
- restore
Window IntegerDays 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.
- state String
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated
Date String 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.
- updated
User String 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.
- string
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy
Protection booleanEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption
At booleanRest 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.
- on
Demand BackupPolicy Item Compliance Policy On Demand Policy Item - pit
Enabled boolean Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- policy
Item BackupDaily Compliance Policy Policy Item Daily - policy
Item BackupHourly Compliance Policy Policy Item Hourly - policy
Item BackupMonthlies Compliance Policy Policy Item Monthly[] - policy
Item BackupWeeklies Compliance Policy Policy Item Weekly[] - project
Id string Unique 24-hexadecimal digit string that identifies your project.
- restore
Window numberDays 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.
- state string
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated
Date string 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.
- updated
User string 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.
- str
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy_
protection_ boolenabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption_
at_ boolrest_ 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.
- on_
demand_ Backuppolicy_ item Compliance Policy On Demand Policy Item Args - pit_
enabled bool Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- policy_
item_ Backupdaily Compliance Policy Policy Item Daily Args - policy_
item_ Backuphourly Compliance Policy Policy Item Hourly Args - policy_
item_ Sequence[Backupmonthlies Compliance Policy Policy Item Monthly Args] - policy_
item_ Sequence[Backupweeklies Compliance Policy Policy Item Weekly Args] - project_
id str Unique 24-hexadecimal digit string that identifies your project.
- restore_
window_ intdays 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.
- state str
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated_
date str 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.
- updated_
user str 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.
- String
Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.
- copy
Protection BooleanEnabled Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- encryption
At BooleanRest 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.
- on
Demand Property MapPolicy Item - pit
Enabled Boolean Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- policy
Item Property MapDaily - policy
Item Property MapHourly - policy
Item List<Property Map>Monthlies - policy
Item List<Property Map>Weeklies - project
Id String Unique 24-hexadecimal digit string that identifies your project.
- restore
Window NumberDays 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.
- state String
Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings.
- updated
Date String 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.
- updated
User String 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.
Supporting Types
BackupCompliancePolicyOnDemandPolicyItem, BackupCompliancePolicyOnDemandPolicyItemArgs
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency_
type str Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
BackupCompliancePolicyPolicyItemDaily, BackupCompliancePolicyPolicyItemDailyArgs
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency_
type str Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
BackupCompliancePolicyPolicyItemHourly, BackupCompliancePolicyPolicyItemHourlyArgs
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency_
type str Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
BackupCompliancePolicyPolicyItemMonthly, BackupCompliancePolicyPolicyItemMonthlyArgs
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency_
type str Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
BackupCompliancePolicyPolicyItemWeekly, BackupCompliancePolicyPolicyItemWeeklyArgs
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency_
type str Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.