published on Friday, Aug 28, 2026 by Pulumi
published on Friday, Aug 28, 2026 by Pulumi
mongodbatlas.getCloudBackupCollectionRestoreJobs describes all collection restore jobs for a cluster.
To use this data source, the requesting Service Account or API Key must have the Backup Manager or Project Owner role.
Example Usage
The following example lists collection restore jobs on a cluster, then reads one job by jobId. When jobId is omitted, the example defaults to the last job from the plural data source.
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
import * as std from "@pulumi/std";
export = async () => {
// Read back collection restore jobs on a cluster without creating a new job.
const _this = await mongodbatlas.getCloudBackupCollectionRestoreJobs({
projectId: projectId,
clusterName: clusterName,
});
const jobs = std.coalesce({
input: [
_this.results,
[],
],
}).result;
const jobId = std.coalesce({
input: [
jobIdConfig,
jobs.length > 0 ? jobs[jobs.length - 1].jobId : null,
],
}).result;
const thisGetCloudBackupCollectionRestoreJob = await mongodbatlas.getCloudBackupCollectionRestoreJob({
projectId: projectId,
clusterName: clusterName,
jobId: jobId,
});
return {
restoreJobs: .map(j => ({
jobId: j.jobId,
state: j.state,
createdAt: j.createdAt,
})),
jobId: jobId,
jobState: thisGetCloudBackupCollectionRestoreJob.state,
};
}
import pulumi
import pulumi_mongodbatlas as mongodbatlas
import pulumi_std as std
# Read back collection restore jobs on a cluster without creating a new job.
this = mongodbatlas.get_cloud_backup_collection_restore_jobs(project_id=project_id,
cluster_name=cluster_name)
jobs = std.coalesce(input=[
this.results,
[],
])["result"]
job_id = std.coalesce(input=[
job_id_config,
jobs[len(jobs) - 1]["jobId"] if len(jobs) > 0 else None,
])["result"]
pulumi.export("restoreJobs", [{
"jobId": j["jobId"],
"state": j["state"],
"createdAt": j["createdAt"],
} for j in jobs])
pulumi.export("jobId", job_id)
this_get_cloud_backup_collection_restore_job = mongodbatlas.get_cloud_backup_collection_restore_job(project_id=project_id,
cluster_name=cluster_name,
job_id=job_id)
pulumi.export("jobState", this_get_cloud_backup_collection_restore_job.state)
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
// Read back collection restore jobs on a cluster without creating a new job.
var @this = Mongodbatlas.GetCloudBackupCollectionRestoreJobs.Invoke(new()
{
ProjectId = projectId,
ClusterName = clusterName,
});
var jobs = Std.Coalesce.Invoke(new()
{
Input = new[]
{
@this.Apply(@this => @this.Apply(getCloudBackupCollectionRestoreJobsResult => getCloudBackupCollectionRestoreJobsResult.Results)),
new[] {},
},
}).Result;
var jobId = Std.Coalesce.Invoke(new()
{
Input = new[]
{
jobIdConfig,
jobs.Length > 0 ? jobs[jobs.Length - 1].JobId : null,
},
}).Result;
var thisGetCloudBackupCollectionRestoreJob = Mongodbatlas.GetCloudBackupCollectionRestoreJob.Invoke(new()
{
ProjectId = projectId,
ClusterName = clusterName,
JobId = jobId,
});
return new Dictionary<string, object?>
{
["restoreJobs"] = .Select(j =>
{
return
{
{ "jobId", j.JobId },
{ "state", j.State },
{ "createdAt", j.CreatedAt },
};
}).ToList(),
["jobId"] = jobId,
["jobState"] = thisGetCloudBackupCollectionRestoreJob.Apply(getCloudBackupCollectionRestoreJobResult => getCloudBackupCollectionRestoreJobResult.State),
};
});
Example coming soon!
Example coming soon!
pulumi {
required_providers {
mongodbatlas = {
source = "pulumi/mongodbatlas"
}
}
}
data "mongodbatlas_getcloudbackupcollectionrestorejobs" "this" {
project_id = projectId
cluster_name = clusterName
}
data "std_coalesce" "invoke_1" {
input = [data.mongodbatlas_getcloudbackupcollectionrestorejobs.this.results, []]
}
data "std_coalesce" "invoke_2" {
input = [jobIdConfig, length(local.jobs) > 0 ? local.jobs[length(local.jobs) - 1].job_id : null]
}
data "mongodbatlas_getcloudbackupcollectionrestorejob" "thisGetCloudBackupCollectionRestoreJob" {
project_id = projectId
cluster_name = clusterName
job_id = local.jobId
}
# Read back collection restore jobs on a cluster without creating a new job.
locals {
jobs = data.std_coalesce.invoke_1.result
}
locals {
jobId = data.std_coalesce.invoke_2.result
}
output "restoreJobs" {
value = [for j in local.jobs : {
"jobId" = j.jobId
"state" = j.state
"createdAt" = j.createdAt
} ]
}
output "jobId" {
value = local.jobId
}
output "jobState" {
value = data.mongodbatlas_getcloudbackupcollectionrestorejob.thisGetCloudBackupCollectionRestoreJob.state
}
Further Examples
- Restore job inspection
- Snapshot restore
- Point-in-time restore
- Snapshot discovery
Using getCloudBackupCollectionRestoreJobs
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 getCloudBackupCollectionRestoreJobs(args: GetCloudBackupCollectionRestoreJobsArgs, opts?: InvokeOptions): Promise<GetCloudBackupCollectionRestoreJobsResult>
function getCloudBackupCollectionRestoreJobsOutput(args: GetCloudBackupCollectionRestoreJobsOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudBackupCollectionRestoreJobsResult>def get_cloud_backup_collection_restore_jobs(cluster_name: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudBackupCollectionRestoreJobsResult
def get_cloud_backup_collection_restore_jobs_output(cluster_name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudBackupCollectionRestoreJobsResult]func LookupCloudBackupCollectionRestoreJobs(ctx *Context, args *LookupCloudBackupCollectionRestoreJobsArgs, opts ...InvokeOption) (*LookupCloudBackupCollectionRestoreJobsResult, error)
func LookupCloudBackupCollectionRestoreJobsOutput(ctx *Context, args *LookupCloudBackupCollectionRestoreJobsOutputArgs, opts ...InvokeOption) LookupCloudBackupCollectionRestoreJobsResultOutput> Note: This function is named LookupCloudBackupCollectionRestoreJobs in the Go SDK.
public static class GetCloudBackupCollectionRestoreJobs
{
public static Task<GetCloudBackupCollectionRestoreJobsResult> InvokeAsync(GetCloudBackupCollectionRestoreJobsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudBackupCollectionRestoreJobsResult> Invoke(GetCloudBackupCollectionRestoreJobsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudBackupCollectionRestoreJobsResult> Invoke(GetCloudBackupCollectionRestoreJobsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudBackupCollectionRestoreJobsResult> getCloudBackupCollectionRestoreJobs(GetCloudBackupCollectionRestoreJobsArgs args, InvokeOptions options)
public static Output<GetCloudBackupCollectionRestoreJobsResult> getCloudBackupCollectionRestoreJobs(GetCloudBackupCollectionRestoreJobsArgs args, InvokeOptions options)
public static Output<GetCloudBackupCollectionRestoreJobsResult> getCloudBackupCollectionRestoreJobs(GetCloudBackupCollectionRestoreJobsArgs args, InvokeOutputOptions options)
fn::invoke:
function: mongodbatlas:index/getCloudBackupCollectionRestoreJobs:getCloudBackupCollectionRestoreJobs
arguments:
# arguments dictionarydata "mongodbatlas_get_cloud_backup_collection_restore_jobs" "name" {
# arguments
}The following arguments are supported:
- Cluster
Name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- Cluster
Name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- cluster_
name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project_
id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- cluster
Name String - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- cluster
Name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- cluster_
name str - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- cluster
Name String - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
getCloudBackupCollectionRestoreJobs Result
The following output properties are available:
- Cluster
Name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Results
List<Get
Cloud Backup Collection Restore Jobs Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- Cluster
Name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Results
[]Get
Cloud Backup Collection Restore Jobs Result - List of returned documents that MongoDB Cloud provides when completing this request.
- cluster_
name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- 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.
- cluster
Name String - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
List<Get
Cloud Backup Collection Restore Jobs Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- cluster
Name string - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
Get
Cloud Backup Collection Restore Jobs Result[] - List of returned documents that MongoDB Cloud provides when completing this request.
- cluster_
name str - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
Sequence[Get
Cloud Backup Collection Restore Jobs Result] - List of returned documents that MongoDB Cloud provides when completing this request.
- cluster
Name String - Human-readable label that identifies the cluster with the collection restore jobs you want to return.
- 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.
Supporting Types
GetCloudBackupCollectionRestoreJobsResult
- Collection
Suffix string - Suffix applied to restored collection names.
- Collections
List<Get
Cloud Backup Collection Restore Jobs Result Collection> - List of collections in the restore scope (up to 100 items).
- Created
At string - Date and time when the restore job was created (ISO 8601 format in UTC).
- Database
Suffix string - Suffix applied to restored database names.
- Databases
List<Get
Cloud Backup Collection Restore Jobs Result Database> - List of databases in the restore scope (up to 100 items).
- Error
Message string - Error message when the job has failed or been canceled.
- Finished
At string - Date and time when the restore job finished (ISO 8601 format in UTC).
- Index
Status GetCloud Backup Collection Restore Jobs Result Index Status - Overall index build status for a collection restore job.
- Index
Strategy string - Strategy for restoring indexes (all, none, or all except TTL).
- Job
Id string - Unique 24-hexadecimal digit string that identifies the collection restore job.
- Oplog
Inc int - Oplog increment for point-in-time restore.
- Oplog
Ts int - Oplog timestamp (seconds part) for point-in-time restore.
- Point
In intTime Utc Seconds - Point-in-time restore time in seconds since UNIX epoch.
- Restored
Documents int - Number of documents restored so far across all supported collections.
- Snapshot
Id string - Unique 24-hexadecimal digit string that identifies the snapshot being restored.
- State string
- Current state of the collection restore job.
- Target
Cluster stringName - Human-readable label that identifies the target cluster.
- Target
Project stringId - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Total
Documents int - Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore.
- Write
Strategy string - Strategy for writing data on the target (create as new or overwrite existing). With
OVERWRITE_EXISTING, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore.
- Collection
Suffix string - Suffix applied to restored collection names.
- Collections
[]Get
Cloud Backup Collection Restore Jobs Result Collection - List of collections in the restore scope (up to 100 items).
- Created
At string - Date and time when the restore job was created (ISO 8601 format in UTC).
- Database
Suffix string - Suffix applied to restored database names.
- Databases
[]Get
Cloud Backup Collection Restore Jobs Result Database - List of databases in the restore scope (up to 100 items).
- Error
Message string - Error message when the job has failed or been canceled.
- Finished
At string - Date and time when the restore job finished (ISO 8601 format in UTC).
- Index
Status GetCloud Backup Collection Restore Jobs Result Index Status - Overall index build status for a collection restore job.
- Index
Strategy string - Strategy for restoring indexes (all, none, or all except TTL).
- Job
Id string - Unique 24-hexadecimal digit string that identifies the collection restore job.
- Oplog
Inc int - Oplog increment for point-in-time restore.
- Oplog
Ts int - Oplog timestamp (seconds part) for point-in-time restore.
- Point
In intTime Utc Seconds - Point-in-time restore time in seconds since UNIX epoch.
- Restored
Documents int - Number of documents restored so far across all supported collections.
- Snapshot
Id string - Unique 24-hexadecimal digit string that identifies the snapshot being restored.
- State string
- Current state of the collection restore job.
- Target
Cluster stringName - Human-readable label that identifies the target cluster.
- Target
Project stringId - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Total
Documents int - Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore.
- Write
Strategy string - Strategy for writing data on the target (create as new or overwrite existing). With
OVERWRITE_EXISTING, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore.
- collection_
suffix string - Suffix applied to restored collection names.
- collections list(object)
- List of collections in the restore scope (up to 100 items).
- created_
at string - Date and time when the restore job was created (ISO 8601 format in UTC).
- database_
suffix string - Suffix applied to restored database names.
- databases list(object)
- List of databases in the restore scope (up to 100 items).
- error_
message string - Error message when the job has failed or been canceled.
- finished_
at string - Date and time when the restore job finished (ISO 8601 format in UTC).
- index_
status object - Overall index build status for a collection restore job.
- index_
strategy string - Strategy for restoring indexes (all, none, or all except TTL).
- job_
id string - Unique 24-hexadecimal digit string that identifies the collection restore job.
- oplog_
inc number - Oplog increment for point-in-time restore.
- oplog_
ts number - Oplog timestamp (seconds part) for point-in-time restore.
- point_
in_ numbertime_ utc_ seconds - Point-in-time restore time in seconds since UNIX epoch.
- restored_
documents number - Number of documents restored so far across all supported collections.
- snapshot_
id string - Unique 24-hexadecimal digit string that identifies the snapshot being restored.
- state string
- Current state of the collection restore job.
- target_
cluster_ stringname - Human-readable label that identifies the target cluster.
- target_
project_ stringid - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - total_
documents number - Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore.
- write_
strategy string - Strategy for writing data on the target (create as new or overwrite existing). With
OVERWRITE_EXISTING, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore.
- collection
Suffix String - Suffix applied to restored collection names.
- collections
List<Get
Cloud Backup Collection Restore Jobs Result Collection> - List of collections in the restore scope (up to 100 items).
- created
At String - Date and time when the restore job was created (ISO 8601 format in UTC).
- database
Suffix String - Suffix applied to restored database names.
- databases
List<Get
Cloud Backup Collection Restore Jobs Result Database> - List of databases in the restore scope (up to 100 items).
- error
Message String - Error message when the job has failed or been canceled.
- finished
At String - Date and time when the restore job finished (ISO 8601 format in UTC).
- index
Status GetCloud Backup Collection Restore Jobs Result Index Status - Overall index build status for a collection restore job.
- index
Strategy String - Strategy for restoring indexes (all, none, or all except TTL).
- job
Id String - Unique 24-hexadecimal digit string that identifies the collection restore job.
- oplog
Inc Integer - Oplog increment for point-in-time restore.
- oplog
Ts Integer - Oplog timestamp (seconds part) for point-in-time restore.
- point
In IntegerTime Utc Seconds - Point-in-time restore time in seconds since UNIX epoch.
- restored
Documents Integer - Number of documents restored so far across all supported collections.
- snapshot
Id String - Unique 24-hexadecimal digit string that identifies the snapshot being restored.
- state String
- Current state of the collection restore job.
- target
Cluster StringName - Human-readable label that identifies the target cluster.
- target
Project StringId - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - total
Documents Integer - Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore.
- write
Strategy String - Strategy for writing data on the target (create as new or overwrite existing). With
OVERWRITE_EXISTING, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore.
- collection
Suffix string - Suffix applied to restored collection names.
- collections
Get
Cloud Backup Collection Restore Jobs Result Collection[] - List of collections in the restore scope (up to 100 items).
- created
At string - Date and time when the restore job was created (ISO 8601 format in UTC).
- database
Suffix string - Suffix applied to restored database names.
- databases
Get
Cloud Backup Collection Restore Jobs Result Database[] - List of databases in the restore scope (up to 100 items).
- error
Message string - Error message when the job has failed or been canceled.
- finished
At string - Date and time when the restore job finished (ISO 8601 format in UTC).
- index
Status GetCloud Backup Collection Restore Jobs Result Index Status - Overall index build status for a collection restore job.
- index
Strategy string - Strategy for restoring indexes (all, none, or all except TTL).
- job
Id string - Unique 24-hexadecimal digit string that identifies the collection restore job.
- oplog
Inc number - Oplog increment for point-in-time restore.
- oplog
Ts number - Oplog timestamp (seconds part) for point-in-time restore.
- point
In numberTime Utc Seconds - Point-in-time restore time in seconds since UNIX epoch.
- restored
Documents number - Number of documents restored so far across all supported collections.
- snapshot
Id string - Unique 24-hexadecimal digit string that identifies the snapshot being restored.
- state string
- Current state of the collection restore job.
- target
Cluster stringName - Human-readable label that identifies the target cluster.
- target
Project stringId - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - total
Documents number - Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore.
- write
Strategy string - Strategy for writing data on the target (create as new or overwrite existing). With
OVERWRITE_EXISTING, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore.
- collection_
suffix str - Suffix applied to restored collection names.
- collections
Sequence[Get
Cloud Backup Collection Restore Jobs Result Collection] - List of collections in the restore scope (up to 100 items).
- created_
at str - Date and time when the restore job was created (ISO 8601 format in UTC).
- database_
suffix str - Suffix applied to restored database names.
- databases
Sequence[Get
Cloud Backup Collection Restore Jobs Result Database] - List of databases in the restore scope (up to 100 items).
- error_
message str - Error message when the job has failed or been canceled.
- finished_
at str - Date and time when the restore job finished (ISO 8601 format in UTC).
- index_
status GetCloud Backup Collection Restore Jobs Result Index Status - Overall index build status for a collection restore job.
- index_
strategy str - Strategy for restoring indexes (all, none, or all except TTL).
- job_
id str - Unique 24-hexadecimal digit string that identifies the collection restore job.
- oplog_
inc int - Oplog increment for point-in-time restore.
- oplog_
ts int - Oplog timestamp (seconds part) for point-in-time restore.
- point_
in_ inttime_ utc_ seconds - Point-in-time restore time in seconds since UNIX epoch.
- restored_
documents int - Number of documents restored so far across all supported collections.
- snapshot_
id str - Unique 24-hexadecimal digit string that identifies the snapshot being restored.
- state str
- Current state of the collection restore job.
- target_
cluster_ strname - Human-readable label that identifies the target cluster.
- target_
project_ strid - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - total_
documents int - Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore.
- write_
strategy str - Strategy for writing data on the target (create as new or overwrite existing). With
OVERWRITE_EXISTING, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore.
- collection
Suffix String - Suffix applied to restored collection names.
- collections List<Property Map>
- List of collections in the restore scope (up to 100 items).
- created
At String - Date and time when the restore job was created (ISO 8601 format in UTC).
- database
Suffix String - Suffix applied to restored database names.
- databases List<Property Map>
- List of databases in the restore scope (up to 100 items).
- error
Message String - Error message when the job has failed or been canceled.
- finished
At String - Date and time when the restore job finished (ISO 8601 format in UTC).
- index
Status Property Map - Overall index build status for a collection restore job.
- index
Strategy String - Strategy for restoring indexes (all, none, or all except TTL).
- job
Id String - Unique 24-hexadecimal digit string that identifies the collection restore job.
- oplog
Inc Number - Oplog increment for point-in-time restore.
- oplog
Ts Number - Oplog timestamp (seconds part) for point-in-time restore.
- point
In NumberTime Utc Seconds - Point-in-time restore time in seconds since UNIX epoch.
- restored
Documents Number - Number of documents restored so far across all supported collections.
- snapshot
Id String - Unique 24-hexadecimal digit string that identifies the snapshot being restored.
- state String
- Current state of the collection restore job.
- target
Cluster StringName - Human-readable label that identifies the target cluster.
- target
Project StringId - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - total
Documents Number - Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore.
- write
Strategy String - Strategy for writing data on the target (create as new or overwrite existing). With
OVERWRITE_EXISTING, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore.
GetCloudBackupCollectionRestoreJobsResultCollection
- Source
Namespace string - Collection requested to restore, as
database.collection. - Target
Namespace string - Requested target collection as
database.collection; if empty, source namespace is used.
- Source
Namespace string - Collection requested to restore, as
database.collection. - Target
Namespace string - Requested target collection as
database.collection; if empty, source namespace is used.
- source_
namespace string - Collection requested to restore, as
database.collection. - target_
namespace string - Requested target collection as
database.collection; if empty, source namespace is used.
- source
Namespace String - Collection requested to restore, as
database.collection. - target
Namespace String - Requested target collection as
database.collection; if empty, source namespace is used.
- source
Namespace string - Collection requested to restore, as
database.collection. - target
Namespace string - Requested target collection as
database.collection; if empty, source namespace is used.
- source_
namespace str - Collection requested to restore, as
database.collection. - target_
namespace str - Requested target collection as
database.collection; if empty, source namespace is used.
- source
Namespace String - Collection requested to restore, as
database.collection. - target
Namespace String - Requested target collection as
database.collection; if empty, source namespace is used.
GetCloudBackupCollectionRestoreJobsResultDatabase
- Source
Namespace string - Database name requested to restore.
- Target
Namespace string - Requested target database name; if empty, source database name is used.
- Source
Namespace string - Database name requested to restore.
- Target
Namespace string - Requested target database name; if empty, source database name is used.
- source_
namespace string - Database name requested to restore.
- target_
namespace string - Requested target database name; if empty, source database name is used.
- source
Namespace String - Database name requested to restore.
- target
Namespace String - Requested target database name; if empty, source database name is used.
- source
Namespace string - Database name requested to restore.
- target
Namespace string - Requested target database name; if empty, source database name is used.
- source_
namespace str - Database name requested to restore.
- target_
namespace str - Requested target database name; if empty, source database name is used.
- source
Namespace String - Database name requested to restore.
- target
Namespace String - Requested target database name; if empty, source database name is used.
GetCloudBackupCollectionRestoreJobsResultIndexStatus
- Failed
Collection intCount - Number of collections that failed to build indexes.
- State string
- Index build state indicating the status of index creation during or after a restore operation.
- Failed
Collection intCount - Number of collections that failed to build indexes.
- State string
- Index build state indicating the status of index creation during or after a restore operation.
- failed_
collection_ numbercount - Number of collections that failed to build indexes.
- state string
- Index build state indicating the status of index creation during or after a restore operation.
- failed
Collection IntegerCount - Number of collections that failed to build indexes.
- state String
- Index build state indicating the status of index creation during or after a restore operation.
- failed
Collection numberCount - Number of collections that failed to build indexes.
- state string
- Index build state indicating the status of index creation during or after a restore operation.
- failed_
collection_ intcount - Number of collections that failed to build indexes.
- state str
- Index build state indicating the status of index creation during or after a restore operation.
- failed
Collection NumberCount - Number of collections that failed to build indexes.
- state String
- Index build state indicating the status of index creation during or after a restore operation.
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