1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. MongoCluster
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.MongoCluster

Explore with Pulumi AI

ionoscloud logo
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

    Create MongoCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MongoCluster(name: string, args: MongoClusterArgs, opts?: CustomResourceOptions);
    @overload
    def MongoCluster(resource_name: str,
                     args: MongoClusterArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def MongoCluster(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     instances: Optional[float] = None,
                     mongodb_version: Optional[str] = None,
                     connections: Optional[MongoClusterConnectionsArgs] = None,
                     location: Optional[str] = None,
                     display_name: Optional[str] = None,
                     maintenance_window: Optional[MongoClusterMaintenanceWindowArgs] = None,
                     edition: Optional[str] = None,
                     cores: Optional[float] = None,
                     backup: Optional[MongoClusterBackupArgs] = None,
                     mongo_cluster_id: Optional[str] = None,
                     bi_connector: Optional[MongoClusterBiConnectorArgs] = None,
                     ram: Optional[float] = None,
                     shards: Optional[float] = None,
                     storage_size: Optional[float] = None,
                     storage_type: Optional[str] = None,
                     template_id: Optional[str] = None,
                     timeouts: Optional[MongoClusterTimeoutsArgs] = None,
                     type: Optional[str] = None)
    func NewMongoCluster(ctx *Context, name string, args MongoClusterArgs, opts ...ResourceOption) (*MongoCluster, error)
    public MongoCluster(string name, MongoClusterArgs args, CustomResourceOptions? opts = null)
    public MongoCluster(String name, MongoClusterArgs args)
    public MongoCluster(String name, MongoClusterArgs args, CustomResourceOptions options)
    
    type: ionoscloud:MongoCluster
    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 MongoClusterArgs
    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 MongoClusterArgs
    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 MongoClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MongoClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MongoClusterArgs
    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 mongoClusterResource = new Ionoscloud.MongoCluster("mongoClusterResource", new()
    {
        Instances = 0,
        MongodbVersion = "string",
        Connections = new Ionoscloud.Inputs.MongoClusterConnectionsArgs
        {
            CidrLists = new[]
            {
                "string",
            },
            DatacenterId = "string",
            LanId = "string",
        },
        Location = "string",
        DisplayName = "string",
        MaintenanceWindow = new Ionoscloud.Inputs.MongoClusterMaintenanceWindowArgs
        {
            DayOfTheWeek = "string",
            Time = "string",
        },
        Edition = "string",
        Cores = 0,
        Backup = new Ionoscloud.Inputs.MongoClusterBackupArgs
        {
            Location = "string",
            PointInTimeWindowHours = 0,
            SnapshotIntervalHours = 0,
        },
        MongoClusterId = "string",
        BiConnector = new Ionoscloud.Inputs.MongoClusterBiConnectorArgs
        {
            Enabled = false,
            Host = "string",
            Port = "string",
        },
        Ram = 0,
        Shards = 0,
        StorageSize = 0,
        StorageType = "string",
        TemplateId = "string",
        Timeouts = new Ionoscloud.Inputs.MongoClusterTimeoutsArgs
        {
            Create = "string",
            Default = "string",
            Delete = "string",
            Update = "string",
        },
        Type = "string",
    });
    
    example, err := ionoscloud.NewMongoCluster(ctx, "mongoClusterResource", &ionoscloud.MongoClusterArgs{
    	Instances:      pulumi.Float64(0),
    	MongodbVersion: pulumi.String("string"),
    	Connections: &ionoscloud.MongoClusterConnectionsArgs{
    		CidrLists: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DatacenterId: pulumi.String("string"),
    		LanId:        pulumi.String("string"),
    	},
    	Location:    pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	MaintenanceWindow: &ionoscloud.MongoClusterMaintenanceWindowArgs{
    		DayOfTheWeek: pulumi.String("string"),
    		Time:         pulumi.String("string"),
    	},
    	Edition: pulumi.String("string"),
    	Cores:   pulumi.Float64(0),
    	Backup: &ionoscloud.MongoClusterBackupArgs{
    		Location:               pulumi.String("string"),
    		PointInTimeWindowHours: pulumi.Float64(0),
    		SnapshotIntervalHours:  pulumi.Float64(0),
    	},
    	MongoClusterId: pulumi.String("string"),
    	BiConnector: &ionoscloud.MongoClusterBiConnectorArgs{
    		Enabled: pulumi.Bool(false),
    		Host:    pulumi.String("string"),
    		Port:    pulumi.String("string"),
    	},
    	Ram:         pulumi.Float64(0),
    	Shards:      pulumi.Float64(0),
    	StorageSize: pulumi.Float64(0),
    	StorageType: pulumi.String("string"),
    	TemplateId:  pulumi.String("string"),
    	Timeouts: &ionoscloud.MongoClusterTimeoutsArgs{
    		Create:  pulumi.String("string"),
    		Default: pulumi.String("string"),
    		Delete:  pulumi.String("string"),
    		Update:  pulumi.String("string"),
    	},
    	Type: pulumi.String("string"),
    })
    
    var mongoClusterResource = new MongoCluster("mongoClusterResource", MongoClusterArgs.builder()
        .instances(0)
        .mongodbVersion("string")
        .connections(MongoClusterConnectionsArgs.builder()
            .cidrLists("string")
            .datacenterId("string")
            .lanId("string")
            .build())
        .location("string")
        .displayName("string")
        .maintenanceWindow(MongoClusterMaintenanceWindowArgs.builder()
            .dayOfTheWeek("string")
            .time("string")
            .build())
        .edition("string")
        .cores(0)
        .backup(MongoClusterBackupArgs.builder()
            .location("string")
            .pointInTimeWindowHours(0)
            .snapshotIntervalHours(0)
            .build())
        .mongoClusterId("string")
        .biConnector(MongoClusterBiConnectorArgs.builder()
            .enabled(false)
            .host("string")
            .port("string")
            .build())
        .ram(0)
        .shards(0)
        .storageSize(0)
        .storageType("string")
        .templateId("string")
        .timeouts(MongoClusterTimeoutsArgs.builder()
            .create("string")
            .default_("string")
            .delete("string")
            .update("string")
            .build())
        .type("string")
        .build());
    
    mongo_cluster_resource = ionoscloud.MongoCluster("mongoClusterResource",
        instances=0,
        mongodb_version="string",
        connections={
            "cidr_lists": ["string"],
            "datacenter_id": "string",
            "lan_id": "string",
        },
        location="string",
        display_name="string",
        maintenance_window={
            "day_of_the_week": "string",
            "time": "string",
        },
        edition="string",
        cores=0,
        backup={
            "location": "string",
            "point_in_time_window_hours": 0,
            "snapshot_interval_hours": 0,
        },
        mongo_cluster_id="string",
        bi_connector={
            "enabled": False,
            "host": "string",
            "port": "string",
        },
        ram=0,
        shards=0,
        storage_size=0,
        storage_type="string",
        template_id="string",
        timeouts={
            "create": "string",
            "default": "string",
            "delete": "string",
            "update": "string",
        },
        type="string")
    
    const mongoClusterResource = new ionoscloud.MongoCluster("mongoClusterResource", {
        instances: 0,
        mongodbVersion: "string",
        connections: {
            cidrLists: ["string"],
            datacenterId: "string",
            lanId: "string",
        },
        location: "string",
        displayName: "string",
        maintenanceWindow: {
            dayOfTheWeek: "string",
            time: "string",
        },
        edition: "string",
        cores: 0,
        backup: {
            location: "string",
            pointInTimeWindowHours: 0,
            snapshotIntervalHours: 0,
        },
        mongoClusterId: "string",
        biConnector: {
            enabled: false,
            host: "string",
            port: "string",
        },
        ram: 0,
        shards: 0,
        storageSize: 0,
        storageType: "string",
        templateId: "string",
        timeouts: {
            create: "string",
            "default": "string",
            "delete": "string",
            update: "string",
        },
        type: "string",
    });
    
    type: ionoscloud:MongoCluster
    properties:
        backup:
            location: string
            pointInTimeWindowHours: 0
            snapshotIntervalHours: 0
        biConnector:
            enabled: false
            host: string
            port: string
        connections:
            cidrLists:
                - string
            datacenterId: string
            lanId: string
        cores: 0
        displayName: string
        edition: string
        instances: 0
        location: string
        maintenanceWindow:
            dayOfTheWeek: string
            time: string
        mongoClusterId: string
        mongodbVersion: string
        ram: 0
        shards: 0
        storageSize: 0
        storageType: string
        templateId: string
        timeouts:
            create: string
            default: string
            delete: string
            update: string
        type: string
    

    MongoCluster 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 MongoCluster resource accepts the following input properties:

    Connections MongoClusterConnections
    Details about the network connection for your cluster.
    DisplayName string
    The name of your cluster.
    Instances double
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    Location string
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    MongodbVersion string
    The MongoDB version of your cluster. Update forces cluster re-creation.
    Backup MongoClusterBackup
    Backup related properties.
    BiConnector MongoClusterBiConnector
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    Cores double
    The number of CPU cores per instance.
    Edition string
    The cluster edition. Must be one of: playground, business, enterprise
    MaintenanceWindow MongoClusterMaintenanceWindow
    A weekly 4 hour-long window, during which maintenance might occur
    MongoClusterId string
    Ram double
    The amount of memory per instance in megabytes. Multiple of 1024
    Shards double
    The total number of shards in the cluster.
    StorageSize double
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    StorageType string
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    TemplateId string
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    Timeouts MongoClusterTimeouts
    Type string
    The cluster type, either replicaset or sharded-cluster
    Connections MongoClusterConnectionsArgs
    Details about the network connection for your cluster.
    DisplayName string
    The name of your cluster.
    Instances float64
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    Location string
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    MongodbVersion string
    The MongoDB version of your cluster. Update forces cluster re-creation.
    Backup MongoClusterBackupArgs
    Backup related properties.
    BiConnector MongoClusterBiConnectorArgs
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    Cores float64
    The number of CPU cores per instance.
    Edition string
    The cluster edition. Must be one of: playground, business, enterprise
    MaintenanceWindow MongoClusterMaintenanceWindowArgs
    A weekly 4 hour-long window, during which maintenance might occur
    MongoClusterId string
    Ram float64
    The amount of memory per instance in megabytes. Multiple of 1024
    Shards float64
    The total number of shards in the cluster.
    StorageSize float64
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    StorageType string
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    TemplateId string
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    Timeouts MongoClusterTimeoutsArgs
    Type string
    The cluster type, either replicaset or sharded-cluster
    connections MongoClusterConnections
    Details about the network connection for your cluster.
    displayName String
    The name of your cluster.
    instances Double
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location String
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    mongodbVersion String
    The MongoDB version of your cluster. Update forces cluster re-creation.
    backup MongoClusterBackup
    Backup related properties.
    biConnector MongoClusterBiConnector
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    cores Double
    The number of CPU cores per instance.
    edition String
    The cluster edition. Must be one of: playground, business, enterprise
    maintenanceWindow MongoClusterMaintenanceWindow
    A weekly 4 hour-long window, during which maintenance might occur
    mongoClusterId String
    ram Double
    The amount of memory per instance in megabytes. Multiple of 1024
    shards Double
    The total number of shards in the cluster.
    storageSize Double
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storageType String
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    templateId String
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts MongoClusterTimeouts
    type String
    The cluster type, either replicaset or sharded-cluster
    connections MongoClusterConnections
    Details about the network connection for your cluster.
    displayName string
    The name of your cluster.
    instances number
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location string
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    mongodbVersion string
    The MongoDB version of your cluster. Update forces cluster re-creation.
    backup MongoClusterBackup
    Backup related properties.
    biConnector MongoClusterBiConnector
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    cores number
    The number of CPU cores per instance.
    edition string
    The cluster edition. Must be one of: playground, business, enterprise
    maintenanceWindow MongoClusterMaintenanceWindow
    A weekly 4 hour-long window, during which maintenance might occur
    mongoClusterId string
    ram number
    The amount of memory per instance in megabytes. Multiple of 1024
    shards number
    The total number of shards in the cluster.
    storageSize number
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storageType string
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    templateId string
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts MongoClusterTimeouts
    type string
    The cluster type, either replicaset or sharded-cluster
    connections MongoClusterConnectionsArgs
    Details about the network connection for your cluster.
    display_name str
    The name of your cluster.
    instances float
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location str
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    mongodb_version str
    The MongoDB version of your cluster. Update forces cluster re-creation.
    backup MongoClusterBackupArgs
    Backup related properties.
    bi_connector MongoClusterBiConnectorArgs
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    cores float
    The number of CPU cores per instance.
    edition str
    The cluster edition. Must be one of: playground, business, enterprise
    maintenance_window MongoClusterMaintenanceWindowArgs
    A weekly 4 hour-long window, during which maintenance might occur
    mongo_cluster_id str
    ram float
    The amount of memory per instance in megabytes. Multiple of 1024
    shards float
    The total number of shards in the cluster.
    storage_size float
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storage_type str
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    template_id str
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts MongoClusterTimeoutsArgs
    type str
    The cluster type, either replicaset or sharded-cluster
    connections Property Map
    Details about the network connection for your cluster.
    displayName String
    The name of your cluster.
    instances Number
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location String
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    mongodbVersion String
    The MongoDB version of your cluster. Update forces cluster re-creation.
    backup Property Map
    Backup related properties.
    biConnector Property Map
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    cores Number
    The number of CPU cores per instance.
    edition String
    The cluster edition. Must be one of: playground, business, enterprise
    maintenanceWindow Property Map
    A weekly 4 hour-long window, during which maintenance might occur
    mongoClusterId String
    ram Number
    The amount of memory per instance in megabytes. Multiple of 1024
    shards Number
    The total number of shards in the cluster.
    storageSize Number
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storageType String
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    templateId String
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts Property Map
    type String
    The cluster type, either replicaset or sharded-cluster

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MongoCluster resource produces the following output properties:

    ConnectionString string
    The connection string for your cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    ConnectionString string
    The connection string for your cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    connectionString String
    The connection string for your cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    connectionString string
    The connection string for your cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    connection_string str
    The connection string for your cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    connectionString String
    The connection string for your cluster.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MongoCluster Resource

    Get an existing MongoCluster 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?: MongoClusterState, opts?: CustomResourceOptions): MongoCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup: Optional[MongoClusterBackupArgs] = None,
            bi_connector: Optional[MongoClusterBiConnectorArgs] = None,
            connection_string: Optional[str] = None,
            connections: Optional[MongoClusterConnectionsArgs] = None,
            cores: Optional[float] = None,
            display_name: Optional[str] = None,
            edition: Optional[str] = None,
            instances: Optional[float] = None,
            location: Optional[str] = None,
            maintenance_window: Optional[MongoClusterMaintenanceWindowArgs] = None,
            mongo_cluster_id: Optional[str] = None,
            mongodb_version: Optional[str] = None,
            ram: Optional[float] = None,
            shards: Optional[float] = None,
            storage_size: Optional[float] = None,
            storage_type: Optional[str] = None,
            template_id: Optional[str] = None,
            timeouts: Optional[MongoClusterTimeoutsArgs] = None,
            type: Optional[str] = None) -> MongoCluster
    func GetMongoCluster(ctx *Context, name string, id IDInput, state *MongoClusterState, opts ...ResourceOption) (*MongoCluster, error)
    public static MongoCluster Get(string name, Input<string> id, MongoClusterState? state, CustomResourceOptions? opts = null)
    public static MongoCluster get(String name, Output<String> id, MongoClusterState state, CustomResourceOptions options)
    resources:  _:    type: ionoscloud:MongoCluster    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.
    The following state arguments are supported:
    Backup MongoClusterBackup
    Backup related properties.
    BiConnector MongoClusterBiConnector
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    ConnectionString string
    The connection string for your cluster.
    Connections MongoClusterConnections
    Details about the network connection for your cluster.
    Cores double
    The number of CPU cores per instance.
    DisplayName string
    The name of your cluster.
    Edition string
    The cluster edition. Must be one of: playground, business, enterprise
    Instances double
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    Location string
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    MaintenanceWindow MongoClusterMaintenanceWindow
    A weekly 4 hour-long window, during which maintenance might occur
    MongoClusterId string
    MongodbVersion string
    The MongoDB version of your cluster. Update forces cluster re-creation.
    Ram double
    The amount of memory per instance in megabytes. Multiple of 1024
    Shards double
    The total number of shards in the cluster.
    StorageSize double
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    StorageType string
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    TemplateId string
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    Timeouts MongoClusterTimeouts
    Type string
    The cluster type, either replicaset or sharded-cluster
    Backup MongoClusterBackupArgs
    Backup related properties.
    BiConnector MongoClusterBiConnectorArgs
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    ConnectionString string
    The connection string for your cluster.
    Connections MongoClusterConnectionsArgs
    Details about the network connection for your cluster.
    Cores float64
    The number of CPU cores per instance.
    DisplayName string
    The name of your cluster.
    Edition string
    The cluster edition. Must be one of: playground, business, enterprise
    Instances float64
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    Location string
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    MaintenanceWindow MongoClusterMaintenanceWindowArgs
    A weekly 4 hour-long window, during which maintenance might occur
    MongoClusterId string
    MongodbVersion string
    The MongoDB version of your cluster. Update forces cluster re-creation.
    Ram float64
    The amount of memory per instance in megabytes. Multiple of 1024
    Shards float64
    The total number of shards in the cluster.
    StorageSize float64
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    StorageType string
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    TemplateId string
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    Timeouts MongoClusterTimeoutsArgs
    Type string
    The cluster type, either replicaset or sharded-cluster
    backup MongoClusterBackup
    Backup related properties.
    biConnector MongoClusterBiConnector
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    connectionString String
    The connection string for your cluster.
    connections MongoClusterConnections
    Details about the network connection for your cluster.
    cores Double
    The number of CPU cores per instance.
    displayName String
    The name of your cluster.
    edition String
    The cluster edition. Must be one of: playground, business, enterprise
    instances Double
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location String
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    maintenanceWindow MongoClusterMaintenanceWindow
    A weekly 4 hour-long window, during which maintenance might occur
    mongoClusterId String
    mongodbVersion String
    The MongoDB version of your cluster. Update forces cluster re-creation.
    ram Double
    The amount of memory per instance in megabytes. Multiple of 1024
    shards Double
    The total number of shards in the cluster.
    storageSize Double
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storageType String
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    templateId String
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts MongoClusterTimeouts
    type String
    The cluster type, either replicaset or sharded-cluster
    backup MongoClusterBackup
    Backup related properties.
    biConnector MongoClusterBiConnector
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    connectionString string
    The connection string for your cluster.
    connections MongoClusterConnections
    Details about the network connection for your cluster.
    cores number
    The number of CPU cores per instance.
    displayName string
    The name of your cluster.
    edition string
    The cluster edition. Must be one of: playground, business, enterprise
    instances number
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location string
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    maintenanceWindow MongoClusterMaintenanceWindow
    A weekly 4 hour-long window, during which maintenance might occur
    mongoClusterId string
    mongodbVersion string
    The MongoDB version of your cluster. Update forces cluster re-creation.
    ram number
    The amount of memory per instance in megabytes. Multiple of 1024
    shards number
    The total number of shards in the cluster.
    storageSize number
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storageType string
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    templateId string
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts MongoClusterTimeouts
    type string
    The cluster type, either replicaset or sharded-cluster
    backup MongoClusterBackupArgs
    Backup related properties.
    bi_connector MongoClusterBiConnectorArgs
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    connection_string str
    The connection string for your cluster.
    connections MongoClusterConnectionsArgs
    Details about the network connection for your cluster.
    cores float
    The number of CPU cores per instance.
    display_name str
    The name of your cluster.
    edition str
    The cluster edition. Must be one of: playground, business, enterprise
    instances float
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location str
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    maintenance_window MongoClusterMaintenanceWindowArgs
    A weekly 4 hour-long window, during which maintenance might occur
    mongo_cluster_id str
    mongodb_version str
    The MongoDB version of your cluster. Update forces cluster re-creation.
    ram float
    The amount of memory per instance in megabytes. Multiple of 1024
    shards float
    The total number of shards in the cluster.
    storage_size float
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storage_type str
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    template_id str
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts MongoClusterTimeoutsArgs
    type str
    The cluster type, either replicaset or sharded-cluster
    backup Property Map
    Backup related properties.
    biConnector Property Map
    The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
    connectionString String
    The connection string for your cluster.
    connections Property Map
    Details about the network connection for your cluster.
    cores Number
    The number of CPU cores per instance.
    displayName String
    The name of your cluster.
    edition String
    The cluster edition. Must be one of: playground, business, enterprise
    instances Number
    The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
    location String
    The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
    maintenanceWindow Property Map
    A weekly 4 hour-long window, during which maintenance might occur
    mongoClusterId String
    mongodbVersion String
    The MongoDB version of your cluster. Update forces cluster re-creation.
    ram Number
    The amount of memory per instance in megabytes. Multiple of 1024
    shards Number
    The total number of shards in the cluster.
    storageSize Number
    The amount of storage per instance in megabytes. At least 5120, at most 2097152
    storageType String
    The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
    templateId String
    The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
    timeouts Property Map
    type String
    The cluster type, either replicaset or sharded-cluster

    Supporting Types

    MongoClusterBackup, MongoClusterBackupArgs

    Location string
    The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
    PointInTimeWindowHours double
    Number of hours in the past for which a point-in-time snapshot can be created.
    SnapshotIntervalHours double
    Number of hours between snapshots.
    Location string
    The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
    PointInTimeWindowHours float64
    Number of hours in the past for which a point-in-time snapshot can be created.
    SnapshotIntervalHours float64
    Number of hours between snapshots.
    location String
    The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
    pointInTimeWindowHours Double
    Number of hours in the past for which a point-in-time snapshot can be created.
    snapshotIntervalHours Double
    Number of hours between snapshots.
    location string
    The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
    pointInTimeWindowHours number
    Number of hours in the past for which a point-in-time snapshot can be created.
    snapshotIntervalHours number
    Number of hours between snapshots.
    location str
    The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
    point_in_time_window_hours float
    Number of hours in the past for which a point-in-time snapshot can be created.
    snapshot_interval_hours float
    Number of hours between snapshots.
    location String
    The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
    pointInTimeWindowHours Number
    Number of hours in the past for which a point-in-time snapshot can be created.
    snapshotIntervalHours Number
    Number of hours between snapshots.

    MongoClusterBiConnector, MongoClusterBiConnectorArgs

    Enabled bool
    Enable or disable the BiConnector.
    Host string
    The host where this new BI Connector is installed.
    Port string
    Port number used when connecting to this new BI Connector.
    Enabled bool
    Enable or disable the BiConnector.
    Host string
    The host where this new BI Connector is installed.
    Port string
    Port number used when connecting to this new BI Connector.
    enabled Boolean
    Enable or disable the BiConnector.
    host String
    The host where this new BI Connector is installed.
    port String
    Port number used when connecting to this new BI Connector.
    enabled boolean
    Enable or disable the BiConnector.
    host string
    The host where this new BI Connector is installed.
    port string
    Port number used when connecting to this new BI Connector.
    enabled bool
    Enable or disable the BiConnector.
    host str
    The host where this new BI Connector is installed.
    port str
    Port number used when connecting to this new BI Connector.
    enabled Boolean
    Enable or disable the BiConnector.
    host String
    The host where this new BI Connector is installed.
    port String
    Port number used when connecting to this new BI Connector.

    MongoClusterConnections, MongoClusterConnectionsArgs

    CidrLists List<string>
    The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
    DatacenterId string
    The datacenter to connect your cluster to.
    LanId string
    The LAN to connect your cluster to.
    CidrLists []string
    The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
    DatacenterId string
    The datacenter to connect your cluster to.
    LanId string
    The LAN to connect your cluster to.
    cidrLists List<String>
    The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
    datacenterId String
    The datacenter to connect your cluster to.
    lanId String
    The LAN to connect your cluster to.
    cidrLists string[]
    The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
    datacenterId string
    The datacenter to connect your cluster to.
    lanId string
    The LAN to connect your cluster to.
    cidr_lists Sequence[str]
    The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
    datacenter_id str
    The datacenter to connect your cluster to.
    lan_id str
    The LAN to connect your cluster to.
    cidrLists List<String>
    The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
    datacenterId String
    The datacenter to connect your cluster to.
    lanId String
    The LAN to connect your cluster to.

    MongoClusterMaintenanceWindow, MongoClusterMaintenanceWindowArgs

    DayOfTheWeek string
    Time string
    DayOfTheWeek string
    Time string
    dayOfTheWeek String
    time String
    dayOfTheWeek string
    time string
    dayOfTheWeek String
    time String

    MongoClusterTimeouts, MongoClusterTimeoutsArgs

    Create string
    Default string
    Delete string
    Update string
    Create string
    Default string
    Delete string
    Update string
    create String
    default_ String
    delete String
    update String
    create string
    default string
    delete string
    update string
    create String
    default String
    delete String
    update String

    Package Details

    Repository
    ionoscloud ionos-cloud/terraform-provider-ionoscloud
    License
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud