1. Packages
  2. Packages
  3. Ionoscloud
  4. API Docs
  5. dbaas
  6. MariaDBCluster
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
ionoscloud logo
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud

    Manages a DBaaS MariaDB Cluster.

    Create MariaDBCluster Resource

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

    Constructor syntax

    new MariaDBCluster(name: string, args: MariaDBClusterArgs, opts?: CustomResourceOptions);
    @overload
    def MariaDBCluster(resource_name: str,
                       args: MariaDBClusterArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def MariaDBCluster(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       connections: Optional[MariaDBClusterConnectionsArgs] = None,
                       cores: Optional[int] = None,
                       credentials: Optional[MariaDBClusterCredentialsArgs] = None,
                       display_name: Optional[str] = None,
                       instances: Optional[int] = None,
                       mariadb_version: Optional[str] = None,
                       ram: Optional[int] = None,
                       storage_size: Optional[int] = None,
                       backup: Optional[MariaDBClusterBackupArgs] = None,
                       location: Optional[str] = None,
                       maintenance_window: Optional[MariaDBClusterMaintenanceWindowArgs] = None)
    func NewMariaDBCluster(ctx *Context, name string, args MariaDBClusterArgs, opts ...ResourceOption) (*MariaDBCluster, error)
    public MariaDBCluster(string name, MariaDBClusterArgs args, CustomResourceOptions? opts = null)
    public MariaDBCluster(String name, MariaDBClusterArgs args)
    public MariaDBCluster(String name, MariaDBClusterArgs args, CustomResourceOptions options)
    
    type: ionoscloud:dbaas:MariaDBCluster
    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 MariaDBClusterArgs
    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 MariaDBClusterArgs
    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 MariaDBClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MariaDBClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MariaDBClusterArgs
    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 mariaDBClusterResource = new Ionoscloud.Dbaas.MariaDBCluster("mariaDBClusterResource", new()
    {
        Connections = new Ionoscloud.Dbaas.Inputs.MariaDBClusterConnectionsArgs
        {
            Cidr = "string",
            DatacenterId = "string",
            LanId = "string",
        },
        Cores = 0,
        Credentials = new Ionoscloud.Dbaas.Inputs.MariaDBClusterCredentialsArgs
        {
            Password = "string",
            Username = "string",
        },
        DisplayName = "string",
        Instances = 0,
        MariadbVersion = "string",
        Ram = 0,
        StorageSize = 0,
        Backup = new Ionoscloud.Dbaas.Inputs.MariaDBClusterBackupArgs
        {
            Location = "string",
        },
        Location = "string",
        MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.MariaDBClusterMaintenanceWindowArgs
        {
            DayOfTheWeek = "string",
            Time = "string",
        },
    });
    
    example, err := dbaas.NewMariaDBCluster(ctx, "mariaDBClusterResource", &dbaas.MariaDBClusterArgs{
    	Connections: &dbaas.MariaDBClusterConnectionsArgs{
    		Cidr:         pulumi.String("string"),
    		DatacenterId: pulumi.String("string"),
    		LanId:        pulumi.String("string"),
    	},
    	Cores: pulumi.Int(0),
    	Credentials: &dbaas.MariaDBClusterCredentialsArgs{
    		Password: pulumi.String("string"),
    		Username: pulumi.String("string"),
    	},
    	DisplayName:    pulumi.String("string"),
    	Instances:      pulumi.Int(0),
    	MariadbVersion: pulumi.String("string"),
    	Ram:            pulumi.Int(0),
    	StorageSize:    pulumi.Int(0),
    	Backup: &dbaas.MariaDBClusterBackupArgs{
    		Location: pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	MaintenanceWindow: &dbaas.MariaDBClusterMaintenanceWindowArgs{
    		DayOfTheWeek: pulumi.String("string"),
    		Time:         pulumi.String("string"),
    	},
    })
    
    var mariaDBClusterResource = new MariaDBCluster("mariaDBClusterResource", MariaDBClusterArgs.builder()
        .connections(MariaDBClusterConnectionsArgs.builder()
            .cidr("string")
            .datacenterId("string")
            .lanId("string")
            .build())
        .cores(0)
        .credentials(MariaDBClusterCredentialsArgs.builder()
            .password("string")
            .username("string")
            .build())
        .displayName("string")
        .instances(0)
        .mariadbVersion("string")
        .ram(0)
        .storageSize(0)
        .backup(MariaDBClusterBackupArgs.builder()
            .location("string")
            .build())
        .location("string")
        .maintenanceWindow(MariaDBClusterMaintenanceWindowArgs.builder()
            .dayOfTheWeek("string")
            .time("string")
            .build())
        .build());
    
    maria_db_cluster_resource = ionoscloud.dbaas.MariaDBCluster("mariaDBClusterResource",
        connections={
            "cidr": "string",
            "datacenter_id": "string",
            "lan_id": "string",
        },
        cores=0,
        credentials={
            "password": "string",
            "username": "string",
        },
        display_name="string",
        instances=0,
        mariadb_version="string",
        ram=0,
        storage_size=0,
        backup={
            "location": "string",
        },
        location="string",
        maintenance_window={
            "day_of_the_week": "string",
            "time": "string",
        })
    
    const mariaDBClusterResource = new ionoscloud.dbaas.MariaDBCluster("mariaDBClusterResource", {
        connections: {
            cidr: "string",
            datacenterId: "string",
            lanId: "string",
        },
        cores: 0,
        credentials: {
            password: "string",
            username: "string",
        },
        displayName: "string",
        instances: 0,
        mariadbVersion: "string",
        ram: 0,
        storageSize: 0,
        backup: {
            location: "string",
        },
        location: "string",
        maintenanceWindow: {
            dayOfTheWeek: "string",
            time: "string",
        },
    });
    
    type: ionoscloud:dbaas:MariaDBCluster
    properties:
        backup:
            location: string
        connections:
            cidr: string
            datacenterId: string
            lanId: string
        cores: 0
        credentials:
            password: string
            username: string
        displayName: string
        instances: 0
        location: string
        maintenanceWindow:
            dayOfTheWeek: string
            time: string
        mariadbVersion: string
        ram: 0
        storageSize: 0
    

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

    Connections Ionoscloud.MariaDBClusterConnections
    The network connection for your cluster. Only one connection is allowed.
    Cores int
    [int] The number of CPU cores per instance.
    Credentials Ionoscloud.MariaDBClusterCredentials
    Credentials for the database user to be created.
    DisplayName string
    [string] The friendly name of your cluster.
    Instances int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    MariadbVersion string
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    Ram int
    [int] The amount of memory per instance in gigabytes (GB).
    StorageSize int
    [int] The amount of storage per instance in gigabytes (GB).
    Backup Ionoscloud.MariaDBClusterBackup
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    Location string
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    MaintenanceWindow Ionoscloud.MariaDBClusterMaintenanceWindow
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    Connections MariaDBClusterConnectionsArgs
    The network connection for your cluster. Only one connection is allowed.
    Cores int
    [int] The number of CPU cores per instance.
    Credentials MariaDBClusterCredentialsArgs
    Credentials for the database user to be created.
    DisplayName string
    [string] The friendly name of your cluster.
    Instances int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    MariadbVersion string
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    Ram int
    [int] The amount of memory per instance in gigabytes (GB).
    StorageSize int
    [int] The amount of storage per instance in gigabytes (GB).
    Backup MariaDBClusterBackupArgs
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    Location string
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    MaintenanceWindow MariaDBClusterMaintenanceWindowArgs
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    connections MariaDBClusterConnections
    The network connection for your cluster. Only one connection is allowed.
    cores Integer
    [int] The number of CPU cores per instance.
    credentials MariaDBClusterCredentials
    Credentials for the database user to be created.
    displayName String
    [string] The friendly name of your cluster.
    instances Integer
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    mariadbVersion String
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram Integer
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize Integer
    [int] The amount of storage per instance in gigabytes (GB).
    backup MariaDBClusterBackup
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    location String
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenanceWindow MariaDBClusterMaintenanceWindow
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    connections MariaDBClusterConnections
    The network connection for your cluster. Only one connection is allowed.
    cores number
    [int] The number of CPU cores per instance.
    credentials MariaDBClusterCredentials
    Credentials for the database user to be created.
    displayName string
    [string] The friendly name of your cluster.
    instances number
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    mariadbVersion string
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram number
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize number
    [int] The amount of storage per instance in gigabytes (GB).
    backup MariaDBClusterBackup
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    location string
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenanceWindow MariaDBClusterMaintenanceWindow
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    connections MariaDBClusterConnectionsArgs
    The network connection for your cluster. Only one connection is allowed.
    cores int
    [int] The number of CPU cores per instance.
    credentials MariaDBClusterCredentialsArgs
    Credentials for the database user to be created.
    display_name str
    [string] The friendly name of your cluster.
    instances int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    mariadb_version str
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram int
    [int] The amount of memory per instance in gigabytes (GB).
    storage_size int
    [int] The amount of storage per instance in gigabytes (GB).
    backup MariaDBClusterBackupArgs
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    location str
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenance_window MariaDBClusterMaintenanceWindowArgs
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    connections Property Map
    The network connection for your cluster. Only one connection is allowed.
    cores Number
    [int] The number of CPU cores per instance.
    credentials Property Map
    Credentials for the database user to be created.
    displayName String
    [string] The friendly name of your cluster.
    instances Number
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    mariadbVersion String
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram Number
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize Number
    [int] The amount of storage per instance in gigabytes (GB).
    backup Property Map
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    location String
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenanceWindow Property Map
    (Computed) A weekly 4 hour-long window, during which maintenance might occur

    Outputs

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

    DnsName string

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    Id string
    The provider-assigned unique ID for this managed resource.
    DnsName string

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    Id string
    The provider-assigned unique ID for this managed resource.
    dnsName String

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    id String
    The provider-assigned unique ID for this managed resource.
    dnsName string

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    id string
    The provider-assigned unique ID for this managed resource.
    dns_name str

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    id str
    The provider-assigned unique ID for this managed resource.
    dnsName String

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MariaDBCluster Resource

    Get an existing MariaDBCluster 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?: MariaDBClusterState, opts?: CustomResourceOptions): MariaDBCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup: Optional[MariaDBClusterBackupArgs] = None,
            connections: Optional[MariaDBClusterConnectionsArgs] = None,
            cores: Optional[int] = None,
            credentials: Optional[MariaDBClusterCredentialsArgs] = None,
            display_name: Optional[str] = None,
            dns_name: Optional[str] = None,
            instances: Optional[int] = None,
            location: Optional[str] = None,
            maintenance_window: Optional[MariaDBClusterMaintenanceWindowArgs] = None,
            mariadb_version: Optional[str] = None,
            ram: Optional[int] = None,
            storage_size: Optional[int] = None) -> MariaDBCluster
    func GetMariaDBCluster(ctx *Context, name string, id IDInput, state *MariaDBClusterState, opts ...ResourceOption) (*MariaDBCluster, error)
    public static MariaDBCluster Get(string name, Input<string> id, MariaDBClusterState? state, CustomResourceOptions? opts = null)
    public static MariaDBCluster get(String name, Output<String> id, MariaDBClusterState state, CustomResourceOptions options)
    resources:  _:    type: ionoscloud:dbaas:MariaDBCluster    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 Ionoscloud.MariaDBClusterBackup
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    Connections Ionoscloud.MariaDBClusterConnections
    The network connection for your cluster. Only one connection is allowed.
    Cores int
    [int] The number of CPU cores per instance.
    Credentials Ionoscloud.MariaDBClusterCredentials
    Credentials for the database user to be created.
    DisplayName string
    [string] The friendly name of your cluster.
    DnsName string

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    Instances int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    Location string
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    MaintenanceWindow Ionoscloud.MariaDBClusterMaintenanceWindow
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    MariadbVersion string
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    Ram int
    [int] The amount of memory per instance in gigabytes (GB).
    StorageSize int
    [int] The amount of storage per instance in gigabytes (GB).
    Backup MariaDBClusterBackupArgs
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    Connections MariaDBClusterConnectionsArgs
    The network connection for your cluster. Only one connection is allowed.
    Cores int
    [int] The number of CPU cores per instance.
    Credentials MariaDBClusterCredentialsArgs
    Credentials for the database user to be created.
    DisplayName string
    [string] The friendly name of your cluster.
    DnsName string

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    Instances int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    Location string
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    MaintenanceWindow MariaDBClusterMaintenanceWindowArgs
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    MariadbVersion string
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    Ram int
    [int] The amount of memory per instance in gigabytes (GB).
    StorageSize int
    [int] The amount of storage per instance in gigabytes (GB).
    backup MariaDBClusterBackup
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    connections MariaDBClusterConnections
    The network connection for your cluster. Only one connection is allowed.
    cores Integer
    [int] The number of CPU cores per instance.
    credentials MariaDBClusterCredentials
    Credentials for the database user to be created.
    displayName String
    [string] The friendly name of your cluster.
    dnsName String

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    instances Integer
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    location String
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenanceWindow MariaDBClusterMaintenanceWindow
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    mariadbVersion String
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram Integer
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize Integer
    [int] The amount of storage per instance in gigabytes (GB).
    backup MariaDBClusterBackup
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    connections MariaDBClusterConnections
    The network connection for your cluster. Only one connection is allowed.
    cores number
    [int] The number of CPU cores per instance.
    credentials MariaDBClusterCredentials
    Credentials for the database user to be created.
    displayName string
    [string] The friendly name of your cluster.
    dnsName string

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    instances number
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    location string
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenanceWindow MariaDBClusterMaintenanceWindow
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    mariadbVersion string
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram number
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize number
    [int] The amount of storage per instance in gigabytes (GB).
    backup MariaDBClusterBackupArgs
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    connections MariaDBClusterConnectionsArgs
    The network connection for your cluster. Only one connection is allowed.
    cores int
    [int] The number of CPU cores per instance.
    credentials MariaDBClusterCredentialsArgs
    Credentials for the database user to be created.
    display_name str
    [string] The friendly name of your cluster.
    dns_name str

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    instances int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    location str
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenance_window MariaDBClusterMaintenanceWindowArgs
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    mariadb_version str
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram int
    [int] The amount of memory per instance in gigabytes (GB).
    storage_size int
    [int] The amount of storage per instance in gigabytes (GB).
    backup Property Map
    Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
    connections Property Map
    The network connection for your cluster. Only one connection is allowed.
    cores Number
    [int] The number of CPU cores per instance.
    credentials Property Map
    Credentials for the database user to be created.
    displayName String
    [string] The friendly name of your cluster.
    dnsName String

    [string] The DNS name pointing to your cluster.

    ⚠ WARNING: IONOS_API_URL_MARIADB can be used to set a custom API URL for the MariaDB Cluster. location field needs to be empty, otherwise it will override the custom API URL. Setting endpoint or IONOS_API_URL does not have any effect.

    instances Number
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    location String
    [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
    maintenanceWindow Property Map
    (Computed) A weekly 4 hour-long window, during which maintenance might occur
    mariadbVersion String
    [string] The MariaDB version of your cluster. Cannot be downgraded.
    ram Number
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize Number
    [int] The amount of storage per instance in gigabytes (GB).

    Supporting Types

    MariaDBClusterBackup, MariaDBClusterBackupArgs

    Location string
    [string] The IONOS Object Storage location where the backups will be stored.
    Location string
    [string] The IONOS Object Storage location where the backups will be stored.
    location String
    [string] The IONOS Object Storage location where the backups will be stored.
    location string
    [string] The IONOS Object Storage location where the backups will be stored.
    location str
    [string] The IONOS Object Storage location where the backups will be stored.
    location String
    [string] The IONOS Object Storage location where the backups will be stored.

    MariaDBClusterConnections, MariaDBClusterConnectionsArgs

    Cidr string
    [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network.
    DatacenterId string
    [true] The datacenter to connect your cluster to.
    LanId string
    [true] The numeric LAN ID to connect your cluster to.
    Cidr string
    [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network.
    DatacenterId string
    [true] The datacenter to connect your cluster to.
    LanId string
    [true] The numeric LAN ID to connect your cluster to.
    cidr String
    [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network.
    datacenterId String
    [true] The datacenter to connect your cluster to.
    lanId String
    [true] The numeric LAN ID to connect your cluster to.
    cidr string
    [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network.
    datacenterId string
    [true] The datacenter to connect your cluster to.
    lanId string
    [true] The numeric LAN ID to connect your cluster to.
    cidr str
    [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network.
    datacenter_id str
    [true] The datacenter to connect your cluster to.
    lan_id str
    [true] The numeric LAN ID to connect your cluster to.
    cidr String
    [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network.
    datacenterId String
    [true] The datacenter to connect your cluster to.
    lanId String
    [true] The numeric LAN ID to connect your cluster to.

    MariaDBClusterCredentials, MariaDBClusterCredentialsArgs

    Password string
    [string] The password for a MariaDB user.
    Username string
    [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').
    Password string
    [string] The password for a MariaDB user.
    Username string
    [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').
    password String
    [string] The password for a MariaDB user.
    username String
    [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').
    password string
    [string] The password for a MariaDB user.
    username string
    [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').
    password str
    [string] The password for a MariaDB user.
    username str
    [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').
    password String
    [string] The password for a MariaDB user.
    username String
    [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').

    MariaDBClusterMaintenanceWindow, MariaDBClusterMaintenanceWindowArgs

    DayOfTheWeek string
    [string] The name of the week day.
    Time string
    [string] Start of the maintenance window in UTC time.
    DayOfTheWeek string
    [string] The name of the week day.
    Time string
    [string] Start of the maintenance window in UTC time.
    dayOfTheWeek String
    [string] The name of the week day.
    time String
    [string] Start of the maintenance window in UTC time.
    dayOfTheWeek string
    [string] The name of the week day.
    time string
    [string] Start of the maintenance window in UTC time.
    day_of_the_week str
    [string] The name of the week day.
    time str
    [string] Start of the maintenance window in UTC time.
    dayOfTheWeek String
    [string] The name of the week day.
    time String
    [string] Start of the maintenance window in UTC time.

    Import

    Resource DBaaS MariaDB Cluster can be imported using the clusterId and the location, separated by :, e.g.

    terraform import ionoscloud_mariadb_cluster.mycluster location:cluster uuid
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ionoscloud ionos-cloud/pulumi-ionoscloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    Viewing docs for IonosCloud v0.3.0
    published on Wednesday, Apr 15, 2026 by ionos-cloud
      Try Pulumi Cloud free. Your team will thank you.