Class CloudProviderSnapshotBackupPolicyState
Inherited Members
Namespace: Pulumi.Mongodbatlas
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public sealed class CloudProviderSnapshotBackupPolicyState : ResourceArgs
Constructors
View SourceCloudProviderSnapshotBackupPolicyState()
Declaration
public CloudProviderSnapshotBackupPolicyState()
Properties
View SourceClusterId
Unique identifier of the Atlas cluster.
Declaration
public Input<string> ClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ClusterName
The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
Declaration
public Input<string> ClusterName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NextSnapshot
Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
Declaration
public Input<string> NextSnapshot { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Policies
Contains a document for each backup policy item in the desired updated backup policy.
policies.#.id- (Required) Unique identifier of the backup policy that you want to update. policies.#.id is a value obtained via the mongodbatlas..Cluster resource. provider_backup_enabled of the mongodbatlas..Cluster resource must be set to true. See the example above for how to refer to the mongodbatlas..Cluster resource for policies.#.id
Declaration
public InputList<CloudProviderSnapshotBackupPolicyPolicyGetArgs> Policies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<CloudProviderSnapshotBackupPolicyPolicyGetArgs> |
ProjectId
The unique identifier of the project for the Atlas cluster.
Declaration
public Input<string> ProjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ReferenceHourOfDay
UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
Declaration
public Input<int> ReferenceHourOfDay { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ReferenceMinuteOfHour
UTC Minutes after referenceHourOfDay that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.
Declaration
public Input<int> ReferenceMinuteOfHour { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
RestoreWindowDays
Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
Declaration
public Input<int> RestoreWindowDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
UpdateSnapshots
Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
Declaration
public Input<bool> UpdateSnapshots { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |