GetCloudProviderSnapshots
mongodbatlas..getCloudProviderSnapshots provides an Cloud Provider Snapshot entry datasource. Atlas Cloud Provider Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service provider.
NOTE: Groups and projects are synonymous terms. You may find
groupIdin the official documentation.
Using GetCloudProviderSnapshots
function getCloudProviderSnapshots(args: GetCloudProviderSnapshotsArgs, opts?: InvokeOptions): Promise<GetCloudProviderSnapshotsResult>function get_cloud_provider_snapshots(cluster_name=None, project_id=None, opts=None)func GetCloudProviderSnapshots(ctx *Context, args *GetCloudProviderSnapshotsArgs, opts ...InvokeOption) (*GetCloudProviderSnapshotsResult, error)public static class GetCloudProviderSnapshots {
public static Task<GetCloudProviderSnapshotsResult> InvokeAsync(GetCloudProviderSnapshotsArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Cluster
Name string The name of the Atlas cluster that contains the snapshot you want to retrieve.
- Project
Id string
- Cluster
Name string The name of the Atlas cluster that contains the snapshot you want to retrieve.
- Project
Id string
- cluster
Name string The name of the Atlas cluster that contains the snapshot you want to retrieve.
- project
Id string
- cluster_
name str The name of the Atlas cluster that contains the snapshot you want to retrieve.
- project_
id str
GetCloudProviderSnapshots Result
The following output properties are available:
- Cluster
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Project
Id string - Results
List<Get
Cloud Provider Snapshots Result> Includes cloudProviderSnapshot object for each item detailed in the results array section.
- Total
Count int
- Cluster
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Project
Id string - Results
[]Get
Cloud Provider Snapshots Result Type Includes cloudProviderSnapshot object for each item detailed in the results array section.
- Total
Count int
- cluster
Name string - id string
The provider-assigned unique ID for this managed resource.
- project
Id string - results
Get
Cloud Provider Snapshots Result[] Includes cloudProviderSnapshot object for each item detailed in the results array section.
- total
Count number
- cluster_
name str - id str
The provider-assigned unique ID for this managed resource.
- project_
id str - results
List[Get
Cloud Provider Snapshots Result] Includes cloudProviderSnapshot object for each item detailed in the results array section.
- total_
count float
Supporting Types
GetCloudProviderSnapshotsResult
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Created
At string UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- Description string
UDescription of the snapshot. Only present for on-demand snapshots.
- Expires
At string UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- Id string
Unique identifier of the snapshot.
- Master
Key stringUuid Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
- Mongod
Version string Version of the MongoDB server.
- Snapshot
Type string Specified the type of snapshot. Valid values are onDemand and scheduled.
- Status string
Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.
- Storage
Size intBytes Specifies the size of the snapshot in bytes.
- Type string
Specifies the type of cluster: replicaSet or shardedCluster.
- Created
At string UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- Description string
UDescription of the snapshot. Only present for on-demand snapshots.
- Expires
At string UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- Id string
Unique identifier of the snapshot.
- Master
Key stringUuid Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
- Mongod
Version string Version of the MongoDB server.
- Snapshot
Type string Specified the type of snapshot. Valid values are onDemand and scheduled.
- Status string
Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.
- Storage
Size intBytes Specifies the size of the snapshot in bytes.
- Type string
Specifies the type of cluster: replicaSet or shardedCluster.
- created
At string UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- description string
UDescription of the snapshot. Only present for on-demand snapshots.
- expires
At string UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- id string
Unique identifier of the snapshot.
- master
Key stringUuid Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
- mongod
Version string Version of the MongoDB server.
- snapshot
Type string Specified the type of snapshot. Valid values are onDemand and scheduled.
- status string
Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.
- storage
Size numberBytes Specifies the size of the snapshot in bytes.
- type string
Specifies the type of cluster: replicaSet or shardedCluster.
- created_
at str UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- description str
UDescription of the snapshot. Only present for on-demand snapshots.
- expires_
at str UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- id str
Unique identifier of the snapshot.
- master_
key_ struuid Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
- mongod_
version str Version of the MongoDB server.
- snapshot_
type str Specified the type of snapshot. Valid values are onDemand and scheduled.
- status str
Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.
- storage_
size_ floatbytes Specifies the size of the snapshot in bytes.
- type str
Specifies the type of cluster: replicaSet or shardedCluster.
Package Details
- Repository
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.