GetCloudProviderSnapshotBackupPolicy
mongodbatlas..CloudProviderSnapshotBackupPolicy provides a Cloud Provider Snapshot Backup Policy entry datasource. An Atlas Cloud Provider Snapshot Backup Policy provides the current snapshot schedule and retention settings for the cluster.
NOTE: Groups and projects are synonymous terms. You may find
groupIdin the official documentation.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Using GetCloudProviderSnapshotBackupPolicy
function getCloudProviderSnapshotBackupPolicy(args: GetCloudProviderSnapshotBackupPolicyArgs, opts?: InvokeOptions): Promise<GetCloudProviderSnapshotBackupPolicyResult>function get_cloud_provider_snapshot_backup_policy(cluster_name=None, project_id=None, opts=None)func LookupCloudProviderSnapshotBackupPolicy(ctx *Context, args *LookupCloudProviderSnapshotBackupPolicyArgs, opts ...InvokeOption) (*LookupCloudProviderSnapshotBackupPolicyResult, error)Note: This function is named
LookupCloudProviderSnapshotBackupPolicyin the Go SDK.
public static class GetCloudProviderSnapshotBackupPolicy {
public static Task<GetCloudProviderSnapshotBackupPolicyResult> InvokeAsync(GetCloudProviderSnapshotBackupPolicyArgs args, InvokeOptions? opts = null)
}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.
- 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.
- 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.
- 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.
GetCloudProviderSnapshotBackupPolicy Result
The following output properties are available:
- Cluster
Id string Unique identifier of the Atlas cluster.
- Cluster
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Next
Snapshot string UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- Policies
List<Get
Cloud Provider Snapshot Backup Policy Policy> A list of policy definitions for the cluster. *
policies.#.id- Unique identifier of the backup policy.- 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 referenceHourOfDay that Atlas takes the snapshot.
- Restore
Window intDays Specifies a restore window in days for the cloud provider backup to maintain.
- Update
Snapshots bool
- Cluster
Id string Unique identifier of the Atlas cluster.
- Cluster
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Next
Snapshot string UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- Policies
[]Get
Cloud Provider Snapshot Backup Policy Policy A list of policy definitions for the cluster. *
policies.#.id- Unique identifier of the backup policy.- 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 referenceHourOfDay that Atlas takes the snapshot.
- Restore
Window intDays Specifies a restore window in days for the cloud provider backup to maintain.
- Update
Snapshots bool
- cluster
Id string Unique identifier of the Atlas cluster.
- cluster
Name string - id string
The provider-assigned unique ID for this managed resource.
- next
Snapshot string UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- policies
Get
Cloud Provider Snapshot Backup Policy Policy[] A list of policy definitions for the cluster. *
policies.#.id- Unique identifier of the backup policy.- 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 referenceHourOfDay that Atlas takes the snapshot.
- restore
Window numberDays Specifies a restore window in days for the cloud provider backup to maintain.
- update
Snapshots boolean
- cluster_
id str Unique identifier of the Atlas cluster.
- cluster_
name str - id str
The provider-assigned unique ID for this managed resource.
- next_
snapshot str UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
- policies
List[Get
Cloud Provider Snapshot Backup Policy Policy] A list of policy definitions for the cluster. *
policies.#.id- Unique identifier of the backup policy.- project_
id str - reference_
hour_ floatof_ day UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
- reference_
minute_ floatof_ hour UTC Minute of day between 0 and 59 representing which minute of the referenceHourOfDay that Atlas takes the snapshot.
- restore_
window_ floatdays Specifies a restore window in days for the cloud provider backup to maintain.
- update_
snapshots bool
Supporting Types
GetCloudProviderSnapshotBackupPolicyPolicy
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetCloudProviderSnapshotBackupPolicyPolicyPolicyItem
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.