published on Friday, Aug 28, 2026 by Pulumi
published on Friday, Aug 28, 2026 by Pulumi
mongodbatlas.getCloudBackupSnapshotDatabases describes the databases contained in a Cloud Backup snapshot. Use this data source to discover namespaces before creating a collection restore job. Point-in-time restores have no snapshot ID, so this data source does not apply to PIT restores.
To use this data source, the requesting Service Account or API Key must have the Backup Manager or Project Owner role.
Using getCloudBackupSnapshotDatabases
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudBackupSnapshotDatabases(args: GetCloudBackupSnapshotDatabasesArgs, opts?: InvokeOptions): Promise<GetCloudBackupSnapshotDatabasesResult>
function getCloudBackupSnapshotDatabasesOutput(args: GetCloudBackupSnapshotDatabasesOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudBackupSnapshotDatabasesResult>def get_cloud_backup_snapshot_databases(cluster_name: Optional[str] = None,
project_id: Optional[str] = None,
snapshot_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudBackupSnapshotDatabasesResult
def get_cloud_backup_snapshot_databases_output(cluster_name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
snapshot_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudBackupSnapshotDatabasesResult]func LookupCloudBackupSnapshotDatabases(ctx *Context, args *LookupCloudBackupSnapshotDatabasesArgs, opts ...InvokeOption) (*LookupCloudBackupSnapshotDatabasesResult, error)
func LookupCloudBackupSnapshotDatabasesOutput(ctx *Context, args *LookupCloudBackupSnapshotDatabasesOutputArgs, opts ...InvokeOption) LookupCloudBackupSnapshotDatabasesResultOutput> Note: This function is named LookupCloudBackupSnapshotDatabases in the Go SDK.
public static class GetCloudBackupSnapshotDatabases
{
public static Task<GetCloudBackupSnapshotDatabasesResult> InvokeAsync(GetCloudBackupSnapshotDatabasesArgs args, InvokeOptions? opts = null)
public static Output<GetCloudBackupSnapshotDatabasesResult> Invoke(GetCloudBackupSnapshotDatabasesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudBackupSnapshotDatabasesResult> Invoke(GetCloudBackupSnapshotDatabasesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudBackupSnapshotDatabasesResult> getCloudBackupSnapshotDatabases(GetCloudBackupSnapshotDatabasesArgs args, InvokeOptions options)
public static Output<GetCloudBackupSnapshotDatabasesResult> getCloudBackupSnapshotDatabases(GetCloudBackupSnapshotDatabasesArgs args, InvokeOptions options)
public static Output<GetCloudBackupSnapshotDatabasesResult> getCloudBackupSnapshotDatabases(GetCloudBackupSnapshotDatabasesArgs args, InvokeOutputOptions options)
fn::invoke:
function: mongodbatlas:index/getCloudBackupSnapshotDatabases:getCloudBackupSnapshotDatabases
arguments:
# arguments dictionarydata "mongodbatlas_get_cloud_backup_snapshot_databases" "name" {
# arguments
}The following arguments are supported:
- Cluster
Name string - Human-readable label that identifies the cluster.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Snapshot
Id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- Cluster
Name string - Human-readable label that identifies the cluster.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Snapshot
Id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster_
name string - Human-readable label that identifies the cluster.
- project_
id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - snapshot_
id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster
Name String - Human-readable label that identifies the cluster.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - snapshot
Id String - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster
Name string - Human-readable label that identifies the cluster.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - snapshot
Id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster_
name str - Human-readable label that identifies the cluster.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - snapshot_
id str - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster
Name String - Human-readable label that identifies the cluster.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - snapshot
Id String - Unique 24-hexadecimal digit string that identifies the desired snapshot.
getCloudBackupSnapshotDatabases Result
The following output properties are available:
- Cluster
Name string - Human-readable label that identifies the cluster.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Results
List<Get
Cloud Backup Snapshot Databases Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- Snapshot
Id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- Cluster
Name string - Human-readable label that identifies the cluster.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Results
[]Get
Cloud Backup Snapshot Databases Result - List of returned documents that MongoDB Cloud provides when completing this request.
- Snapshot
Id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster_
name string - Human-readable label that identifies the cluster.
- project_
id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results list(object)
- List of returned documents that MongoDB Cloud provides when completing this request.
- snapshot_
id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster
Name String - Human-readable label that identifies the cluster.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
List<Get
Cloud Backup Snapshot Databases Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- snapshot
Id String - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster
Name string - Human-readable label that identifies the cluster.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
Get
Cloud Backup Snapshot Databases Result[] - List of returned documents that MongoDB Cloud provides when completing this request.
- snapshot
Id string - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster_
name str - Human-readable label that identifies the cluster.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
Sequence[Get
Cloud Backup Snapshot Databases Result] - List of returned documents that MongoDB Cloud provides when completing this request.
- snapshot_
id str - Unique 24-hexadecimal digit string that identifies the desired snapshot.
- cluster
Name String - Human-readable label that identifies the cluster.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results List<Property Map>
- List of returned documents that MongoDB Cloud provides when completing this request.
- snapshot
Id String - Unique 24-hexadecimal digit string that identifies the desired snapshot.
Supporting Types
GetCloudBackupSnapshotDatabasesResult
- Name string
- Human-readable label that identifies the database within the snapshot.
- Name string
- Human-readable label that identifies the database within the snapshot.
- name string
- Human-readable label that identifies the database within the snapshot.
- name String
- Human-readable label that identifies the database within the snapshot.
- name string
- Human-readable label that identifies the database within the snapshot.
- name str
- Human-readable label that identifies the database within the snapshot.
- name String
- Human-readable label that identifies the database within the snapshot.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
published on Friday, Aug 28, 2026 by Pulumi