1. Packages
  2. Mongodbatlas Provider
  3. API Docs
  4. getCloudBackupSnapshotRestoreJobs
MongoDB Atlas v3.30.0 published on Friday, Mar 21, 2025 by Pulumi

mongodbatlas.getCloudBackupSnapshotRestoreJobs

Explore with Pulumi AI

# Data Source: mongodbatlas.getCloudBackupSnapshotRestoreJobs

mongodbatlas.getCloudBackupSnapshotRestoreJobs provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.

NOTE: Groups and projects are synonymous terms. You may find groupId in the official documentation.

Example Usage

First create a snapshot of the desired cluster. Then request that snapshot be restored in an automated fashion to the designated cluster and project.

import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";

const testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot("test", {
    projectId: "5cf5a45a9ccf6400e60981b6",
    clusterName: "MyCluster",
    description: "MyDescription",
    retentionInDays: 1,
});
const testCloudBackupSnapshotRestoreJob = new mongodbatlas.CloudBackupSnapshotRestoreJob("test", {
    projectId: "5cf5a45a9ccf6400e60981b6",
    clusterName: "MyCluster",
    snapshotId: testCloudBackupSnapshot.id,
    deliveryTypeConfig: {
        automated: true,
        targetClusterName: "MyCluster",
        targetProjectId: "5cf5a45a9ccf6400e60981b6",
    },
});
const test = pulumi.all([testCloudBackupSnapshotRestoreJob.projectId, testCloudBackupSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudBackupSnapshotRestoreJobsOutput({
    projectId: projectId,
    clusterName: clusterName,
    pageNum: 1,
    itemsPerPage: 5,
}));
Copy
import pulumi
import pulumi_mongodbatlas as mongodbatlas

test_cloud_backup_snapshot = mongodbatlas.CloudBackupSnapshot("test",
    project_id="5cf5a45a9ccf6400e60981b6",
    cluster_name="MyCluster",
    description="MyDescription",
    retention_in_days=1)
test_cloud_backup_snapshot_restore_job = mongodbatlas.CloudBackupSnapshotRestoreJob("test",
    project_id="5cf5a45a9ccf6400e60981b6",
    cluster_name="MyCluster",
    snapshot_id=test_cloud_backup_snapshot.id,
    delivery_type_config={
        "automated": True,
        "target_cluster_name": "MyCluster",
        "target_project_id": "5cf5a45a9ccf6400e60981b6",
    })
test = pulumi.Output.all(
    project_id=test_cloud_backup_snapshot_restore_job.project_id,
    cluster_name=test_cloud_backup_snapshot_restore_job.cluster_name
).apply(lambda resolved_outputs: mongodbatlas.get_cloud_backup_snapshot_restore_jobs_output(project_id=resolved_outputs['project_id'],
    cluster_name=resolved_outputs['cluster_name'],
    page_num=1,
    items_per_page=5))
Copy
package main

import (
	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testCloudBackupSnapshot, err := mongodbatlas.NewCloudBackupSnapshot(ctx, "test", &mongodbatlas.CloudBackupSnapshotArgs{
			ProjectId:       pulumi.String("5cf5a45a9ccf6400e60981b6"),
			ClusterName:     pulumi.String("MyCluster"),
			Description:     pulumi.String("MyDescription"),
			RetentionInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		testCloudBackupSnapshotRestoreJob, err := mongodbatlas.NewCloudBackupSnapshotRestoreJob(ctx, "test", &mongodbatlas.CloudBackupSnapshotRestoreJobArgs{
			ProjectId:   pulumi.String("5cf5a45a9ccf6400e60981b6"),
			ClusterName: pulumi.String("MyCluster"),
			SnapshotId:  testCloudBackupSnapshot.ID(),
			DeliveryTypeConfig: &mongodbatlas.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs{
				Automated:         pulumi.Bool(true),
				TargetClusterName: pulumi.String("MyCluster"),
				TargetProjectId:   pulumi.String("5cf5a45a9ccf6400e60981b6"),
			},
		})
		if err != nil {
			return err
		}
		_ = pulumi.All(testCloudBackupSnapshotRestoreJob.ProjectId, testCloudBackupSnapshotRestoreJob.ClusterName).ApplyT(func(_args []interface{}) (mongodbatlas.GetCloudBackupSnapshotRestoreJobsResult, error) {
			projectId := _args[0].(string)
			clusterName := _args[1].(string)
			return mongodbatlas.GetCloudBackupSnapshotRestoreJobsResult(interface{}(mongodbatlas.LookupCloudBackupSnapshotRestoreJobsOutput(ctx, mongodbatlas.GetCloudBackupSnapshotRestoreJobsOutputArgs{
				ProjectId:    projectId,
				ClusterName:  clusterName,
				PageNum:      1,
				ItemsPerPage: 5,
			}, nil))), nil
		}).(mongodbatlas.GetCloudBackupSnapshotRestoreJobsResultOutput)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;

return await Deployment.RunAsync(() => 
{
    var testCloudBackupSnapshot = new Mongodbatlas.CloudBackupSnapshot("test", new()
    {
        ProjectId = "5cf5a45a9ccf6400e60981b6",
        ClusterName = "MyCluster",
        Description = "MyDescription",
        RetentionInDays = 1,
    });

    var testCloudBackupSnapshotRestoreJob = new Mongodbatlas.CloudBackupSnapshotRestoreJob("test", new()
    {
        ProjectId = "5cf5a45a9ccf6400e60981b6",
        ClusterName = "MyCluster",
        SnapshotId = testCloudBackupSnapshot.Id,
        DeliveryTypeConfig = new Mongodbatlas.Inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs
        {
            Automated = true,
            TargetClusterName = "MyCluster",
            TargetProjectId = "5cf5a45a9ccf6400e60981b6",
        },
    });

    var test = Mongodbatlas.GetCloudBackupSnapshotRestoreJobs.Invoke(new()
    {
        ProjectId = testCloudBackupSnapshotRestoreJob.ProjectId,
        ClusterName = testCloudBackupSnapshotRestoreJob.ClusterName,
        PageNum = 1,
        ItemsPerPage = 5,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.CloudBackupSnapshot;
import com.pulumi.mongodbatlas.CloudBackupSnapshotArgs;
import com.pulumi.mongodbatlas.CloudBackupSnapshotRestoreJob;
import com.pulumi.mongodbatlas.CloudBackupSnapshotRestoreJobArgs;
import com.pulumi.mongodbatlas.inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetCloudBackupSnapshotRestoreJobsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testCloudBackupSnapshot = new CloudBackupSnapshot("testCloudBackupSnapshot", CloudBackupSnapshotArgs.builder()
            .projectId("5cf5a45a9ccf6400e60981b6")
            .clusterName("MyCluster")
            .description("MyDescription")
            .retentionInDays(1)
            .build());

        var testCloudBackupSnapshotRestoreJob = new CloudBackupSnapshotRestoreJob("testCloudBackupSnapshotRestoreJob", CloudBackupSnapshotRestoreJobArgs.builder()
            .projectId("5cf5a45a9ccf6400e60981b6")
            .clusterName("MyCluster")
            .snapshotId(testCloudBackupSnapshot.id())
            .deliveryTypeConfig(CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs.builder()
                .automated(true)
                .targetClusterName("MyCluster")
                .targetProjectId("5cf5a45a9ccf6400e60981b6")
                .build())
            .build());

        final var test = MongodbatlasFunctions.getCloudBackupSnapshotRestoreJobs(GetCloudBackupSnapshotRestoreJobsArgs.builder()
            .projectId(testCloudBackupSnapshotRestoreJob.projectId())
            .clusterName(testCloudBackupSnapshotRestoreJob.clusterName())
            .pageNum(1)
            .itemsPerPage(5)
            .build());

    }
}
Copy
resources:
  testCloudBackupSnapshot:
    type: mongodbatlas:CloudBackupSnapshot
    name: test
    properties:
      projectId: 5cf5a45a9ccf6400e60981b6
      clusterName: MyCluster
      description: MyDescription
      retentionInDays: 1
  testCloudBackupSnapshotRestoreJob:
    type: mongodbatlas:CloudBackupSnapshotRestoreJob
    name: test
    properties:
      projectId: 5cf5a45a9ccf6400e60981b6
      clusterName: MyCluster
      snapshotId: ${testCloudBackupSnapshot.id}
      deliveryTypeConfig:
        automated: true
        targetClusterName: MyCluster
        targetProjectId: 5cf5a45a9ccf6400e60981b6
variables:
  test:
    fn::invoke:
      function: mongodbatlas:getCloudBackupSnapshotRestoreJobs
      arguments:
        projectId: ${testCloudBackupSnapshotRestoreJob.projectId}
        clusterName: ${testCloudBackupSnapshotRestoreJob.clusterName}
        pageNum: 1
        itemsPerPage: 5
Copy

Using getCloudBackupSnapshotRestoreJobs

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 getCloudBackupSnapshotRestoreJobs(args: GetCloudBackupSnapshotRestoreJobsArgs, opts?: InvokeOptions): Promise<GetCloudBackupSnapshotRestoreJobsResult>
function getCloudBackupSnapshotRestoreJobsOutput(args: GetCloudBackupSnapshotRestoreJobsOutputArgs, opts?: InvokeOptions): Output<GetCloudBackupSnapshotRestoreJobsResult>
Copy
def get_cloud_backup_snapshot_restore_jobs(cluster_name: Optional[str] = None,
                                           items_per_page: Optional[int] = None,
                                           page_num: Optional[int] = None,
                                           project_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCloudBackupSnapshotRestoreJobsResult
def get_cloud_backup_snapshot_restore_jobs_output(cluster_name: Optional[pulumi.Input[str]] = None,
                                           items_per_page: Optional[pulumi.Input[int]] = None,
                                           page_num: Optional[pulumi.Input[int]] = None,
                                           project_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCloudBackupSnapshotRestoreJobsResult]
Copy
func LookupCloudBackupSnapshotRestoreJobs(ctx *Context, args *LookupCloudBackupSnapshotRestoreJobsArgs, opts ...InvokeOption) (*LookupCloudBackupSnapshotRestoreJobsResult, error)
func LookupCloudBackupSnapshotRestoreJobsOutput(ctx *Context, args *LookupCloudBackupSnapshotRestoreJobsOutputArgs, opts ...InvokeOption) LookupCloudBackupSnapshotRestoreJobsResultOutput
Copy

> Note: This function is named LookupCloudBackupSnapshotRestoreJobs in the Go SDK.

public static class GetCloudBackupSnapshotRestoreJobs 
{
    public static Task<GetCloudBackupSnapshotRestoreJobsResult> InvokeAsync(GetCloudBackupSnapshotRestoreJobsArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudBackupSnapshotRestoreJobsResult> Invoke(GetCloudBackupSnapshotRestoreJobsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCloudBackupSnapshotRestoreJobsResult> getCloudBackupSnapshotRestoreJobs(GetCloudBackupSnapshotRestoreJobsArgs args, InvokeOptions options)
public static Output<GetCloudBackupSnapshotRestoreJobsResult> getCloudBackupSnapshotRestoreJobs(GetCloudBackupSnapshotRestoreJobsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: mongodbatlas:index/getCloudBackupSnapshotRestoreJobs:getCloudBackupSnapshotRestoreJobs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterName This property is required. string
The name of the Atlas cluster for which you want to retrieve restore jobs.
ProjectId This property is required. string
The unique identifier of the project for the Atlas cluster.
ItemsPerPage int
Number of items to return per page, up to a maximum of 500. Defaults to 100.
PageNum int
The page to return. Defaults to 1.
ClusterName This property is required. string
The name of the Atlas cluster for which you want to retrieve restore jobs.
ProjectId This property is required. string
The unique identifier of the project for the Atlas cluster.
ItemsPerPage int
Number of items to return per page, up to a maximum of 500. Defaults to 100.
PageNum int
The page to return. Defaults to 1.
clusterName This property is required. String
The name of the Atlas cluster for which you want to retrieve restore jobs.
projectId This property is required. String
The unique identifier of the project for the Atlas cluster.
itemsPerPage Integer
Number of items to return per page, up to a maximum of 500. Defaults to 100.
pageNum Integer
The page to return. Defaults to 1.
clusterName This property is required. string
The name of the Atlas cluster for which you want to retrieve restore jobs.
projectId This property is required. string
The unique identifier of the project for the Atlas cluster.
itemsPerPage number
Number of items to return per page, up to a maximum of 500. Defaults to 100.
pageNum number
The page to return. Defaults to 1.
cluster_name This property is required. str
The name of the Atlas cluster for which you want to retrieve restore jobs.
project_id This property is required. str
The unique identifier of the project for the Atlas cluster.
items_per_page int
Number of items to return per page, up to a maximum of 500. Defaults to 100.
page_num int
The page to return. Defaults to 1.
clusterName This property is required. String
The name of the Atlas cluster for which you want to retrieve restore jobs.
projectId This property is required. String
The unique identifier of the project for the Atlas cluster.
itemsPerPage Number
Number of items to return per page, up to a maximum of 500. Defaults to 100.
pageNum Number
The page to return. Defaults to 1.

getCloudBackupSnapshotRestoreJobs Result

The following output properties are available:

ClusterName string
Id string
The provider-assigned unique ID for this managed resource.
ProjectId string
Results List<GetCloudBackupSnapshotRestoreJobsResult>
Includes cloudProviderSnapshotRestoreJob object for each item detailed in the results array section.

  • totalCount - Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
TotalCount int
ItemsPerPage int
PageNum int
ClusterName string
Id string
The provider-assigned unique ID for this managed resource.
ProjectId string
Results []GetCloudBackupSnapshotRestoreJobsResult
Includes cloudProviderSnapshotRestoreJob object for each item detailed in the results array section.

  • totalCount - Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
TotalCount int
ItemsPerPage int
PageNum int
clusterName String
id String
The provider-assigned unique ID for this managed resource.
projectId String
results List<GetCloudBackupSnapshotRestoreJobsResult>
Includes cloudProviderSnapshotRestoreJob object for each item detailed in the results array section.

  • totalCount - Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
totalCount Integer
itemsPerPage Integer
pageNum Integer
clusterName string
id string
The provider-assigned unique ID for this managed resource.
projectId string
results GetCloudBackupSnapshotRestoreJobsResult[]
Includes cloudProviderSnapshotRestoreJob object for each item detailed in the results array section.

  • totalCount - Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
totalCount number
itemsPerPage number
pageNum number
cluster_name str
id str
The provider-assigned unique ID for this managed resource.
project_id str
results Sequence[GetCloudBackupSnapshotRestoreJobsResult]
Includes cloudProviderSnapshotRestoreJob object for each item detailed in the results array section.

  • totalCount - Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
total_count int
items_per_page int
page_num int
clusterName String
id String
The provider-assigned unique ID for this managed resource.
projectId String
results List<Property Map>
Includes cloudProviderSnapshotRestoreJob object for each item detailed in the results array section.

  • totalCount - Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
totalCount Number
itemsPerPage Number
pageNum Number

Supporting Types

GetCloudBackupSnapshotRestoreJobsResult

Cancelled This property is required. bool
Indicates whether the restore job was canceled.
DeliveryType This property is required. string
Type of restore job to create. Possible values are: automated and download.
DeliveryUrls This property is required. List<string>
One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
Expired This property is required. bool
Indicates whether the restore job expired.
ExpiresAt This property is required. string
UTC ISO 8601 formatted point in time when the restore job expires.
Failed This property is required. bool
Indicates whether the restore job failed.
FinishedAt This property is required. string
UTC ISO 8601 formatted point in time when the restore job completed.
Id This property is required. string
The unique identifier of the restore job.
OplogInc This property is required. int
OplogTs This property is required. int
PointInTimeUtcSeconds This property is required. int
SnapshotId This property is required. string
Unique identifier of the source snapshot ID of the restore job.
TargetClusterName This property is required. string
Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
TargetProjectId This property is required. string
Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
Timestamp This property is required. string
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.

  • oplogTs - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
  • oplogInc - Oplog operation number from which to you want to restore this snapshot.
  • pointInTimeUTCSeconds - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
Cancelled This property is required. bool
Indicates whether the restore job was canceled.
DeliveryType This property is required. string
Type of restore job to create. Possible values are: automated and download.
DeliveryUrls This property is required. []string
One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
Expired This property is required. bool
Indicates whether the restore job expired.
ExpiresAt This property is required. string
UTC ISO 8601 formatted point in time when the restore job expires.
Failed This property is required. bool
Indicates whether the restore job failed.
FinishedAt This property is required. string
UTC ISO 8601 formatted point in time when the restore job completed.
Id This property is required. string
The unique identifier of the restore job.
OplogInc This property is required. int
OplogTs This property is required. int
PointInTimeUtcSeconds This property is required. int
SnapshotId This property is required. string
Unique identifier of the source snapshot ID of the restore job.
TargetClusterName This property is required. string
Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
TargetProjectId This property is required. string
Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
Timestamp This property is required. string
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.

  • oplogTs - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
  • oplogInc - Oplog operation number from which to you want to restore this snapshot.
  • pointInTimeUTCSeconds - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
cancelled This property is required. Boolean
Indicates whether the restore job was canceled.
deliveryType This property is required. String
Type of restore job to create. Possible values are: automated and download.
deliveryUrls This property is required. List<String>
One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
expired This property is required. Boolean
Indicates whether the restore job expired.
expiresAt This property is required. String
UTC ISO 8601 formatted point in time when the restore job expires.
failed This property is required. Boolean
Indicates whether the restore job failed.
finishedAt This property is required. String
UTC ISO 8601 formatted point in time when the restore job completed.
id This property is required. String
The unique identifier of the restore job.
oplogInc This property is required. Integer
oplogTs This property is required. Integer
pointInTimeUtcSeconds This property is required. Integer
snapshotId This property is required. String
Unique identifier of the source snapshot ID of the restore job.
targetClusterName This property is required. String
Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
targetProjectId This property is required. String
Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
timestamp This property is required. String
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.

  • oplogTs - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
  • oplogInc - Oplog operation number from which to you want to restore this snapshot.
  • pointInTimeUTCSeconds - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
cancelled This property is required. boolean
Indicates whether the restore job was canceled.
deliveryType This property is required. string
Type of restore job to create. Possible values are: automated and download.
deliveryUrls This property is required. string[]
One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
expired This property is required. boolean
Indicates whether the restore job expired.
expiresAt This property is required. string
UTC ISO 8601 formatted point in time when the restore job expires.
failed This property is required. boolean
Indicates whether the restore job failed.
finishedAt This property is required. string
UTC ISO 8601 formatted point in time when the restore job completed.
id This property is required. string
The unique identifier of the restore job.
oplogInc This property is required. number
oplogTs This property is required. number
pointInTimeUtcSeconds This property is required. number
snapshotId This property is required. string
Unique identifier of the source snapshot ID of the restore job.
targetClusterName This property is required. string
Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
targetProjectId This property is required. string
Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
timestamp This property is required. string
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.

  • oplogTs - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
  • oplogInc - Oplog operation number from which to you want to restore this snapshot.
  • pointInTimeUTCSeconds - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
cancelled This property is required. bool
Indicates whether the restore job was canceled.
delivery_type This property is required. str
Type of restore job to create. Possible values are: automated and download.
delivery_urls This property is required. Sequence[str]
One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
expired This property is required. bool
Indicates whether the restore job expired.
expires_at This property is required. str
UTC ISO 8601 formatted point in time when the restore job expires.
failed This property is required. bool
Indicates whether the restore job failed.
finished_at This property is required. str
UTC ISO 8601 formatted point in time when the restore job completed.
id This property is required. str
The unique identifier of the restore job.
oplog_inc This property is required. int
oplog_ts This property is required. int
point_in_time_utc_seconds This property is required. int
snapshot_id This property is required. str
Unique identifier of the source snapshot ID of the restore job.
target_cluster_name This property is required. str
Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
target_project_id This property is required. str
Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
timestamp This property is required. str
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.

  • oplogTs - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
  • oplogInc - Oplog operation number from which to you want to restore this snapshot.
  • pointInTimeUTCSeconds - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
cancelled This property is required. Boolean
Indicates whether the restore job was canceled.
deliveryType This property is required. String
Type of restore job to create. Possible values are: automated and download.
deliveryUrls This property is required. List<String>
One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
expired This property is required. Boolean
Indicates whether the restore job expired.
expiresAt This property is required. String
UTC ISO 8601 formatted point in time when the restore job expires.
failed This property is required. Boolean
Indicates whether the restore job failed.
finishedAt This property is required. String
UTC ISO 8601 formatted point in time when the restore job completed.
id This property is required. String
The unique identifier of the restore job.
oplogInc This property is required. Number
oplogTs This property is required. Number
pointInTimeUtcSeconds This property is required. Number
snapshotId This property is required. String
Unique identifier of the source snapshot ID of the restore job.
targetClusterName This property is required. String
Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
targetProjectId This property is required. String
Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
timestamp This property is required. String
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.

  • oplogTs - Timestamp in the number of seconds that have elapsed since the UNIX epoch.
  • oplogInc - Oplog operation number from which to you want to restore this snapshot.
  • pointInTimeUTCSeconds - Timestamp in the number of seconds that have elapsed since the UNIX epoch.

Package Details

Repository
MongoDB Atlas pulumi/pulumi-mongodbatlas
License
Apache-2.0
Notes
This Pulumi package is based on the mongodbatlas Terraform Provider.