MongoDB Atlas v3.7.2, Mar 31 23
MongoDB Atlas v3.7.2, Mar 31 23
mongodbatlas.CloudBackupSchedule
Explore with Pulumi AI
Import
Cloud Backup Schedule entries can be imported using project_id and cluster_name, in the format PROJECTID-CLUSTERNAME
, e.g.
$ pulumi import mongodbatlas:index/cloudBackupSchedule:CloudBackupSchedule test 5d0f1f73cf09a29120e173cf-MyClusterTest
For more information seeMongoDB Atlas API Reference.
Create CloudBackupSchedule Resource
new CloudBackupSchedule(name: string, args: CloudBackupScheduleArgs, opts?: CustomResourceOptions);
@overload
def CloudBackupSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_export_enabled: Optional[bool] = None,
cluster_name: Optional[str] = None,
copy_settings: Optional[Sequence[CloudBackupScheduleCopySettingArgs]] = None,
export: Optional[CloudBackupScheduleExportArgs] = None,
policy_item_daily: Optional[CloudBackupSchedulePolicyItemDailyArgs] = None,
policy_item_hourly: Optional[CloudBackupSchedulePolicyItemHourlyArgs] = None,
policy_item_monthlies: Optional[Sequence[CloudBackupSchedulePolicyItemMonthlyArgs]] = None,
policy_item_weeklies: Optional[Sequence[CloudBackupSchedulePolicyItemWeeklyArgs]] = None,
project_id: Optional[str] = None,
reference_hour_of_day: Optional[int] = None,
reference_minute_of_hour: Optional[int] = None,
restore_window_days: Optional[int] = None,
update_snapshots: Optional[bool] = None,
use_org_and_group_names_in_export_prefix: Optional[bool] = None)
@overload
def CloudBackupSchedule(resource_name: str,
args: CloudBackupScheduleArgs,
opts: Optional[ResourceOptions] = None)
func NewCloudBackupSchedule(ctx *Context, name string, args CloudBackupScheduleArgs, opts ...ResourceOption) (*CloudBackupSchedule, error)
public CloudBackupSchedule(string name, CloudBackupScheduleArgs args, CustomResourceOptions? opts = null)
public CloudBackupSchedule(String name, CloudBackupScheduleArgs args)
public CloudBackupSchedule(String name, CloudBackupScheduleArgs args, CustomResourceOptions options)
type: mongodbatlas:CloudBackupSchedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudBackupScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CloudBackupScheduleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CloudBackupScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudBackupScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudBackupScheduleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CloudBackupSchedule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CloudBackupSchedule resource accepts the following input properties:
- Cluster
Name string The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- 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:
- Copy
Settings List<CloudBackup Schedule Copy Setting Args> - Export
Cloud
Backup Schedule Export Args - Policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- Policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- Policy
Item List<CloudMonthlies Backup Schedule Policy Item Monthly Args> Monthly policy item
- Policy
Item List<CloudWeeklies Backup Schedule Policy Item Weekly Args> Weekly policy item
- Reference
Hour intOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- Reference
Minute intOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- Restore
Window intDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- Update
Snapshots bool Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- Cluster
Name string The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- 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:
- Copy
Settings []CloudBackup Schedule Copy Setting Args - Export
Cloud
Backup Schedule Export Args - Policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- Policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- Policy
Item []CloudMonthlies Backup Schedule Policy Item Monthly Args Monthly policy item
- Policy
Item []CloudWeeklies Backup Schedule Policy Item Weekly Args Weekly policy item
- Reference
Hour intOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- Reference
Minute intOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- Restore
Window intDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- Update
Snapshots bool Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- cluster
Name String The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- project
Id String The unique identifier of the project for the Atlas cluster.
- 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:
- copy
Settings List<CloudBackup Schedule Copy Setting Args> - export
Cloud
Backup Schedule Export Args - policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- policy
Item List<CloudMonthlies Backup Schedule Policy Item Monthly Args> Monthly policy item
- policy
Item List<CloudWeeklies Backup Schedule Policy Item Weekly Args> Weekly policy item
- reference
Hour IntegerOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference
Minute IntegerOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore
Window IntegerDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update
Snapshots Boolean Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- cluster
Name string The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- project
Id string The unique identifier of the project for the Atlas cluster.
- 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:
- copy
Settings CloudBackup Schedule Copy Setting Args[] - export
Cloud
Backup Schedule Export Args - policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- policy
Item CloudMonthlies Backup Schedule Policy Item Monthly Args[] Monthly policy item
- policy
Item CloudWeeklies Backup Schedule Policy Item Weekly Args[] Weekly policy item
- reference
Hour numberOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference
Minute numberOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore
Window numberDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update
Snapshots boolean Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- cluster_
name str The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- project_
id str The unique identifier of the project for the Atlas cluster.
- 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:
- copy_
settings Sequence[CloudBackup Schedule Copy Setting Args] - export
Cloud
Backup Schedule Export Args - policy_
item_ Clouddaily Backup Schedule Policy Item Daily Args Daily policy item
- policy_
item_ Cloudhourly Backup Schedule Policy Item Hourly Args Hourly policy item
- policy_
item_ Sequence[Cloudmonthlies Backup Schedule Policy Item Monthly Args] Monthly policy item
- policy_
item_ Sequence[Cloudweeklies Backup Schedule Policy Item Weekly Args] Weekly policy item
- reference_
hour_ intof_ day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference_
minute_ intof_ hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore_
window_ intdays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update_
snapshots bool Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- cluster
Name String The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- project
Id String The unique identifier of the project for the Atlas cluster.
- 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:
- copy
Settings List<Property Map> - export Property Map
- policy
Item Property MapDaily Daily policy item
- policy
Item Property MapHourly Hourly policy item
- policy
Item List<Property Map>Monthlies Monthly policy item
- policy
Item List<Property Map>Weeklies Weekly policy item
- reference
Hour NumberOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference
Minute NumberOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore
Window NumberDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update
Snapshots Boolean Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudBackupSchedule resource produces the following output properties:
- Cluster
Id string Unique identifier of the Atlas cluster.
- Id string
The provider-assigned unique ID for this managed resource.
- Id
Policy string Unique identifier of the backup policy.
- Next
Snapshot string Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- Cluster
Id string Unique identifier of the Atlas cluster.
- Id string
The provider-assigned unique ID for this managed resource.
- Id
Policy string Unique identifier of the backup policy.
- Next
Snapshot string Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- cluster
Id String Unique identifier of the Atlas cluster.
- id String
The provider-assigned unique ID for this managed resource.
- id
Policy String Unique identifier of the backup policy.
- next
Snapshot String Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- cluster
Id string Unique identifier of the Atlas cluster.
- id string
The provider-assigned unique ID for this managed resource.
- id
Policy string Unique identifier of the backup policy.
- next
Snapshot string Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- cluster_
id str Unique identifier of the Atlas cluster.
- id str
The provider-assigned unique ID for this managed resource.
- id_
policy str Unique identifier of the backup policy.
- next_
snapshot str Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- cluster
Id String Unique identifier of the Atlas cluster.
- id String
The provider-assigned unique ID for this managed resource.
- id
Policy String Unique identifier of the backup policy.
- next
Snapshot String Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
Look up Existing CloudBackupSchedule Resource
Get an existing CloudBackupSchedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudBackupScheduleState, opts?: CustomResourceOptions): CloudBackupSchedule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_export_enabled: Optional[bool] = None,
cluster_id: Optional[str] = None,
cluster_name: Optional[str] = None,
copy_settings: Optional[Sequence[CloudBackupScheduleCopySettingArgs]] = None,
export: Optional[CloudBackupScheduleExportArgs] = None,
id_policy: Optional[str] = None,
next_snapshot: Optional[str] = None,
policy_item_daily: Optional[CloudBackupSchedulePolicyItemDailyArgs] = None,
policy_item_hourly: Optional[CloudBackupSchedulePolicyItemHourlyArgs] = None,
policy_item_monthlies: Optional[Sequence[CloudBackupSchedulePolicyItemMonthlyArgs]] = None,
policy_item_weeklies: Optional[Sequence[CloudBackupSchedulePolicyItemWeeklyArgs]] = None,
project_id: Optional[str] = None,
reference_hour_of_day: Optional[int] = None,
reference_minute_of_hour: Optional[int] = None,
restore_window_days: Optional[int] = None,
update_snapshots: Optional[bool] = None,
use_org_and_group_names_in_export_prefix: Optional[bool] = None) -> CloudBackupSchedule
func GetCloudBackupSchedule(ctx *Context, name string, id IDInput, state *CloudBackupScheduleState, opts ...ResourceOption) (*CloudBackupSchedule, error)
public static CloudBackupSchedule Get(string name, Input<string> id, CloudBackupScheduleState? state, CustomResourceOptions? opts = null)
public static CloudBackupSchedule get(String name, Output<String> id, CloudBackupScheduleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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:
- Cluster
Id string Unique identifier of the Atlas cluster.
- Cluster
Name string The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- Copy
Settings List<CloudBackup Schedule Copy Setting Args> - Export
Cloud
Backup Schedule Export Args - Id
Policy string Unique identifier of the backup policy.
- Next
Snapshot string Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- Policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- Policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- Policy
Item List<CloudMonthlies Backup Schedule Policy Item Monthly Args> Monthly policy item
- Policy
Item List<CloudWeeklies Backup Schedule Policy Item Weekly Args> Weekly policy item
- Project
Id string The unique identifier of the project for the Atlas cluster.
- Reference
Hour intOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- Reference
Minute intOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- Restore
Window intDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- Update
Snapshots bool Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- 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:
- Cluster
Id string Unique identifier of the Atlas cluster.
- Cluster
Name string The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- Copy
Settings []CloudBackup Schedule Copy Setting Args - Export
Cloud
Backup Schedule Export Args - Id
Policy string Unique identifier of the backup policy.
- Next
Snapshot string Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- Policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- Policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- Policy
Item []CloudMonthlies Backup Schedule Policy Item Monthly Args Monthly policy item
- Policy
Item []CloudWeeklies Backup Schedule Policy Item Weekly Args Weekly policy item
- Project
Id string The unique identifier of the project for the Atlas cluster.
- Reference
Hour intOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- Reference
Minute intOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- Restore
Window intDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- Update
Snapshots bool Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- 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:
- cluster
Id String Unique identifier of the Atlas cluster.
- cluster
Name String The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- copy
Settings List<CloudBackup Schedule Copy Setting Args> - export
Cloud
Backup Schedule Export Args - id
Policy String Unique identifier of the backup policy.
- next
Snapshot String Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- policy
Item List<CloudMonthlies Backup Schedule Policy Item Monthly Args> Monthly policy item
- policy
Item List<CloudWeeklies Backup Schedule Policy Item Weekly Args> Weekly policy item
- project
Id String The unique identifier of the project for the Atlas cluster.
- reference
Hour IntegerOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference
Minute IntegerOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore
Window IntegerDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update
Snapshots Boolean Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- 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:
- cluster
Id string Unique identifier of the Atlas cluster.
- cluster
Name string The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- copy
Settings CloudBackup Schedule Copy Setting Args[] - export
Cloud
Backup Schedule Export Args - id
Policy string Unique identifier of the backup policy.
- next
Snapshot string Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- policy
Item CloudDaily Backup Schedule Policy Item Daily Args Daily policy item
- policy
Item CloudHourly Backup Schedule Policy Item Hourly Args Hourly policy item
- policy
Item CloudMonthlies Backup Schedule Policy Item Monthly Args[] Monthly policy item
- policy
Item CloudWeeklies Backup Schedule Policy Item Weekly Args[] Weekly policy item
- project
Id string The unique identifier of the project for the Atlas cluster.
- reference
Hour numberOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference
Minute numberOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore
Window numberDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update
Snapshots boolean Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- 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:
- cluster_
id str Unique identifier of the Atlas cluster.
- cluster_
name str The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- copy_
settings Sequence[CloudBackup Schedule Copy Setting Args] - export
Cloud
Backup Schedule Export Args - id_
policy str Unique identifier of the backup policy.
- next_
snapshot str Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- policy_
item_ Clouddaily Backup Schedule Policy Item Daily Args Daily policy item
- policy_
item_ Cloudhourly Backup Schedule Policy Item Hourly Args Hourly policy item
- policy_
item_ Sequence[Cloudmonthlies Backup Schedule Policy Item Monthly Args] Monthly policy item
- policy_
item_ Sequence[Cloudweeklies Backup Schedule Policy Item Weekly Args] Weekly policy item
- project_
id str The unique identifier of the project for the Atlas cluster.
- reference_
hour_ intof_ day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference_
minute_ intof_ hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore_
window_ intdays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update_
snapshots bool Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
- 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:
- cluster
Id String Unique identifier of the Atlas cluster.
- cluster
Name String The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
- copy
Settings List<Property Map> - export Property Map
- id
Policy String Unique identifier of the backup policy.
- next
Snapshot String Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
- policy
Item Property MapDaily Daily policy item
- policy
Item Property MapHourly Hourly policy item
- policy
Item List<Property Map>Monthlies Monthly policy item
- policy
Item List<Property Map>Weeklies Weekly policy item
- project
Id String The unique identifier of the project for the Atlas cluster.
- reference
Hour NumberOf Day UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
- reference
Minute NumberOf Hour UTC Minutes after
reference_hour_of_day
that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.- restore
Window NumberDays Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
- update
Snapshots Boolean Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
- 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.
Supporting Types
CloudBackupScheduleCopySetting
- 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" "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, do a GET request to Return One Cluster in One Project and consult the replicationSpecs array https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#operation/returnOneCluster
- 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.
- 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" "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, do a GET request to Return One Cluster in One Project and consult the replicationSpecs array https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#operation/returnOneCluster
- 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.
- 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" "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, do a GET request to Return One Cluster in One Project and consult the replicationSpecs array https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#operation/returnOneCluster
- 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.
- 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" "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, do a GET request to Return One Cluster in One Project and consult the replicationSpecs array https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#operation/returnOneCluster
- 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.
- 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" "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, do a GET request to Return One Cluster in One Project and consult the replicationSpecs array https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#operation/returnOneCluster
- 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.
- 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" "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, do a GET request to Return One Cluster in One Project and consult the replicationSpecs array https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#operation/returnOneCluster
- 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.
CloudBackupScheduleExport
- Export
Bucket stringId Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- Frequency
Type string Frequency associated with the export snapshot item.
- Export
Bucket stringId Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- Frequency
Type string Frequency associated with the export snapshot item.
- export
Bucket StringId Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- frequency
Type String Frequency associated with the export snapshot item.
- export
Bucket stringId Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- frequency
Type string Frequency associated with the export snapshot item.
- export_
bucket_ strid Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- frequency_
type str Frequency associated with the export snapshot item.
- export
Bucket StringId Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
- frequency
Type String Frequency associated with the export snapshot item.
CloudBackupSchedulePolicyItemDaily
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(daily in this case). The only supported value for daily policies is1
day.- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the hourly policy item specifies a retention of two days, the daily retention policy must specify two days or greater.- Frequency
Type string Frequency associated with the backup policy item. For daily policies, the frequency type is defined as
daily
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(daily in this case). The only supported value for daily policies is1
day.- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the hourly policy item specifies a retention of two days, the daily retention policy must specify two days or greater.- Frequency
Type string Frequency associated with the backup policy item. For daily policies, the frequency type is defined as
daily
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(daily in this case). The only supported value for daily policies is1
day.- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the hourly policy item specifies a retention of two days, the daily retention policy must specify two days or greater.- frequency
Type String Frequency associated with the backup policy item. For daily policies, the frequency type is defined as
daily
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(daily in this case). The only supported value for daily policies is1
day.- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the hourly policy item specifies a retention of two days, the daily retention policy must specify two days or greater.- frequency
Type string Frequency associated with the backup policy item. For daily policies, the frequency type is defined as
daily
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(daily in this case). The only supported value for daily policies is1
day.- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the hourly policy item specifies a retention of two days, the daily retention policy must specify two days or greater.- frequency_
type str Frequency associated with the backup policy item. For daily policies, the frequency type is defined as
daily
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(daily in this case). The only supported value for daily policies is1
day.- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the hourly policy item specifies a retention of two days, the daily retention policy must specify two days or greater.- frequency
Type String Frequency associated with the backup policy item. For daily policies, the frequency type is defined as
daily
. 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.
CloudBackupSchedulePolicyItemHourly
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(hourly in this case). The supported values for hourly policies are1
,2
,4
,6
,8
or12
hours. Note that12
hours is the only accepted value for NVMe clusters.- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
.- Frequency
Type string Frequency associated with the backup policy item. For hourly policies, the frequency type is defined as
hourly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(hourly in this case). The supported values for hourly policies are1
,2
,4
,6
,8
or12
hours. Note that12
hours is the only accepted value for NVMe clusters.- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
.- Frequency
Type string Frequency associated with the backup policy item. For hourly policies, the frequency type is defined as
hourly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(hourly in this case). The supported values for hourly policies are1
,2
,4
,6
,8
or12
hours. Note that12
hours is the only accepted value for NVMe clusters.- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
.- frequency
Type String Frequency associated with the backup policy item. For hourly policies, the frequency type is defined as
hourly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(hourly in this case). The supported values for hourly policies are1
,2
,4
,6
,8
or12
hours. Note that12
hours is the only accepted value for NVMe clusters.- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
.- frequency
Type string Frequency associated with the backup policy item. For hourly policies, the frequency type is defined as
hourly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(hourly in this case). The supported values for hourly policies are1
,2
,4
,6
,8
or12
hours. Note that12
hours is the only accepted value for NVMe clusters.- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
.- frequency_
type str Frequency associated with the backup policy item. For hourly policies, the frequency type is defined as
hourly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(hourly in this case). The supported values for hourly policies are1
,2
,4
,6
,8
or12
hours. Note that12
hours is the only accepted value for NVMe clusters.- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
.- frequency
Type String Frequency associated with the backup policy item. For hourly policies, the frequency type is defined as
hourly
. 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.
CloudBackupSchedulePolicyItemMonthly
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type string Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency_
type str Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(monthly in this case). The supported values for weekly policies are- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as
monthly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
CloudBackupSchedulePolicyItemWeekly
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(weekly in this case). The supported values for weekly policies are1
through7
, where1
represents Monday and7
represents Sunday.- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Weekly policy must have retention of at least 7 days or 1 week. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the daily policy item specifies a retention of two weeks, the weekly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For weekly policies, the frequency type is defined as
weekly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- Frequency
Interval int Desired frequency of the new backup policy item specified by
frequency_type
(weekly in this case). The supported values for weekly policies are1
through7
, where1
represents Monday and7
represents Sunday.- Retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- Retention
Value int Value to associate with
retention_unit
. Weekly policy must have retention of at least 7 days or 1 week. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the daily policy item specifies a retention of two weeks, the weekly retention policy must specify two weeks or greater.- Frequency
Type string Frequency associated with the backup policy item. For weekly policies, the frequency type is defined as
weekly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- Id string
Unique identifier of the backup policy item.
- frequency
Interval Integer Desired frequency of the new backup policy item specified by
frequency_type
(weekly in this case). The supported values for weekly policies are1
through7
, where1
represents Monday and7
represents Sunday.- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Integer Value to associate with
retention_unit
. Weekly policy must have retention of at least 7 days or 1 week. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the daily policy item specifies a retention of two weeks, the weekly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For weekly policies, the frequency type is defined as
weekly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
- frequency
Interval number Desired frequency of the new backup policy item specified by
frequency_type
(weekly in this case). The supported values for weekly policies are1
through7
, where1
represents Monday and7
represents Sunday.- retention
Unit string Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value number Value to associate with
retention_unit
. Weekly policy must have retention of at least 7 days or 1 week. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the daily policy item specifies a retention of two weeks, the weekly retention policy must specify two weeks or greater.- frequency
Type string Frequency associated with the backup policy item. For weekly policies, the frequency type is defined as
weekly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id string
Unique identifier of the backup policy item.
- frequency_
interval int Desired frequency of the new backup policy item specified by
frequency_type
(weekly in this case). The supported values for weekly policies are1
through7
, where1
represents Monday and7
represents Sunday.- retention_
unit str Scope of the backup policy item:
days
,weeks
, ormonths
.- retention_
value int Value to associate with
retention_unit
. Weekly policy must have retention of at least 7 days or 1 week. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the daily policy item specifies a retention of two weeks, the weekly retention policy must specify two weeks or greater.- frequency_
type str Frequency associated with the backup policy item. For weekly policies, the frequency type is defined as
weekly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id str
Unique identifier of the backup policy item.
- frequency
Interval Number Desired frequency of the new backup policy item specified by
frequency_type
(weekly in this case). The supported values for weekly policies are1
through7
, where1
represents Monday and7
represents Sunday.- retention
Unit String Scope of the backup policy item:
days
,weeks
, ormonths
.- retention
Value Number Value to associate with
retention_unit
. Weekly policy must have retention of at least 7 days or 1 week. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the daily policy item specifies a retention of two weeks, the weekly retention policy must specify two weeks or greater.- frequency
Type String Frequency associated with the backup policy item. For weekly policies, the frequency type is defined as
weekly
. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.- id String
Unique identifier of the backup policy item.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.