mongodbatlas.CloudBackupSnapshotExportBucket
Explore with Pulumi AI
# Resource: mongodbatlas.CloudBackupSnapshotExportBucket
mongodbatlas.CloudBackupSnapshotExportBucket allows you to create an export snapshot bucket for the specified project.
NOTE: Groups and projects are synonymous terms. You may find
groupIdin the official documentation.
NOTE: To prevent errors during resource destruction, ensure that no
mongodbatlas.CloudBackupScheduleresource that defines an automatic export policy references this resource. If you must update relatedmongodbatlas.CloudBackupScheduleresources, make these updates in isolatedpulumi upoperations first, then run the operation that destroys themongodbatlas.CloudBackupSnapshotExportBucketresource.
Example Usage
AWS Example
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const test = new mongodbatlas.CloudBackupSnapshotExportBucket("test", {
    projectId: "{PROJECT_ID}",
    iamRoleId: "{IAM_ROLE_ID}",
    bucketName: "example-bucket",
    cloudProvider: "AWS",
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.CloudBackupSnapshotExportBucket("test",
    project_id="{PROJECT_ID}",
    iam_role_id="{IAM_ROLE_ID}",
    bucket_name="example-bucket",
    cloud_provider="AWS")
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 {
		_, err := mongodbatlas.NewCloudBackupSnapshotExportBucket(ctx, "test", &mongodbatlas.CloudBackupSnapshotExportBucketArgs{
			ProjectId:     pulumi.String("{PROJECT_ID}"),
			IamRoleId:     pulumi.String("{IAM_ROLE_ID}"),
			BucketName:    pulumi.String("example-bucket"),
			CloudProvider: pulumi.String("AWS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() => 
{
    var test = new Mongodbatlas.CloudBackupSnapshotExportBucket("test", new()
    {
        ProjectId = "{PROJECT_ID}",
        IamRoleId = "{IAM_ROLE_ID}",
        BucketName = "example-bucket",
        CloudProvider = "AWS",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.CloudBackupSnapshotExportBucket;
import com.pulumi.mongodbatlas.CloudBackupSnapshotExportBucketArgs;
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 test = new CloudBackupSnapshotExportBucket("test", CloudBackupSnapshotExportBucketArgs.builder()
            .projectId("{PROJECT_ID}")
            .iamRoleId("{IAM_ROLE_ID}")
            .bucketName("example-bucket")
            .cloudProvider("AWS")
            .build());
    }
}
resources:
  test:
    type: mongodbatlas:CloudBackupSnapshotExportBucket
    properties:
      projectId: '{PROJECT_ID}'
      iamRoleId: '{IAM_ROLE_ID}'
      bucketName: example-bucket
      cloudProvider: AWS
Azure Example
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const test = new mongodbatlas.CloudBackupSnapshotExportBucket("test", {
    projectId: "{PROJECT_ID}",
    roleId: "{ROLE_ID}",
    serviceUrl: "{SERVICE_URL}",
    bucketName: "example-bucket",
    cloudProvider: "AZURE",
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.CloudBackupSnapshotExportBucket("test",
    project_id="{PROJECT_ID}",
    role_id="{ROLE_ID}",
    service_url="{SERVICE_URL}",
    bucket_name="example-bucket",
    cloud_provider="AZURE")
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 {
		_, err := mongodbatlas.NewCloudBackupSnapshotExportBucket(ctx, "test", &mongodbatlas.CloudBackupSnapshotExportBucketArgs{
			ProjectId:     pulumi.String("{PROJECT_ID}"),
			RoleId:        pulumi.String("{ROLE_ID}"),
			ServiceUrl:    pulumi.String("{SERVICE_URL}"),
			BucketName:    pulumi.String("example-bucket"),
			CloudProvider: pulumi.String("AZURE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() => 
{
    var test = new Mongodbatlas.CloudBackupSnapshotExportBucket("test", new()
    {
        ProjectId = "{PROJECT_ID}",
        RoleId = "{ROLE_ID}",
        ServiceUrl = "{SERVICE_URL}",
        BucketName = "example-bucket",
        CloudProvider = "AZURE",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.CloudBackupSnapshotExportBucket;
import com.pulumi.mongodbatlas.CloudBackupSnapshotExportBucketArgs;
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 test = new CloudBackupSnapshotExportBucket("test", CloudBackupSnapshotExportBucketArgs.builder()
            .projectId("{PROJECT_ID}")
            .roleId("{ROLE_ID}")
            .serviceUrl("{SERVICE_URL}")
            .bucketName("example-bucket")
            .cloudProvider("AZURE")
            .build());
    }
}
resources:
  test:
    type: mongodbatlas:CloudBackupSnapshotExportBucket
    properties:
      projectId: '{PROJECT_ID}'
      roleId: '{ROLE_ID}'
      serviceUrl: '{SERVICE_URL}'
      bucketName: example-bucket
      cloudProvider: AZURE
Create CloudBackupSnapshotExportBucket Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudBackupSnapshotExportBucket(name: string, args: CloudBackupSnapshotExportBucketArgs, opts?: CustomResourceOptions);@overload
def CloudBackupSnapshotExportBucket(resource_name: str,
                                    args: CloudBackupSnapshotExportBucketArgs,
                                    opts: Optional[ResourceOptions] = None)
@overload
def CloudBackupSnapshotExportBucket(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    bucket_name: Optional[str] = None,
                                    cloud_provider: Optional[str] = None,
                                    project_id: Optional[str] = None,
                                    iam_role_id: Optional[str] = None,
                                    role_id: Optional[str] = None,
                                    service_url: Optional[str] = None,
                                    tenant_id: Optional[str] = None)func NewCloudBackupSnapshotExportBucket(ctx *Context, name string, args CloudBackupSnapshotExportBucketArgs, opts ...ResourceOption) (*CloudBackupSnapshotExportBucket, error)public CloudBackupSnapshotExportBucket(string name, CloudBackupSnapshotExportBucketArgs args, CustomResourceOptions? opts = null)
public CloudBackupSnapshotExportBucket(String name, CloudBackupSnapshotExportBucketArgs args)
public CloudBackupSnapshotExportBucket(String name, CloudBackupSnapshotExportBucketArgs args, CustomResourceOptions options)
type: mongodbatlas:CloudBackupSnapshotExportBucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudBackupSnapshotExportBucketArgs
- 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 CloudBackupSnapshotExportBucketArgs
- 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 CloudBackupSnapshotExportBucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudBackupSnapshotExportBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudBackupSnapshotExportBucketArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudBackupSnapshotExportBucketResource = new Mongodbatlas.CloudBackupSnapshotExportBucket("cloudBackupSnapshotExportBucketResource", new()
{
    BucketName = "string",
    CloudProvider = "string",
    ProjectId = "string",
    IamRoleId = "string",
    RoleId = "string",
    ServiceUrl = "string",
    TenantId = "string",
});
example, err := mongodbatlas.NewCloudBackupSnapshotExportBucket(ctx, "cloudBackupSnapshotExportBucketResource", &mongodbatlas.CloudBackupSnapshotExportBucketArgs{
	BucketName:    pulumi.String("string"),
	CloudProvider: pulumi.String("string"),
	ProjectId:     pulumi.String("string"),
	IamRoleId:     pulumi.String("string"),
	RoleId:        pulumi.String("string"),
	ServiceUrl:    pulumi.String("string"),
	TenantId:      pulumi.String("string"),
})
var cloudBackupSnapshotExportBucketResource = new CloudBackupSnapshotExportBucket("cloudBackupSnapshotExportBucketResource", CloudBackupSnapshotExportBucketArgs.builder()
    .bucketName("string")
    .cloudProvider("string")
    .projectId("string")
    .iamRoleId("string")
    .roleId("string")
    .serviceUrl("string")
    .tenantId("string")
    .build());
cloud_backup_snapshot_export_bucket_resource = mongodbatlas.CloudBackupSnapshotExportBucket("cloudBackupSnapshotExportBucketResource",
    bucket_name="string",
    cloud_provider="string",
    project_id="string",
    iam_role_id="string",
    role_id="string",
    service_url="string",
    tenant_id="string")
const cloudBackupSnapshotExportBucketResource = new mongodbatlas.CloudBackupSnapshotExportBucket("cloudBackupSnapshotExportBucketResource", {
    bucketName: "string",
    cloudProvider: "string",
    projectId: "string",
    iamRoleId: "string",
    roleId: "string",
    serviceUrl: "string",
    tenantId: "string",
});
type: mongodbatlas:CloudBackupSnapshotExportBucket
properties:
    bucketName: string
    cloudProvider: string
    iamRoleId: string
    projectId: string
    roleId: string
    serviceUrl: string
    tenantId: string
CloudBackupSnapshotExportBucket Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CloudBackupSnapshotExportBucket resource accepts the following input properties:
- BucketName string
- Name of the bucket that the provided role ID is authorized to access.
- CloudProvider string
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- ProjectId string
- The unique identifier of the project for the Atlas cluster.
- IamRole stringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- RoleId string
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- ServiceUrl string
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- TenantId string
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- BucketName string
- Name of the bucket that the provided role ID is authorized to access.
- CloudProvider string
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- ProjectId string
- The unique identifier of the project for the Atlas cluster.
- IamRole stringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- RoleId string
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- ServiceUrl string
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- TenantId string
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucketName String
- Name of the bucket that the provided role ID is authorized to access.
- cloudProvider String
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- projectId String
- The unique identifier of the project for the Atlas cluster.
- iamRole StringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- roleId String
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- serviceUrl String
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenantId String
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucketName string
- Name of the bucket that the provided role ID is authorized to access.
- cloudProvider string
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- projectId string
- The unique identifier of the project for the Atlas cluster.
- iamRole stringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- roleId string
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- serviceUrl string
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenantId string
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucket_name str
- Name of the bucket that the provided role ID is authorized to access.
- cloud_provider str
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- project_id str
- The unique identifier of the project for the Atlas cluster.
- iam_role_ strid 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- role_id str
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- service_url str
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenant_id str
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucketName String
- Name of the bucket that the provided role ID is authorized to access.
- cloudProvider String
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- projectId String
- The unique identifier of the project for the Atlas cluster.
- iamRole StringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- roleId String
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- serviceUrl String
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenantId String
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudBackupSnapshotExportBucket resource produces the following output properties:
- ExportBucket stringId 
- Unique identifier of the snapshot export bucket.
- Id string
- The provider-assigned unique ID for this managed resource.
- ExportBucket stringId 
- Unique identifier of the snapshot export bucket.
- Id string
- The provider-assigned unique ID for this managed resource.
- exportBucket StringId 
- Unique identifier of the snapshot export bucket.
- id String
- The provider-assigned unique ID for this managed resource.
- exportBucket stringId 
- Unique identifier of the snapshot export bucket.
- id string
- The provider-assigned unique ID for this managed resource.
- export_bucket_ strid 
- Unique identifier of the snapshot export bucket.
- id str
- The provider-assigned unique ID for this managed resource.
- exportBucket StringId 
- Unique identifier of the snapshot export bucket.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CloudBackupSnapshotExportBucket Resource
Get an existing CloudBackupSnapshotExportBucket 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?: CloudBackupSnapshotExportBucketState, opts?: CustomResourceOptions): CloudBackupSnapshotExportBucket@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bucket_name: Optional[str] = None,
        cloud_provider: Optional[str] = None,
        export_bucket_id: Optional[str] = None,
        iam_role_id: Optional[str] = None,
        project_id: Optional[str] = None,
        role_id: Optional[str] = None,
        service_url: Optional[str] = None,
        tenant_id: Optional[str] = None) -> CloudBackupSnapshotExportBucketfunc GetCloudBackupSnapshotExportBucket(ctx *Context, name string, id IDInput, state *CloudBackupSnapshotExportBucketState, opts ...ResourceOption) (*CloudBackupSnapshotExportBucket, error)public static CloudBackupSnapshotExportBucket Get(string name, Input<string> id, CloudBackupSnapshotExportBucketState? state, CustomResourceOptions? opts = null)public static CloudBackupSnapshotExportBucket get(String name, Output<String> id, CloudBackupSnapshotExportBucketState state, CustomResourceOptions options)resources:  _:    type: mongodbatlas:CloudBackupSnapshotExportBucket    get:      id: ${id}- 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.
- BucketName string
- Name of the bucket that the provided role ID is authorized to access.
- CloudProvider string
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- ExportBucket stringId 
- Unique identifier of the snapshot export bucket.
- IamRole stringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- ProjectId string
- The unique identifier of the project for the Atlas cluster.
- RoleId string
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- ServiceUrl string
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- TenantId string
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- BucketName string
- Name of the bucket that the provided role ID is authorized to access.
- CloudProvider string
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- ExportBucket stringId 
- Unique identifier of the snapshot export bucket.
- IamRole stringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- ProjectId string
- The unique identifier of the project for the Atlas cluster.
- RoleId string
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- ServiceUrl string
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- TenantId string
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucketName String
- Name of the bucket that the provided role ID is authorized to access.
- cloudProvider String
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- exportBucket StringId 
- Unique identifier of the snapshot export bucket.
- iamRole StringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- projectId String
- The unique identifier of the project for the Atlas cluster.
- roleId String
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- serviceUrl String
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenantId String
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucketName string
- Name of the bucket that the provided role ID is authorized to access.
- cloudProvider string
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- exportBucket stringId 
- Unique identifier of the snapshot export bucket.
- iamRole stringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- projectId string
- The unique identifier of the project for the Atlas cluster.
- roleId string
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- serviceUrl string
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenantId string
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucket_name str
- Name of the bucket that the provided role ID is authorized to access.
- cloud_provider str
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- export_bucket_ strid 
- Unique identifier of the snapshot export bucket.
- iam_role_ strid 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- project_id str
- The unique identifier of the project for the Atlas cluster.
- role_id str
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- service_url str
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenant_id str
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
- bucketName String
- Name of the bucket that the provided role ID is authorized to access.
- cloudProvider String
- Name of the provider of the cloud service where Atlas can access the S3 bucket.
- exportBucket StringId 
- Unique identifier of the snapshot export bucket.
- iamRole StringId 
- Unique identifier of the role that Atlas can use to access the bucket. Required if cloud_provideris set toAWS.
- projectId String
- The unique identifier of the project for the Atlas cluster.
- roleId String
- Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if cloud_provideris set toAZURE.
- serviceUrl String
- URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if cloud_provideris set toAZURE.
- tenantId String
- This field is ignored; the mongodbatlas_cloud_provider_access_authorization.azure.tenant_idis used instead and returned as an attribute. UUID that identifies the Azure Active Directory Tenant ID.
Import
Cloud Backup Snapshot Export Backup entries can be imported using project project_id, and bucket_id (Unique identifier of the snapshot export bucket), in the format PROJECTID-BUCKETID, e.g.
$ pulumi import mongodbatlas:index/cloudBackupSnapshotExportBucket:CloudBackupSnapshotExportBucket test 5d0f1f73cf09a29120e173cf-5d116d82014b764445b2f9b5
For more information see: MongoDB Atlas API Reference.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the mongodbatlasTerraform Provider.