1. Packages
  2. Mongodbatlas Provider
  3. API Docs
  4. getCloudBackupSchedule
MongoDB Atlas v4.0.0 published on Tuesday, Dec 30, 2025 by Pulumi
mongodbatlas logo
MongoDB Atlas v4.0.0 published on Tuesday, Dec 30, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const myCluster = new mongodbatlas.AdvancedCluster("my_cluster", {
        projectId: "<PROJECT-ID>",
        name: "clusterTest",
        clusterType: "REPLICASET",
        backupEnabled: true,
        replicationSpecs: [{
            regionConfigs: [{
                priority: 7,
                providerName: "AWS",
                regionName: "EU_CENTRAL_1",
                electableSpecs: {
                    instanceSize: "M10",
                    nodeCount: 3,
                },
            }],
        }],
    });
    const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
        projectId: myCluster.projectId,
        clusterName: myCluster.name,
        referenceHourOfDay: 3,
        referenceMinuteOfHour: 45,
        restoreWindowDays: 4,
        policyItemDaily: {
            frequencyInterval: 1,
            retentionUnit: "days",
            retentionValue: 14,
        },
        copySettings: [{
            cloudProvider: "AWS",
            frequencies: [
                "HOURLY",
                "DAILY",
                "WEEKLY",
                "MONTHLY",
                "YEARLY",
                "ON_DEMAND",
            ],
            regionName: "US_EAST_1",
            zoneId: myCluster.replicationSpecs.apply(replicationSpecs => replicationSpecs.map(__item => __item.zoneId?.[0])),
            shouldCopyOplogs: false,
        }],
    });
    const test = mongodbatlas.getCloudBackupScheduleOutput({
        projectId: testCloudBackupSchedule.projectId,
        clusterName: testCloudBackupSchedule.clusterName,
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    my_cluster = mongodbatlas.AdvancedCluster("my_cluster",
        project_id="<PROJECT-ID>",
        name="clusterTest",
        cluster_type="REPLICASET",
        backup_enabled=True,
        replication_specs=[{
            "region_configs": [{
                "priority": 7,
                "provider_name": "AWS",
                "region_name": "EU_CENTRAL_1",
                "electable_specs": {
                    "instance_size": "M10",
                    "node_count": 3,
                },
            }],
        }])
    test_cloud_backup_schedule = mongodbatlas.CloudBackupSchedule("test",
        project_id=my_cluster.project_id,
        cluster_name=my_cluster.name,
        reference_hour_of_day=3,
        reference_minute_of_hour=45,
        restore_window_days=4,
        policy_item_daily={
            "frequency_interval": 1,
            "retention_unit": "days",
            "retention_value": 14,
        },
        copy_settings=[{
            "cloud_provider": "AWS",
            "frequencies": [
                "HOURLY",
                "DAILY",
                "WEEKLY",
                "MONTHLY",
                "YEARLY",
                "ON_DEMAND",
            ],
            "region_name": "US_EAST_1",
            "zone_id": my_cluster.replication_specs.apply(lambda replication_specs: [__item.zone_id[0] for __item in replication_specs]),
            "should_copy_oplogs": False,
        }])
    test = mongodbatlas.get_cloud_backup_schedule_output(project_id=test_cloud_backup_schedule.project_id,
        cluster_name=test_cloud_backup_schedule.cluster_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    myCluster, err := mongodbatlas.NewAdvancedCluster(ctx, "my_cluster", &mongodbatlas.AdvancedClusterArgs{
    ProjectId: pulumi.String("<PROJECT-ID>"),
    Name: pulumi.String("clusterTest"),
    ClusterType: pulumi.String("REPLICASET"),
    BackupEnabled: pulumi.Bool(true),
    ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    &mongodbatlas.AdvancedClusterReplicationSpecArgs{
    RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    Priority: pulumi.Int(7),
    ProviderName: pulumi.String("AWS"),
    RegionName: pulumi.String("EU_CENTRAL_1"),
    ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    InstanceSize: pulumi.String("M10"),
    NodeCount: pulumi.Int(3),
    },
    },
    },
    },
    },
    })
    if err != nil {
    return err
    }
    testCloudBackupSchedule, err := mongodbatlas.NewCloudBackupSchedule(ctx, "test", &mongodbatlas.CloudBackupScheduleArgs{
    ProjectId: myCluster.ProjectId,
    ClusterName: myCluster.Name,
    ReferenceHourOfDay: pulumi.Int(3),
    ReferenceMinuteOfHour: pulumi.Int(45),
    RestoreWindowDays: pulumi.Int(4),
    PolicyItemDaily: &mongodbatlas.CloudBackupSchedulePolicyItemDailyArgs{
    FrequencyInterval: pulumi.Int(1),
    RetentionUnit: pulumi.String("days"),
    RetentionValue: pulumi.Int(14),
    },
    CopySettings: mongodbatlas.CloudBackupScheduleCopySettingArray{
    &mongodbatlas.CloudBackupScheduleCopySettingArgs{
    CloudProvider: pulumi.String("AWS"),
    Frequencies: pulumi.StringArray{
    pulumi.String("HOURLY"),
    pulumi.String("DAILY"),
    pulumi.String("WEEKLY"),
    pulumi.String("MONTHLY"),
    pulumi.String("YEARLY"),
    pulumi.String("ON_DEMAND"),
    },
    RegionName: pulumi.String("US_EAST_1"),
    ZoneId: pulumi.String(myCluster.ReplicationSpecs.ApplyT(func(replicationSpecs []mongodbatlas.AdvancedClusterReplicationSpec) ([]interface{}, error) {
    var splat0 []interface{}
    for _, val0 := range replicationSpecs {
    splat0 = append(splat0, val0.ZoneId[0])
    }
    return splat0, nil
    }).(pulumi.[]interface{}Output)),
    ShouldCopyOplogs: pulumi.Bool(false),
    },
    },
    })
    if err != nil {
    return err
    }
    _ = mongodbatlas.LookupCloudBackupScheduleOutput(ctx, mongodbatlas.GetCloudBackupScheduleOutputArgs{
    ProjectId: testCloudBackupSchedule.ProjectId,
    ClusterName: testCloudBackupSchedule.ClusterName,
    }, nil);
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var myCluster = new Mongodbatlas.AdvancedCluster("my_cluster", new()
        {
            ProjectId = "<PROJECT-ID>",
            Name = "clusterTest",
            ClusterType = "REPLICASET",
            BackupEnabled = true,
            ReplicationSpecs = new[]
            {
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            Priority = 7,
                            ProviderName = "AWS",
                            RegionName = "EU_CENTRAL_1",
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 3,
                            },
                        },
                    },
                },
            },
        });
    
        var testCloudBackupSchedule = new Mongodbatlas.CloudBackupSchedule("test", new()
        {
            ProjectId = myCluster.ProjectId,
            ClusterName = myCluster.Name,
            ReferenceHourOfDay = 3,
            ReferenceMinuteOfHour = 45,
            RestoreWindowDays = 4,
            PolicyItemDaily = new Mongodbatlas.Inputs.CloudBackupSchedulePolicyItemDailyArgs
            {
                FrequencyInterval = 1,
                RetentionUnit = "days",
                RetentionValue = 14,
            },
            CopySettings = new[]
            {
                new Mongodbatlas.Inputs.CloudBackupScheduleCopySettingArgs
                {
                    CloudProvider = "AWS",
                    Frequencies = new[]
                    {
                        "HOURLY",
                        "DAILY",
                        "WEEKLY",
                        "MONTHLY",
                        "YEARLY",
                        "ON_DEMAND",
                    },
                    RegionName = "US_EAST_1",
                    ZoneId = myCluster.ReplicationSpecs.Apply(replicationSpecs => replicationSpecs.Select(__item => __item.ZoneId[0]).ToList()),
                    ShouldCopyOplogs = false,
                },
            },
        });
    
        var test = Mongodbatlas.GetCloudBackupSchedule.Invoke(new()
        {
            ProjectId = testCloudBackupSchedule.ProjectId,
            ClusterName = testCloudBackupSchedule.ClusterName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AdvancedCluster;
    import com.pulumi.mongodbatlas.AdvancedClusterArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterReplicationSpecArgs;
    import com.pulumi.mongodbatlas.CloudBackupSchedule;
    import com.pulumi.mongodbatlas.CloudBackupScheduleArgs;
    import com.pulumi.mongodbatlas.inputs.CloudBackupSchedulePolicyItemDailyArgs;
    import com.pulumi.mongodbatlas.inputs.CloudBackupScheduleCopySettingArgs;
    import com.pulumi.mongodbatlas.MongodbatlasFunctions;
    import com.pulumi.mongodbatlas.inputs.GetCloudBackupScheduleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var myCluster = new AdvancedCluster("myCluster", AdvancedClusterArgs.builder()
                .projectId("<PROJECT-ID>")
                .name("clusterTest")
                .clusterType("REPLICASET")
                .backupEnabled(true)
                .replicationSpecs(AdvancedClusterReplicationSpecArgs.builder()
                    .regionConfigs(AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                        .priority(7)
                        .providerName("AWS")
                        .regionName("EU_CENTRAL_1")
                        .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                            .instanceSize("M10")
                            .nodeCount(3)
                            .build())
                        .build())
                    .build())
                .build());
    
            var testCloudBackupSchedule = new CloudBackupSchedule("testCloudBackupSchedule", CloudBackupScheduleArgs.builder()
                .projectId(myCluster.projectId())
                .clusterName(myCluster.name())
                .referenceHourOfDay(3)
                .referenceMinuteOfHour(45)
                .restoreWindowDays(4)
                .policyItemDaily(CloudBackupSchedulePolicyItemDailyArgs.builder()
                    .frequencyInterval(1)
                    .retentionUnit("days")
                    .retentionValue(14)
                    .build())
                .copySettings(CloudBackupScheduleCopySettingArgs.builder()
                    .cloudProvider("AWS")
                    .frequencies(                
                        "HOURLY",
                        "DAILY",
                        "WEEKLY",
                        "MONTHLY",
                        "YEARLY",
                        "ON_DEMAND")
                    .regionName("US_EAST_1")
                    .zoneId(myCluster.replicationSpecs().applyValue(_replicationSpecs -> _replicationSpecs.stream().map(element -> element.zoneId()[0]).collect(toList())))
                    .shouldCopyOplogs(false)
                    .build())
                .build());
    
            final var test = MongodbatlasFunctions.getCloudBackupSchedule(GetCloudBackupScheduleArgs.builder()
                .projectId(testCloudBackupSchedule.projectId())
                .clusterName(testCloudBackupSchedule.clusterName())
                .build());
    
        }
    }
    
    Example coming soon!
    

    Using getCloudBackupSchedule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCloudBackupSchedule(args: GetCloudBackupScheduleArgs, opts?: InvokeOptions): Promise<GetCloudBackupScheduleResult>
    function getCloudBackupScheduleOutput(args: GetCloudBackupScheduleOutputArgs, opts?: InvokeOptions): Output<GetCloudBackupScheduleResult>
    def get_cloud_backup_schedule(cluster_name: Optional[str] = None,
                                  project_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetCloudBackupScheduleResult
    def get_cloud_backup_schedule_output(cluster_name: Optional[pulumi.Input[str]] = None,
                                  project_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetCloudBackupScheduleResult]
    func LookupCloudBackupSchedule(ctx *Context, args *LookupCloudBackupScheduleArgs, opts ...InvokeOption) (*LookupCloudBackupScheduleResult, error)
    func LookupCloudBackupScheduleOutput(ctx *Context, args *LookupCloudBackupScheduleOutputArgs, opts ...InvokeOption) LookupCloudBackupScheduleResultOutput

    > Note: This function is named LookupCloudBackupSchedule in the Go SDK.

    public static class GetCloudBackupSchedule 
    {
        public static Task<GetCloudBackupScheduleResult> InvokeAsync(GetCloudBackupScheduleArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudBackupScheduleResult> Invoke(GetCloudBackupScheduleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudBackupScheduleResult> getCloudBackupSchedule(GetCloudBackupScheduleArgs args, InvokeOptions options)
    public static Output<GetCloudBackupScheduleResult> getCloudBackupSchedule(GetCloudBackupScheduleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: mongodbatlas:index/getCloudBackupSchedule:getCloudBackupSchedule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterName string
    The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
    ProjectId string
    The unique identifier of the project for the Atlas cluster.
    ClusterName string
    The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
    ProjectId string
    The unique identifier of the project for the Atlas cluster.
    clusterName String
    The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
    projectId String
    The unique identifier of the project for the Atlas cluster.
    clusterName string
    The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
    projectId string
    The unique identifier of the project for the Atlas cluster.
    cluster_name str
    The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
    project_id str
    The unique identifier of the project for the Atlas cluster.
    clusterName String
    The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
    projectId String
    The unique identifier of the project for the Atlas cluster.

    getCloudBackupSchedule Result

    The following output properties are available:

    AutoExportEnabled bool
    Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Value can be one of the following:

    • true - Enables automatic export of cloud backup snapshots to the Export Bucket.
    • false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
    ClusterId string
    Unique identifier of the Atlas cluster.
    ClusterName string
    CopySettings List<GetCloudBackupScheduleCopySetting>
    List that contains a document for each copy setting item in the desired backup policy. See below
    Exports List<GetCloudBackupScheduleExport>
    Policy for automatically exporting Cloud Backup Snapshots. See below
    Id string
    The provider-assigned unique ID for this managed resource.
    IdPolicy string
    Unique identifier of the backup policy.
    NextSnapshot string
    UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
    PolicyItemDailies List<GetCloudBackupSchedulePolicyItemDaily>
    (Optional) Daily policy item. See below
    PolicyItemHourlies List<GetCloudBackupSchedulePolicyItemHourly>
    (Optional) Hourly policy item. See below
    PolicyItemMonthlies List<GetCloudBackupSchedulePolicyItemMonthly>
    (Optional) Monthly policy item. See below
    PolicyItemWeeklies List<GetCloudBackupSchedulePolicyItemWeekly>
    (Optional) Weekly policy item. See below
    PolicyItemYearlies List<GetCloudBackupSchedulePolicyItemYearly>
    (Optional) Yearly policy item. See below
    ProjectId string
    ReferenceHourOfDay int
    UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
    ReferenceMinuteOfHour int
    UTC Minute of day between 0 and 59 representing which minute of the reference_hour_of_day that Atlas takes the snapshot.
    RestoreWindowDays int
    Specifies a restore window in days for cloud backup to maintain.
    UseOrgAndGroupNamesInExportPrefix bool
    Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
    AutoExportEnabled bool
    Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Value can be one of the following:

    • true - Enables automatic export of cloud backup snapshots to the Export Bucket.
    • false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
    ClusterId string
    Unique identifier of the Atlas cluster.
    ClusterName string
    CopySettings []GetCloudBackupScheduleCopySetting
    List that contains a document for each copy setting item in the desired backup policy. See below
    Exports []GetCloudBackupScheduleExport
    Policy for automatically exporting Cloud Backup Snapshots. See below
    Id string
    The provider-assigned unique ID for this managed resource.
    IdPolicy string
    Unique identifier of the backup policy.
    NextSnapshot string
    UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
    PolicyItemDailies []GetCloudBackupSchedulePolicyItemDaily
    (Optional) Daily policy item. See below
    PolicyItemHourlies []GetCloudBackupSchedulePolicyItemHourly
    (Optional) Hourly policy item. See below
    PolicyItemMonthlies []GetCloudBackupSchedulePolicyItemMonthly
    (Optional) Monthly policy item. See below
    PolicyItemWeeklies []GetCloudBackupSchedulePolicyItemWeekly
    (Optional) Weekly policy item. See below
    PolicyItemYearlies []GetCloudBackupSchedulePolicyItemYearly
    (Optional) Yearly policy item. See below
    ProjectId string
    ReferenceHourOfDay int
    UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
    ReferenceMinuteOfHour int
    UTC Minute of day between 0 and 59 representing which minute of the reference_hour_of_day that Atlas takes the snapshot.
    RestoreWindowDays int
    Specifies a restore window in days for cloud backup to maintain.
    UseOrgAndGroupNamesInExportPrefix bool
    Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
    autoExportEnabled Boolean
    Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Value can be one of the following:

    • true - Enables automatic export of cloud backup snapshots to the Export Bucket.
    • false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
    clusterId String
    Unique identifier of the Atlas cluster.
    clusterName String
    copySettings List<GetCloudBackupScheduleCopySetting>
    List that contains a document for each copy setting item in the desired backup policy. See below
    exports List<GetCloudBackupScheduleExport>
    Policy for automatically exporting Cloud Backup Snapshots. See below
    id String
    The provider-assigned unique ID for this managed resource.
    idPolicy String
    Unique identifier of the backup policy.
    nextSnapshot String
    UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
    policyItemDailies List<GetCloudBackupSchedulePolicyItemDaily>
    (Optional) Daily policy item. See below
    policyItemHourlies List<GetCloudBackupSchedulePolicyItemHourly>
    (Optional) Hourly policy item. See below
    policyItemMonthlies List<GetCloudBackupSchedulePolicyItemMonthly>
    (Optional) Monthly policy item. See below
    policyItemWeeklies List<GetCloudBackupSchedulePolicyItemWeekly>
    (Optional) Weekly policy item. See below
    policyItemYearlies List<GetCloudBackupSchedulePolicyItemYearly>
    (Optional) Yearly policy item. See below
    projectId String
    referenceHourOfDay Integer
    UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
    referenceMinuteOfHour Integer
    UTC Minute of day between 0 and 59 representing which minute of the reference_hour_of_day that Atlas takes the snapshot.
    restoreWindowDays Integer
    Specifies a restore window in days for cloud backup to maintain.
    useOrgAndGroupNamesInExportPrefix Boolean
    Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
    autoExportEnabled boolean
    Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Value can be one of the following:

    • true - Enables automatic export of cloud backup snapshots to the Export Bucket.
    • false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
    clusterId string
    Unique identifier of the Atlas cluster.
    clusterName string
    copySettings GetCloudBackupScheduleCopySetting[]
    List that contains a document for each copy setting item in the desired backup policy. See below
    exports GetCloudBackupScheduleExport[]
    Policy for automatically exporting Cloud Backup Snapshots. See below
    id string
    The provider-assigned unique ID for this managed resource.
    idPolicy string
    Unique identifier of the backup policy.
    nextSnapshot string
    UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
    policyItemDailies GetCloudBackupSchedulePolicyItemDaily[]
    (Optional) Daily policy item. See below
    policyItemHourlies GetCloudBackupSchedulePolicyItemHourly[]
    (Optional) Hourly policy item. See below
    policyItemMonthlies GetCloudBackupSchedulePolicyItemMonthly[]
    (Optional) Monthly policy item. See below
    policyItemWeeklies GetCloudBackupSchedulePolicyItemWeekly[]
    (Optional) Weekly policy item. See below
    policyItemYearlies GetCloudBackupSchedulePolicyItemYearly[]
    (Optional) Yearly policy item. See below
    projectId string
    referenceHourOfDay number
    UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
    referenceMinuteOfHour number
    UTC Minute of day between 0 and 59 representing which minute of the reference_hour_of_day that Atlas takes the snapshot.
    restoreWindowDays number
    Specifies a restore window in days for cloud backup to maintain.
    useOrgAndGroupNamesInExportPrefix boolean
    Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
    auto_export_enabled bool
    Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Value can be one of the following:

    • true - Enables automatic export of cloud backup snapshots to the Export Bucket.
    • false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
    cluster_id str
    Unique identifier of the Atlas cluster.
    cluster_name str
    copy_settings Sequence[GetCloudBackupScheduleCopySetting]
    List that contains a document for each copy setting item in the desired backup policy. See below
    exports Sequence[GetCloudBackupScheduleExport]
    Policy for automatically exporting Cloud Backup Snapshots. See below
    id str
    The provider-assigned unique ID for this managed resource.
    id_policy str
    Unique identifier of the backup policy.
    next_snapshot str
    UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
    policy_item_dailies Sequence[GetCloudBackupSchedulePolicyItemDaily]
    (Optional) Daily policy item. See below
    policy_item_hourlies Sequence[GetCloudBackupSchedulePolicyItemHourly]
    (Optional) Hourly policy item. See below
    policy_item_monthlies Sequence[GetCloudBackupSchedulePolicyItemMonthly]
    (Optional) Monthly policy item. See below
    policy_item_weeklies Sequence[GetCloudBackupSchedulePolicyItemWeekly]
    (Optional) Weekly policy item. See below
    policy_item_yearlies Sequence[GetCloudBackupSchedulePolicyItemYearly]
    (Optional) Yearly policy item. See below
    project_id str
    reference_hour_of_day int
    UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
    reference_minute_of_hour int
    UTC Minute of day between 0 and 59 representing which minute of the reference_hour_of_day that Atlas takes the snapshot.
    restore_window_days int
    Specifies a restore window in days for cloud backup to maintain.
    use_org_and_group_names_in_export_prefix bool
    Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
    autoExportEnabled Boolean
    Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Value can be one of the following:

    • true - Enables automatic export of cloud backup snapshots to the Export Bucket.
    • false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
    clusterId String
    Unique identifier of the Atlas cluster.
    clusterName String
    copySettings List<Property Map>
    List that contains a document for each copy setting item in the desired backup policy. See below
    exports List<Property Map>
    Policy for automatically exporting Cloud Backup Snapshots. See below
    id String
    The provider-assigned unique ID for this managed resource.
    idPolicy String
    Unique identifier of the backup policy.
    nextSnapshot String
    UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
    policyItemDailies List<Property Map>
    (Optional) Daily policy item. See below
    policyItemHourlies List<Property Map>
    (Optional) Hourly policy item. See below
    policyItemMonthlies List<Property Map>
    (Optional) Monthly policy item. See below
    policyItemWeeklies List<Property Map>
    (Optional) Weekly policy item. See below
    policyItemYearlies List<Property Map>
    (Optional) Yearly policy item. See below
    projectId String
    referenceHourOfDay Number
    UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
    referenceMinuteOfHour Number
    UTC Minute of day between 0 and 59 representing which minute of the reference_hour_of_day that Atlas takes the snapshot.
    restoreWindowDays Number
    Specifies a restore window in days for cloud backup to maintain.
    useOrgAndGroupNamesInExportPrefix Boolean
    Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.

    Supporting Types

    GetCloudBackupScheduleCopySetting

    CloudProvider string
    Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
    Frequencies List<string>
    List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "YEARLY" "ON_DEMAND"
    RegionName string
    Target region to copy snapshots belonging to replicationSpecId to. Please supply the 'Atlas Region' which can be found under https://www.mongodb.com/docs/atlas/reference/cloud-providers/ 'regions' link
    ShouldCopyOplogs bool
    Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
    ZoneId string
    Unique 24-hexadecimal digit string that identifies the zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster.
    CloudProvider string
    Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
    Frequencies []string
    List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "YEARLY" "ON_DEMAND"
    RegionName string
    Target region to copy snapshots belonging to replicationSpecId to. Please supply the 'Atlas Region' which can be found under https://www.mongodb.com/docs/atlas/reference/cloud-providers/ 'regions' link
    ShouldCopyOplogs bool
    Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
    ZoneId string
    Unique 24-hexadecimal digit string that identifies the zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster.
    cloudProvider String
    Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
    frequencies List<String>
    List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "YEARLY" "ON_DEMAND"
    regionName String
    Target region to copy snapshots belonging to replicationSpecId to. Please supply the 'Atlas Region' which can be found under https://www.mongodb.com/docs/atlas/reference/cloud-providers/ 'regions' link
    shouldCopyOplogs Boolean
    Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
    zoneId String
    Unique 24-hexadecimal digit string that identifies the zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster.
    cloudProvider string
    Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
    frequencies string[]
    List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "YEARLY" "ON_DEMAND"
    regionName string
    Target region to copy snapshots belonging to replicationSpecId to. Please supply the 'Atlas Region' which can be found under https://www.mongodb.com/docs/atlas/reference/cloud-providers/ 'regions' link
    shouldCopyOplogs boolean
    Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
    zoneId string
    Unique 24-hexadecimal digit string that identifies the zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster.
    cloud_provider str
    Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
    frequencies Sequence[str]
    List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "YEARLY" "ON_DEMAND"
    region_name str
    Target region to copy snapshots belonging to replicationSpecId to. Please supply the 'Atlas Region' which can be found under https://www.mongodb.com/docs/atlas/reference/cloud-providers/ 'regions' link
    should_copy_oplogs bool
    Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
    zone_id str
    Unique 24-hexadecimal digit string that identifies the zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster.
    cloudProvider String
    Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
    frequencies List<String>
    List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "YEARLY" "ON_DEMAND"
    regionName String
    Target region to copy snapshots belonging to replicationSpecId to. Please supply the 'Atlas Region' which can be found under https://www.mongodb.com/docs/atlas/reference/cloud-providers/ 'regions' link
    shouldCopyOplogs Boolean
    Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
    zoneId String
    Unique 24-hexadecimal digit string that identifies the zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster.

    GetCloudBackupScheduleExport

    ExportBucketId string
    Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
    ExportBucketId string
    Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
    exportBucketId String
    Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
    exportBucketId string
    Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
    frequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
    export_bucket_id str
    Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
    frequency_type str
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
    exportBucketId String
    Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.

    GetCloudBackupSchedulePolicyItemDaily

    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Integer
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Integer
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequency_interval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequency_type str
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retention_unit str
    Scope of the backup policy item: days, weeks, months, or years.
    retention_value int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.

    GetCloudBackupSchedulePolicyItemHourly

    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Integer
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Integer
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequency_interval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequency_type str
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retention_unit str
    Scope of the backup policy item: days, weeks, months, or years.
    retention_value int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.

    GetCloudBackupSchedulePolicyItemMonthly

    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Integer
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Integer
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequency_interval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequency_type str
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retention_unit str
    Scope of the backup policy item: days, weeks, months, or years.
    retention_value int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.

    GetCloudBackupSchedulePolicyItemWeekly

    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Integer
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Integer
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequency_interval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequency_type str
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retention_unit str
    Scope of the backup policy item: days, weeks, months, or years.
    retention_value int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.

    GetCloudBackupSchedulePolicyItemYearly

    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    FrequencyInterval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    FrequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    RetentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    RetentionValue int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Integer
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Integer
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType string
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit string
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequency_interval int
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequency_type str
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retention_unit str
    Scope of the backup policy item: days, weeks, months, or years.
    retention_value int
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.
    frequencyInterval Number
    Desired frequency of the new backup policy item specified by frequency_type (yearly in this case). The supported values for yearly policies are
    frequencyType String
    Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as yearly. 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.
    retentionUnit String
    Scope of the backup policy item: days, weeks, months, or years.
    retentionValue Number
    Value to associate with retention_unit. Yearly policy must have retention of at least 1 year.

    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 v4.0.0 published on Tuesday, Dec 30, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate