MongoDB Atlas v3.7.2, Mar 31 23
MongoDB Atlas v3.7.2, Mar 31 23
mongodbatlas.CloudProviderSnapshot
Explore with Pulumi AI
WARNING: This resource is deprecated, use mongodbatlas.CloudBackupSnapshot
mongodbatlas.CloudProviderSnapshot
provides a resource to take a cloud backup snapshot on demand.
On-demand snapshots happen immediately, unlike scheduled snapshots which occur at regular intervals. If there is already an on-demand snapshot with a status of queued or inProgress, you must wait until Atlas has completed the on-demand snapshot before taking another.
NOTE: Groups and projects are synonymous terms. You may find
groupId
in the official documentation.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.Cluster;
import com.pulumi.mongodbatlas.ClusterArgs;
import com.pulumi.mongodbatlas.CloudProviderSnapshot;
import com.pulumi.mongodbatlas.CloudProviderSnapshotArgs;
import com.pulumi.mongodbatlas.CloudProviderSnapshotRestoreJob;
import com.pulumi.mongodbatlas.CloudProviderSnapshotRestoreJobArgs;
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 myCluster = new Cluster("myCluster", ClusterArgs.builder()
.projectId("5cf5a45a9ccf6400e60981b6")
.diskSizeGb(5)
.providerName("AWS")
.providerRegionName("EU_WEST_2")
.providerInstanceSizeName("M10")
.cloudBackup(true)
.build());
var testCloudProviderSnapshot = new CloudProviderSnapshot("testCloudProviderSnapshot", CloudProviderSnapshotArgs.builder()
.projectId(myCluster.projectId())
.clusterName(myCluster.name())
.description("myDescription")
.retentionInDays(1)
.timeout("10m")
.build());
var testCloudProviderSnapshotRestoreJob = new CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", CloudProviderSnapshotRestoreJobArgs.builder()
.projectId(testCloudProviderSnapshot.projectId())
.clusterName(testCloudProviderSnapshot.clusterName())
.snapshotId(testCloudProviderSnapshot.snapshotId())
.deliveryType(Map.of("download", true))
.build());
}
}
Coming soon!
Coming soon!
resources:
myCluster:
type: mongodbatlas:Cluster
properties:
projectId: 5cf5a45a9ccf6400e60981b6
diskSizeGb: 5
# Provider Settings "block"
providerName: AWS
providerRegionName: EU_WEST_2
providerInstanceSizeName: M10
cloudBackup: true
testCloudProviderSnapshot:
type: mongodbatlas:CloudProviderSnapshot
properties:
projectId: ${myCluster.projectId}
clusterName: ${myCluster.name}
description: myDescription
retentionInDays: 1
timeout: 10m
testCloudProviderSnapshotRestoreJob:
type: mongodbatlas:CloudProviderSnapshotRestoreJob
properties:
projectId: ${testCloudProviderSnapshot.projectId}
clusterName: ${testCloudProviderSnapshot.clusterName}
snapshotId: ${testCloudProviderSnapshot.snapshotId}
deliveryType:
- download: true
Create CloudProviderSnapshot Resource
new CloudProviderSnapshot(name: string, args: CloudProviderSnapshotArgs, opts?: CustomResourceOptions);
@overload
def CloudProviderSnapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
description: Optional[str] = None,
project_id: Optional[str] = None,
retention_in_days: Optional[int] = None,
timeout: Optional[str] = None)
@overload
def CloudProviderSnapshot(resource_name: str,
args: CloudProviderSnapshotArgs,
opts: Optional[ResourceOptions] = None)
func NewCloudProviderSnapshot(ctx *Context, name string, args CloudProviderSnapshotArgs, opts ...ResourceOption) (*CloudProviderSnapshot, error)
public CloudProviderSnapshot(string name, CloudProviderSnapshotArgs args, CustomResourceOptions? opts = null)
public CloudProviderSnapshot(String name, CloudProviderSnapshotArgs args)
public CloudProviderSnapshot(String name, CloudProviderSnapshotArgs args, CustomResourceOptions options)
type: mongodbatlas:CloudProviderSnapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudProviderSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CloudProviderSnapshotArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CloudProviderSnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudProviderSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudProviderSnapshotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CloudProviderSnapshot Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CloudProviderSnapshot resource accepts the following input properties:
- Cluster
Name string The name of the Atlas cluster that contains the snapshots you want to retrieve.
- Description string
Description of the on-demand snapshot.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- Retention
In intDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- Timeout string
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- Cluster
Name string The name of the Atlas cluster that contains the snapshots you want to retrieve.
- Description string
Description of the on-demand snapshot.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- Retention
In intDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- Timeout string
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- cluster
Name String The name of the Atlas cluster that contains the snapshots you want to retrieve.
- description String
Description of the on-demand snapshot.
- project
Id String The unique identifier of the project for the Atlas cluster.
- retention
In IntegerDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- timeout String
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- cluster
Name string The name of the Atlas cluster that contains the snapshots you want to retrieve.
- description string
Description of the on-demand snapshot.
- project
Id string The unique identifier of the project for the Atlas cluster.
- retention
In numberDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- timeout string
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- cluster_
name str The name of the Atlas cluster that contains the snapshots you want to retrieve.
- description str
Description of the on-demand snapshot.
- project_
id str The unique identifier of the project for the Atlas cluster.
- retention_
in_ intdays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- timeout str
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- cluster
Name String The name of the Atlas cluster that contains the snapshots you want to retrieve.
- description String
Description of the on-demand snapshot.
- project
Id String The unique identifier of the project for the Atlas cluster.
- retention
In NumberDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- timeout String
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudProviderSnapshot resource produces the following output properties:
- Created
At string UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- Expires
At string UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- Id string
The provider-assigned unique ID for this managed resource.
- 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
Id string Unique identifier of the snapshot.
- 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 will be returned: 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.
- Expires
At string UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- Id string
The provider-assigned unique ID for this managed resource.
- 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
Id string Unique identifier of the snapshot.
- 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 will be returned: 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.
- expires
At String UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- id String
The provider-assigned unique ID for this managed resource.
- 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
Id String Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- storage
Size IntegerBytes 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.
- expires
At string UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- id string
The provider-assigned unique ID for this managed resource.
- 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
Id string Unique identifier of the snapshot.
- 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 will be returned: 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.
- expires_
at str UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- id str
The provider-assigned unique ID for this managed resource.
- 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_
id str Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- storage_
size_ intbytes Specifies the size of the snapshot in bytes.
- type str
Specifies the type of cluster: replicaSet or shardedCluster.
- created
At String UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- expires
At String UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
- id String
The provider-assigned unique ID for this managed resource.
- 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
Id String Unique identifier of the snapshot.
- 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 will be returned: 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.
Look up Existing CloudProviderSnapshot Resource
Get an existing CloudProviderSnapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudProviderSnapshotState, opts?: CustomResourceOptions): CloudProviderSnapshot
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
expires_at: Optional[str] = None,
master_key_uuid: Optional[str] = None,
mongod_version: Optional[str] = None,
project_id: Optional[str] = None,
retention_in_days: Optional[int] = None,
snapshot_id: Optional[str] = None,
snapshot_type: Optional[str] = None,
status: Optional[str] = None,
storage_size_bytes: Optional[int] = None,
timeout: Optional[str] = None,
type: Optional[str] = None) -> CloudProviderSnapshot
func GetCloudProviderSnapshot(ctx *Context, name string, id IDInput, state *CloudProviderSnapshotState, opts ...ResourceOption) (*CloudProviderSnapshot, error)
public static CloudProviderSnapshot Get(string name, Input<string> id, CloudProviderSnapshotState? state, CustomResourceOptions? opts = null)
public static CloudProviderSnapshot get(String name, Output<String> id, CloudProviderSnapshotState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Name string The name of the Atlas cluster that contains the snapshots you want to retrieve.
- Created
At string UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- Description string
Description of the on-demand snapshot.
- Expires
At string UTC ISO 8601 formatted point in time when Atlas will delete 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.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- Retention
In intDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- Snapshot
Id string Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- Storage
Size intBytes Specifies the size of the snapshot in bytes.
- Timeout string
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- Type string
Specifies the type of cluster: replicaSet or shardedCluster.
- Cluster
Name string The name of the Atlas cluster that contains the snapshots you want to retrieve.
- Created
At string UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- Description string
Description of the on-demand snapshot.
- Expires
At string UTC ISO 8601 formatted point in time when Atlas will delete 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.
- Project
Id string The unique identifier of the project for the Atlas cluster.
- Retention
In intDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- Snapshot
Id string Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- Storage
Size intBytes Specifies the size of the snapshot in bytes.
- Timeout string
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- Type string
Specifies the type of cluster: replicaSet or shardedCluster.
- cluster
Name String The name of the Atlas cluster that contains the snapshots you want to retrieve.
- created
At String UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- description String
Description of the on-demand snapshot.
- expires
At String UTC ISO 8601 formatted point in time when Atlas will delete 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.
- project
Id String The unique identifier of the project for the Atlas cluster.
- retention
In IntegerDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- snapshot
Id String Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- storage
Size IntegerBytes Specifies the size of the snapshot in bytes.
- timeout String
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- type String
Specifies the type of cluster: replicaSet or shardedCluster.
- cluster
Name string The name of the Atlas cluster that contains the snapshots you want to retrieve.
- created
At string UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- description string
Description of the on-demand snapshot.
- expires
At string UTC ISO 8601 formatted point in time when Atlas will delete 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.
- project
Id string The unique identifier of the project for the Atlas cluster.
- retention
In numberDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- snapshot
Id string Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- storage
Size numberBytes Specifies the size of the snapshot in bytes.
- timeout string
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- type string
Specifies the type of cluster: replicaSet or shardedCluster.
- cluster_
name str The name of the Atlas cluster that contains the snapshots you want to retrieve.
- created_
at str UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- description str
Description of the on-demand snapshot.
- expires_
at str UTC ISO 8601 formatted point in time when Atlas will delete 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.
- project_
id str The unique identifier of the project for the Atlas cluster.
- retention_
in_ intdays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- snapshot_
id str Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- storage_
size_ intbytes Specifies the size of the snapshot in bytes.
- timeout str
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- type str
Specifies the type of cluster: replicaSet or shardedCluster.
- cluster
Name String The name of the Atlas cluster that contains the snapshots you want to retrieve.
- created
At String UTC ISO 8601 formatted point in time when Atlas took the snapshot.
- description String
Description of the on-demand snapshot.
- expires
At String UTC ISO 8601 formatted point in time when Atlas will delete 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.
- project
Id String The unique identifier of the project for the Atlas cluster.
- retention
In NumberDays The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
- snapshot
Id String Unique identifier of the snapshot.
- 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 will be returned: queued, inProgress, completed, failed.
- storage
Size NumberBytes Specifies the size of the snapshot in bytes.
- timeout String
The duration of time to wait to finish the on-demand snapshot. The timeout value is defined by a signed sequence of decimal numbers with an time unit suffix such as:
1h45m
,300s
,10m
, .... The valid time units are:ns
,us
(orµs
),ms
,s
,m
,h
. Default value for the timeout is10m
- type String
Specifies the type of cluster: replicaSet or shardedCluster.
Import
Cloud Backup Snapshot entries can be imported using project project_id, cluster_name and snapshot_id (Unique identifier of the snapshot), in the format PROJECTID-CLUSTERNAME-SNAPSHOTID
, e.g.
$ pulumi import mongodbatlas:index/cloudProviderSnapshot:CloudProviderSnapshot test 5d0f1f73cf09a29120e173cf-MyClusterTest-5d116d82014b764445b2f9b5
For more information seeMongoDB Atlas API Reference.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.