MongoDB Atlas v3.7.2, Mar 31 23
MongoDB Atlas v3.7.2, Mar 31 23
mongodbatlas.getCloudBackupSnapshotRestoreJob
Explore with Pulumi AI
mongodbatlas.CloudBackupSnapshotRestoreJob
provides a Cloud Backup Snapshot Restore Job 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.
Using getCloudBackupSnapshotRestoreJob
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 getCloudBackupSnapshotRestoreJob(args: GetCloudBackupSnapshotRestoreJobArgs, opts?: InvokeOptions): Promise<GetCloudBackupSnapshotRestoreJobResult>
function getCloudBackupSnapshotRestoreJobOutput(args: GetCloudBackupSnapshotRestoreJobOutputArgs, opts?: InvokeOptions): Output<GetCloudBackupSnapshotRestoreJobResult>
def get_cloud_backup_snapshot_restore_job(cluster_name: Optional[str] = None,
job_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudBackupSnapshotRestoreJobResult
def get_cloud_backup_snapshot_restore_job_output(cluster_name: Optional[pulumi.Input[str]] = None,
job_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudBackupSnapshotRestoreJobResult]
func LookupCloudBackupSnapshotRestoreJob(ctx *Context, args *LookupCloudBackupSnapshotRestoreJobArgs, opts ...InvokeOption) (*LookupCloudBackupSnapshotRestoreJobResult, error)
func LookupCloudBackupSnapshotRestoreJobOutput(ctx *Context, args *LookupCloudBackupSnapshotRestoreJobOutputArgs, opts ...InvokeOption) LookupCloudBackupSnapshotRestoreJobResultOutput
> Note: This function is named LookupCloudBackupSnapshotRestoreJob
in the Go SDK.
public static class GetCloudBackupSnapshotRestoreJob
{
public static Task<GetCloudBackupSnapshotRestoreJobResult> InvokeAsync(GetCloudBackupSnapshotRestoreJobArgs args, InvokeOptions? opts = null)
public static Output<GetCloudBackupSnapshotRestoreJobResult> Invoke(GetCloudBackupSnapshotRestoreJobInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudBackupSnapshotRestoreJobResult> getCloudBackupSnapshotRestoreJob(GetCloudBackupSnapshotRestoreJobArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getCloudBackupSnapshotRestoreJob:getCloudBackupSnapshotRestoreJob
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string The name of the Atlas cluster for which you want to retrieve the restore job.
- Job
Id string The unique identifier of the restore job to retrieve.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- Cluster
Name string The name of the Atlas cluster for which you want to retrieve the restore job.
- Job
Id string The unique identifier of the restore job to retrieve.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- cluster
Name String The name of the Atlas cluster for which you want to retrieve the restore job.
- job
Id String The unique identifier of the restore job to retrieve.
- project
Id String The unique identifier of the project for the Atlas cluster.
- cluster
Name string The name of the Atlas cluster for which you want to retrieve the restore job.
- job
Id string The unique identifier of the restore job to retrieve.
- project
Id string The unique identifier of the project for the Atlas cluster.
- cluster_
name str The name of the Atlas cluster for which you want to retrieve the restore job.
- job_
id str The unique identifier of the restore job to retrieve.
- project_
id str The unique identifier of the project for the Atlas cluster.
- cluster
Name String The name of the Atlas cluster for which you want to retrieve the restore job.
- job
Id String The unique identifier of the restore job to retrieve.
- project
Id String The unique identifier of the project for the Atlas cluster.
getCloudBackupSnapshotRestoreJob Result
The following output properties are available:
- Cancelled bool
Indicates whether the restore job was canceled.
- Cluster
Name string - Created
At string UTC ISO 8601 formatted point in time when Atlas created the restore job.
- Delivery
Type string Type of restore job to create. Possible values are: automated and download.
- Delivery
Urls List<string> One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
- Expired bool
Indicates whether the restore job expired.
- Expires
At string UTC ISO 8601 formatted point in time when the restore job expires.
- Finished
At string UTC ISO 8601 formatted point in time when the restore job completed.
- Id string
The provider-assigned unique ID for this managed resource.
- Job
Id string - Oplog
Inc int - Oplog
Ts int - Point
In intTime Utc Seconds - Project
Id string - Snapshot
Id string Unique identifier of the source snapshot ID of the restore job.
- Target
Cluster stringName Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
- Target
Project stringId Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
- Timestamp string
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
- Cancelled bool
Indicates whether the restore job was canceled.
- Cluster
Name string - Created
At string UTC ISO 8601 formatted point in time when Atlas created the restore job.
- Delivery
Type string Type of restore job to create. Possible values are: automated and download.
- Delivery
Urls []string One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
- Expired bool
Indicates whether the restore job expired.
- Expires
At string UTC ISO 8601 formatted point in time when the restore job expires.
- Finished
At string UTC ISO 8601 formatted point in time when the restore job completed.
- Id string
The provider-assigned unique ID for this managed resource.
- Job
Id string - Oplog
Inc int - Oplog
Ts int - Point
In intTime Utc Seconds - Project
Id string - Snapshot
Id string Unique identifier of the source snapshot ID of the restore job.
- Target
Cluster stringName Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
- Target
Project stringId Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
- Timestamp string
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
- cancelled Boolean
Indicates whether the restore job was canceled.
- cluster
Name String - created
At String UTC ISO 8601 formatted point in time when Atlas created the restore job.
- delivery
Type String Type of restore job to create. Possible values are: automated and download.
- delivery
Urls List<String> One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
- expired Boolean
Indicates whether the restore job expired.
- expires
At String UTC ISO 8601 formatted point in time when the restore job expires.
- finished
At String UTC ISO 8601 formatted point in time when the restore job completed.
- id String
The provider-assigned unique ID for this managed resource.
- job
Id String - oplog
Inc Integer - oplog
Ts Integer - point
In IntegerTime Utc Seconds - project
Id String - snapshot
Id String Unique identifier of the source snapshot ID of the restore job.
- target
Cluster StringName Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
- target
Project StringId Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
- timestamp String
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
- cancelled boolean
Indicates whether the restore job was canceled.
- cluster
Name string - created
At string UTC ISO 8601 formatted point in time when Atlas created the restore job.
- delivery
Type string Type of restore job to create. Possible values are: automated and download.
- delivery
Urls string[] One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
- expired boolean
Indicates whether the restore job expired.
- expires
At string UTC ISO 8601 formatted point in time when the restore job expires.
- finished
At string UTC ISO 8601 formatted point in time when the restore job completed.
- id string
The provider-assigned unique ID for this managed resource.
- job
Id string - oplog
Inc number - oplog
Ts number - point
In numberTime Utc Seconds - project
Id string - snapshot
Id string Unique identifier of the source snapshot ID of the restore job.
- target
Cluster stringName Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
- target
Project stringId Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
- timestamp string
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
- cancelled bool
Indicates whether the restore job was canceled.
- cluster_
name str - created_
at str UTC ISO 8601 formatted point in time when Atlas created the restore job.
- delivery_
type str Type of restore job to create. Possible values are: automated and download.
- delivery_
urls Sequence[str] One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
- expired bool
Indicates whether the restore job expired.
- expires_
at str UTC ISO 8601 formatted point in time when the restore job expires.
- finished_
at str UTC ISO 8601 formatted point in time when the restore job completed.
- id str
The provider-assigned unique ID for this managed resource.
- job_
id str - oplog_
inc int - oplog_
ts int - point_
in_ inttime_ utc_ seconds - project_
id str - snapshot_
id str Unique identifier of the source snapshot ID of the restore job.
- target_
cluster_ strname Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
- target_
project_ strid Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
- timestamp str
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
- cancelled Boolean
Indicates whether the restore job was canceled.
- cluster
Name String - created
At String UTC ISO 8601 formatted point in time when Atlas created the restore job.
- delivery
Type String Type of restore job to create. Possible values are: automated and download.
- delivery
Urls List<String> One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
- expired Boolean
Indicates whether the restore job expired.
- expires
At String UTC ISO 8601 formatted point in time when the restore job expires.
- finished
At String UTC ISO 8601 formatted point in time when the restore job completed.
- id String
The provider-assigned unique ID for this managed resource.
- job
Id String - oplog
Inc Number - oplog
Ts Number - point
In NumberTime Utc Seconds - project
Id String - snapshot
Id String Unique identifier of the source snapshot ID of the restore job.
- target
Cluster StringName Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
- target
Project StringId Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
- timestamp String
Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.