1. Packages
  2. MongoDB Atlas
  3. API Docs
  4. BackupCompliancePolicy
MongoDB Atlas v3.10.1 published on Wednesday, Sep 6, 2023 by Pulumi

mongodbatlas.BackupCompliancePolicy

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.10.1 published on Wednesday, Sep 6, 2023 by Pulumi

    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:

    AuthorizedEmail string

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    CopyProtectionEnabled bool

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    EncryptionAtRestEnabled bool

    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.

    OnDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItem
    PitEnabled bool

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    ProjectId string

    Unique 24-hexadecimal digit string that identifies your project.

    PolicyItemDaily BackupCompliancePolicyPolicyItemDaily
    PolicyItemHourly BackupCompliancePolicyPolicyItemHourly
    PolicyItemMonthlies List<BackupCompliancePolicyPolicyItemMonthly>
    PolicyItemWeeklies List<BackupCompliancePolicyPolicyItemWeekly>
    RestoreWindowDays int

    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.

    AuthorizedEmail string

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    CopyProtectionEnabled bool

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    EncryptionAtRestEnabled bool

    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.

    OnDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItemArgs
    PitEnabled bool

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    ProjectId string

    Unique 24-hexadecimal digit string that identifies your project.

    PolicyItemDaily BackupCompliancePolicyPolicyItemDailyArgs
    PolicyItemHourly BackupCompliancePolicyPolicyItemHourlyArgs
    PolicyItemMonthlies []BackupCompliancePolicyPolicyItemMonthlyArgs
    PolicyItemWeeklies []BackupCompliancePolicyPolicyItemWeeklyArgs
    RestoreWindowDays int

    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.

    authorizedEmail String

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    copyProtectionEnabled Boolean

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryptionAtRestEnabled Boolean

    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.

    onDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItem
    pitEnabled Boolean

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    projectId String

    Unique 24-hexadecimal digit string that identifies your project.

    policyItemDaily BackupCompliancePolicyPolicyItemDaily
    policyItemHourly BackupCompliancePolicyPolicyItemHourly
    policyItemMonthlies List<BackupCompliancePolicyPolicyItemMonthly>
    policyItemWeeklies List<BackupCompliancePolicyPolicyItemWeekly>
    restoreWindowDays Integer

    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.

    authorizedEmail string

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    copyProtectionEnabled boolean

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryptionAtRestEnabled boolean

    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.

    onDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItem
    pitEnabled boolean

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    projectId string

    Unique 24-hexadecimal digit string that identifies your project.

    policyItemDaily BackupCompliancePolicyPolicyItemDaily
    policyItemHourly BackupCompliancePolicyPolicyItemHourly
    policyItemMonthlies BackupCompliancePolicyPolicyItemMonthly[]
    policyItemWeeklies BackupCompliancePolicyPolicyItemWeekly[]
    restoreWindowDays number

    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.

    authorized_email 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_enabled bool

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryption_at_rest_enabled bool

    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_policy_item BackupCompliancePolicyOnDemandPolicyItemArgs
    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_daily BackupCompliancePolicyPolicyItemDailyArgs
    policy_item_hourly BackupCompliancePolicyPolicyItemHourlyArgs
    policy_item_monthlies Sequence[BackupCompliancePolicyPolicyItemMonthlyArgs]
    policy_item_weeklies Sequence[BackupCompliancePolicyPolicyItemWeeklyArgs]
    restore_window_days int

    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.

    authorizedEmail String

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    copyProtectionEnabled Boolean

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryptionAtRestEnabled Boolean

    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.

    onDemandPolicyItem Property Map
    pitEnabled Boolean

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    projectId String

    Unique 24-hexadecimal digit string that identifies your project.

    policyItemDaily Property Map
    policyItemHourly Property Map
    policyItemMonthlies List<Property Map>
    policyItemWeeklies List<Property Map>
    restoreWindowDays Number

    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.

    UpdatedDate 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.

    UpdatedUser 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.

    UpdatedDate 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.

    UpdatedUser 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.

    updatedDate 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.

    updatedUser 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.

    updatedDate 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.

    updatedUser 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.

    updatedDate 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.

    updatedUser 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.
    The following state arguments are supported:
    AuthorizedEmail string

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    CopyProtectionEnabled bool

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    EncryptionAtRestEnabled bool

    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.

    OnDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItem
    PitEnabled bool

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    PolicyItemDaily BackupCompliancePolicyPolicyItemDaily
    PolicyItemHourly BackupCompliancePolicyPolicyItemHourly
    PolicyItemMonthlies List<BackupCompliancePolicyPolicyItemMonthly>
    PolicyItemWeeklies List<BackupCompliancePolicyPolicyItemWeekly>
    ProjectId string

    Unique 24-hexadecimal digit string that identifies your project.

    RestoreWindowDays int

    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.

    UpdatedDate 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.

    UpdatedUser 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.

    AuthorizedEmail string

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    CopyProtectionEnabled bool

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    EncryptionAtRestEnabled bool

    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.

    OnDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItemArgs
    PitEnabled bool

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    PolicyItemDaily BackupCompliancePolicyPolicyItemDailyArgs
    PolicyItemHourly BackupCompliancePolicyPolicyItemHourlyArgs
    PolicyItemMonthlies []BackupCompliancePolicyPolicyItemMonthlyArgs
    PolicyItemWeeklies []BackupCompliancePolicyPolicyItemWeeklyArgs
    ProjectId string

    Unique 24-hexadecimal digit string that identifies your project.

    RestoreWindowDays int

    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.

    UpdatedDate 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.

    UpdatedUser 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.

    authorizedEmail String

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    copyProtectionEnabled Boolean

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryptionAtRestEnabled Boolean

    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.

    onDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItem
    pitEnabled Boolean

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    policyItemDaily BackupCompliancePolicyPolicyItemDaily
    policyItemHourly BackupCompliancePolicyPolicyItemHourly
    policyItemMonthlies List<BackupCompliancePolicyPolicyItemMonthly>
    policyItemWeeklies List<BackupCompliancePolicyPolicyItemWeekly>
    projectId String

    Unique 24-hexadecimal digit string that identifies your project.

    restoreWindowDays Integer

    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.

    updatedDate 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.

    updatedUser 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.

    authorizedEmail string

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    copyProtectionEnabled boolean

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryptionAtRestEnabled boolean

    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.

    onDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItem
    pitEnabled boolean

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    policyItemDaily BackupCompliancePolicyPolicyItemDaily
    policyItemHourly BackupCompliancePolicyPolicyItemHourly
    policyItemMonthlies BackupCompliancePolicyPolicyItemMonthly[]
    policyItemWeeklies BackupCompliancePolicyPolicyItemWeekly[]
    projectId string

    Unique 24-hexadecimal digit string that identifies your project.

    restoreWindowDays number

    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.

    updatedDate 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.

    updatedUser 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.

    authorized_email 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_enabled bool

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryption_at_rest_enabled bool

    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_policy_item BackupCompliancePolicyOnDemandPolicyItemArgs
    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_daily BackupCompliancePolicyPolicyItemDailyArgs
    policy_item_hourly BackupCompliancePolicyPolicyItemHourlyArgs
    policy_item_monthlies Sequence[BackupCompliancePolicyPolicyItemMonthlyArgs]
    policy_item_weeklies Sequence[BackupCompliancePolicyPolicyItemWeeklyArgs]
    project_id str

    Unique 24-hexadecimal digit string that identifies your project.

    restore_window_days int

    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.

    authorizedEmail String

    Email address of a security or legal representative for the Backup Compliance Policy who is authorized to update the Backup Compliance Policy settings.

    copyProtectionEnabled Boolean

    Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.

    encryptionAtRestEnabled Boolean

    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.

    onDemandPolicyItem Property Map
    pitEnabled Boolean

    Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.

    policyItemDaily Property Map
    policyItemHourly Property Map
    policyItemMonthlies List<Property Map>
    policyItemWeeklies List<Property Map>
    projectId String

    Unique 24-hexadecimal digit string that identifies your project.

    restoreWindowDays Number

    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.

    updatedDate 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.

    updatedUser 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

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    frequencyInterval Integer

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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.

    frequencyInterval number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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, or months.

    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.

    frequencyInterval Number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    frequencyInterval Integer

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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.

    frequencyInterval number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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, or months.

    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.

    frequencyInterval Number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    frequencyInterval Integer

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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.

    frequencyInterval number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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, or months.

    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.

    frequencyInterval Number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    frequencyInterval Integer

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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.

    frequencyInterval number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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, or months.

    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.

    frequencyInterval Number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    FrequencyInterval int

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    RetentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    RetentionValue 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.

    FrequencyType 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.

    frequencyInterval Integer

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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.

    frequencyInterval number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit string

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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, or months.

    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.

    frequencyInterval Number

    Desired frequency of the new backup policy item specified by frequency_type (monthly in this case). The supported values for weekly policies are

    retentionUnit String

    Scope of the backup policy item: days, weeks, or months.

    retentionValue 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.

    frequencyType 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.

    mongodbatlas logo
    MongoDB Atlas v3.10.1 published on Wednesday, Sep 6, 2023 by Pulumi