MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi
mongodbatlas.getCloudBackupSchedule
Explore with Pulumi AI
# Data Source: mongodbatlas.CloudBackupSchedule
mongodbatlas.CloudBackupSchedule
provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
NOTE: Groups and projects are synonymous terms. You may find
groupId
in the official documentation.
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,
use_zone_id_for_copy_settings: Optional[bool] = 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,
use_zone_id_for_copy_settings: Optional[pulumi.Input[bool]] = 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getCloudBackupSchedule:getCloudBackupSchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string - The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
- Project
Id string - The unique identifier of the project for the Atlas cluster.
- Use
Zone boolId For Copy Settings - Set this field to
true
to allow the data source to use the latest schema that populatescopy_settings.#.zone_id
instead of the deprecatedcopy_settings.#.replication_spec_id
. These fields also enable you to reference cluster zones using independent shard scaling, which no longer supportsreplication_spec.*.id
. To learn more, see the 1.18.0 upgrade guide.
- Cluster
Name string - The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
- Project
Id string - The unique identifier of the project for the Atlas cluster.
- Use
Zone boolId For Copy Settings - Set this field to
true
to allow the data source to use the latest schema that populatescopy_settings.#.zone_id
instead of the deprecatedcopy_settings.#.replication_spec_id
. These fields also enable you to reference cluster zones using independent shard scaling, which no longer supportsreplication_spec.*.id
. To learn more, see the 1.18.0 upgrade guide.
- cluster
Name String - The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
- project
Id String - The unique identifier of the project for the Atlas cluster.
- use
Zone BooleanId For Copy Settings - Set this field to
true
to allow the data source to use the latest schema that populatescopy_settings.#.zone_id
instead of the deprecatedcopy_settings.#.replication_spec_id
. These fields also enable you to reference cluster zones using independent shard scaling, which no longer supportsreplication_spec.*.id
. To learn more, see the 1.18.0 upgrade guide.
- cluster
Name string - The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
- project
Id string - The unique identifier of the project for the Atlas cluster.
- use
Zone booleanId For Copy Settings - Set this field to
true
to allow the data source to use the latest schema that populatescopy_settings.#.zone_id
instead of the deprecatedcopy_settings.#.replication_spec_id
. These fields also enable you to reference cluster zones using independent shard scaling, which no longer supportsreplication_spec.*.id
. To learn more, see the 1.18.0 upgrade guide.
- 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.
- use_
zone_ boolid_ for_ copy_ settings - Set this field to
true
to allow the data source to use the latest schema that populatescopy_settings.#.zone_id
instead of the deprecatedcopy_settings.#.replication_spec_id
. These fields also enable you to reference cluster zones using independent shard scaling, which no longer supportsreplication_spec.*.id
. To learn more, see the 1.18.0 upgrade guide.
- cluster
Name String - The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
- project
Id String - The unique identifier of the project for the Atlas cluster.
- use
Zone BooleanId For Copy Settings - Set this field to
true
to allow the data source to use the latest schema that populatescopy_settings.#.zone_id
instead of the deprecatedcopy_settings.#.replication_spec_id
. These fields also enable you to reference cluster zones using independent shard scaling, which no longer supportsreplication_spec.*.id
. To learn more, see the 1.18.0 upgrade guide.
getCloudBackupSchedule Result
The following output properties are available:
- Auto
Export boolEnabled - Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
- true - enables automatic export of cloud backup snapshots to the AWS bucket
- false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
- Cluster
Id string - Unique identifier of the Atlas cluster.
- Cluster
Name string - Copy
Settings List<GetCloud Backup Schedule Copy Setting> - List that contains a document for each copy setting item in the desired backup policy. See below
- Exports
List<Get
Cloud Backup Schedule Export> - Policy for automatically exporting Cloud Backup Snapshots. See below
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Policy string - Unique identifier of the backup policy.
- Next
Snapshot string - UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- Policy
Item List<GetDailies Cloud Backup Schedule Policy Item Daily> - (Optional) Daily policy item. See below
- Policy
Item List<GetHourlies Cloud Backup Schedule Policy Item Hourly> - (Optional) Hourly policy item. See below
- Policy
Item List<GetMonthlies Cloud Backup Schedule Policy Item Monthly> - (Optional) Monthly policy item. See below
- Policy
Item List<GetWeeklies Cloud Backup Schedule Policy Item Weekly> - (Optional) Weekly policy item. See below
- Policy
Item List<GetYearlies Cloud Backup Schedule Policy Item Yearly> - (Optional) Yearly policy item. See below
- Project
Id string - Reference
Hour intOf Day - UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
- Reference
Minute intOf Hour - UTC Minute of day between 0 and 59 representing which minute of the
reference_hour_of_day
that Atlas takes the snapshot. - Restore
Window intDays - Specifies a restore window in days for cloud backup to maintain.
- Use
Org boolAnd Group Names In Export Prefix - 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 S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
- Use
Zone boolId For Copy Settings
- Auto
Export boolEnabled - Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
- true - enables automatic export of cloud backup snapshots to the AWS bucket
- false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
- Cluster
Id string - Unique identifier of the Atlas cluster.
- Cluster
Name string - Copy
Settings []GetCloud Backup Schedule Copy Setting - List that contains a document for each copy setting item in the desired backup policy. See below
- Exports
[]Get
Cloud Backup Schedule Export - Policy for automatically exporting Cloud Backup Snapshots. See below
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Policy string - Unique identifier of the backup policy.
- Next
Snapshot string - UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- Policy
Item []GetDailies Cloud Backup Schedule Policy Item Daily - (Optional) Daily policy item. See below
- Policy
Item []GetHourlies Cloud Backup Schedule Policy Item Hourly - (Optional) Hourly policy item. See below
- Policy
Item []GetMonthlies Cloud Backup Schedule Policy Item Monthly - (Optional) Monthly policy item. See below
- Policy
Item []GetWeeklies Cloud Backup Schedule Policy Item Weekly - (Optional) Weekly policy item. See below
- Policy
Item []GetYearlies Cloud Backup Schedule Policy Item Yearly - (Optional) Yearly policy item. See below
- Project
Id string - Reference
Hour intOf Day - UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
- Reference
Minute intOf Hour - UTC Minute of day between 0 and 59 representing which minute of the
reference_hour_of_day
that Atlas takes the snapshot. - Restore
Window intDays - Specifies a restore window in days for cloud backup to maintain.
- Use
Org boolAnd Group Names In Export Prefix - 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 S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
- Use
Zone boolId For Copy Settings
- auto
Export BooleanEnabled - Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
- true - enables automatic export of cloud backup snapshots to the AWS bucket
- false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
- cluster
Id String - Unique identifier of the Atlas cluster.
- cluster
Name String - copy
Settings List<GetCloud Backup Schedule Copy Setting> - List that contains a document for each copy setting item in the desired backup policy. See below
- exports
List<Get
Cloud Backup Schedule Export> - Policy for automatically exporting Cloud Backup Snapshots. See below
- id String
- The provider-assigned unique ID for this managed resource.
- id
Policy String - Unique identifier of the backup policy.
- next
Snapshot String - UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- policy
Item List<GetDailies Cloud Backup Schedule Policy Item Daily> - (Optional) Daily policy item. See below
- policy
Item List<GetHourlies Cloud Backup Schedule Policy Item Hourly> - (Optional) Hourly policy item. See below
- policy
Item List<GetMonthlies Cloud Backup Schedule Policy Item Monthly> - (Optional) Monthly policy item. See below
- policy
Item List<GetWeeklies Cloud Backup Schedule Policy Item Weekly> - (Optional) Weekly policy item. See below
- policy
Item List<GetYearlies Cloud Backup Schedule Policy Item Yearly> - (Optional) Yearly policy item. See below
- project
Id String - reference
Hour IntegerOf Day - UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
- reference
Minute IntegerOf Hour - UTC Minute of day between 0 and 59 representing which minute of the
reference_hour_of_day
that Atlas takes the snapshot. - restore
Window IntegerDays - Specifies a restore window in days for cloud backup to maintain.
- use
Org BooleanAnd Group Names In Export Prefix - 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 S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
- use
Zone BooleanId For Copy Settings
- auto
Export booleanEnabled - Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
- true - enables automatic export of cloud backup snapshots to the AWS bucket
- false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
- cluster
Id string - Unique identifier of the Atlas cluster.
- cluster
Name string - copy
Settings GetCloud Backup Schedule Copy Setting[] - List that contains a document for each copy setting item in the desired backup policy. See below
- exports
Get
Cloud Backup Schedule Export[] - Policy for automatically exporting Cloud Backup Snapshots. See below
- id string
- The provider-assigned unique ID for this managed resource.
- id
Policy string - Unique identifier of the backup policy.
- next
Snapshot string - UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- policy
Item GetDailies Cloud Backup Schedule Policy Item Daily[] - (Optional) Daily policy item. See below
- policy
Item GetHourlies Cloud Backup Schedule Policy Item Hourly[] - (Optional) Hourly policy item. See below
- policy
Item GetMonthlies Cloud Backup Schedule Policy Item Monthly[] - (Optional) Monthly policy item. See below
- policy
Item GetWeeklies Cloud Backup Schedule Policy Item Weekly[] - (Optional) Weekly policy item. See below
- policy
Item GetYearlies Cloud Backup Schedule Policy Item Yearly[] - (Optional) Yearly policy item. See below
- project
Id string - reference
Hour numberOf Day - UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
- reference
Minute numberOf Hour - UTC Minute of day between 0 and 59 representing which minute of the
reference_hour_of_day
that Atlas takes the snapshot. - restore
Window numberDays - Specifies a restore window in days for cloud backup to maintain.
- use
Org booleanAnd Group Names In Export Prefix - 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 S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
- use
Zone booleanId For Copy Settings
- auto_
export_ boolenabled - Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
- true - enables automatic export of cloud backup snapshots to the AWS bucket
- false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
- cluster_
id str - Unique identifier of the Atlas cluster.
- cluster_
name str - copy_
settings Sequence[GetCloud Backup Schedule Copy Setting] - List that contains a document for each copy setting item in the desired backup policy. See below
- exports
Sequence[Get
Cloud Backup Schedule Export] - 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_ Sequence[Getdailies Cloud Backup Schedule Policy Item Daily] - (Optional) Daily policy item. See below
- policy_
item_ Sequence[Gethourlies Cloud Backup Schedule Policy Item Hourly] - (Optional) Hourly policy item. See below
- policy_
item_ Sequence[Getmonthlies Cloud Backup Schedule Policy Item Monthly] - (Optional) Monthly policy item. See below
- policy_
item_ Sequence[Getweeklies Cloud Backup Schedule Policy Item Weekly] - (Optional) Weekly policy item. See below
- policy_
item_ Sequence[Getyearlies Cloud Backup Schedule Policy Item Yearly] - (Optional) Yearly policy item. See below
- project_
id str - reference_
hour_ intof_ day - UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
- reference_
minute_ intof_ hour - UTC Minute of day between 0 and 59 representing which minute of the
reference_hour_of_day
that Atlas takes the snapshot. - restore_
window_ intdays - Specifies a restore window in days for cloud backup to maintain.
- use_
org_ booland_ group_ names_ in_ export_ prefix - 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 S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
- use_
zone_ boolid_ for_ copy_ settings
- auto
Export BooleanEnabled - Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
- true - enables automatic export of cloud backup snapshots to the AWS bucket
- false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
- cluster
Id String - Unique identifier of the Atlas cluster.
- cluster
Name String - copy
Settings 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.
- id
Policy String - Unique identifier of the backup policy.
- next
Snapshot String - UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- policy
Item List<Property Map>Dailies - (Optional) Daily policy item. See below
- policy
Item List<Property Map>Hourlies - (Optional) Hourly policy item. See below
- policy
Item List<Property Map>Monthlies - (Optional) Monthly policy item. See below
- policy
Item List<Property Map>Weeklies - (Optional) Weekly policy item. See below
- policy
Item List<Property Map>Yearlies - (Optional) Yearly policy item. See below
- project
Id String - reference
Hour NumberOf Day - UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
- reference
Minute NumberOf Hour - UTC Minute of day between 0 and 59 representing which minute of the
reference_hour_of_day
that Atlas takes the snapshot. - restore
Window NumberDays - Specifies a restore window in days for cloud backup to maintain.
- use
Org BooleanAnd Group Names In Export Prefix - 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 S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see Export Cloud Backup Snapshot.
- use
Zone BooleanId For Copy Settings
Supporting Types
GetCloudBackupScheduleCopySetting
- Cloud
Provider 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"
- Region
Name 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
- Replication
Spec stringId - Unique 24-hexadecimal digit string that identifies the replication object for a 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. To find the Replication Spec Id, consult the replicationSpecs array returned from Return One Multi-Cloud Cluster in One Project. (DEPRECATED) Use
zone_id
instead. To learn more, see the 1.18.0 upgrade guide. - Should
Copy boolOplogs - 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 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 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"
- Region
Name 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
- Replication
Spec stringId - Unique 24-hexadecimal digit string that identifies the replication object for a 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. To find the Replication Spec Id, consult the replicationSpecs array returned from Return One Multi-Cloud Cluster in One Project. (DEPRECATED) Use
zone_id
instead. To learn more, see the 1.18.0 upgrade guide. - Should
Copy boolOplogs - 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 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 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"
- region
Name 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
- replication
Spec StringId - Unique 24-hexadecimal digit string that identifies the replication object for a 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. To find the Replication Spec Id, consult the replicationSpecs array returned from Return One Multi-Cloud Cluster in One Project. (DEPRECATED) Use
zone_id
instead. To learn more, see the 1.18.0 upgrade guide. - should
Copy BooleanOplogs - 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 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 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"
- region
Name 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
- replication
Spec stringId - Unique 24-hexadecimal digit string that identifies the replication object for a 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. To find the Replication Spec Id, consult the replicationSpecs array returned from Return One Multi-Cloud Cluster in One Project. (DEPRECATED) Use
zone_id
instead. To learn more, see the 1.18.0 upgrade guide. - should
Copy booleanOplogs - 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 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
- replication_
spec_ strid - Unique 24-hexadecimal digit string that identifies the replication object for a 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. To find the Replication Spec Id, consult the replicationSpecs array returned from Return One Multi-Cloud Cluster in One Project. (DEPRECATED) Use
zone_id
instead. To learn more, see the 1.18.0 upgrade guide. - should_
copy_ booloplogs - 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.
- cloud
Provider 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"
- region
Name 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
- replication
Spec StringId - Unique 24-hexadecimal digit string that identifies the replication object for a 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. To find the Replication Spec Id, consult the replicationSpecs array returned from Return One Multi-Cloud Cluster in One Project. (DEPRECATED) Use
zone_id
instead. To learn more, see the 1.18.0 upgrade guide. - should
Copy BooleanOplogs - 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 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
- Export
Bucket stringId - Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- Frequency
Type 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 stringId - Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- Frequency
Type 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 StringId - Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- frequency
Type 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 stringId - Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- frequency
Type 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_ strid - 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.
- export
Bucket StringId - Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- frequency
Type 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
- 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Integer - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Integer - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval number - 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 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.
- retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value 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
, oryears
. - retention_
value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Number - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Number - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
GetCloudBackupSchedulePolicyItemHourly
- 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Integer - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Integer - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval number - 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 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.
- retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value 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
, oryears
. - retention_
value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Number - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Number - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
GetCloudBackupSchedulePolicyItemMonthly
- 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Integer - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Integer - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval number - 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 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.
- retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value 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
, oryears
. - retention_
value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Number - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Number - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
GetCloudBackupSchedulePolicyItemWeekly
- 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Integer - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Integer - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval number - 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 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.
- retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value 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
, oryears
. - retention_
value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Number - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Number - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
GetCloudBackupSchedulePolicyItemYearly
- 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - 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 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.
- Retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - Retention
Value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Integer - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value Integer - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval number - 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 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.
- retention
Unit string - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value 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
, oryears
. - retention_
value int - Value to associate with
retention_unit
. Yearly policy must have retention of at least 1 year.
- frequency
Interval Number - 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 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.
- retention
Unit String - Scope of the backup policy item:
days
,weeks
,months
, oryears
. - retention
Value 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.