Class CloudProviderSnapshotBackupPolicyArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Mongodbatlas
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public sealed class CloudProviderSnapshotBackupPolicyArgs : ResourceArgs
Constructors
View SourceCloudProviderSnapshotBackupPolicyArgs()
Declaration
public CloudProviderSnapshotBackupPolicyArgs()
Properties
View SourceClusterName
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> |
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<CloudProviderSnapshotBackupPolicyPolicyArgs> Policies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<CloudProviderSnapshotBackupPolicyPolicyArgs> |
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> |