published on Wednesday, Apr 15, 2026 by ionos-cloud
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.
Maria DBCluster Connections - The network connection for your cluster. Only one connection is allowed.
- Cores int
- [int] The number of CPU cores per instance.
- Credentials
Ionoscloud.
Maria DBCluster Credentials - Credentials for the database user to be created.
- Display
Name 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).
- Mariadb
Version string - [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
Ionoscloud.
Maria DBCluster Backup - 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".
- Maintenance
Window Ionoscloud.Maria DBCluster Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- Connections
Maria
DBCluster Connections Args - The network connection for your cluster. Only one connection is allowed.
- Cores int
- [int] The number of CPU cores per instance.
- Credentials
Maria
DBCluster Credentials Args - Credentials for the database user to be created.
- Display
Name 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).
- Mariadb
Version string - [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
Maria
DBCluster Backup Args - 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".
- Maintenance
Window MariaDBCluster Maintenance Window Args - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- connections
Maria
DBCluster Connections - The network connection for your cluster. Only one connection is allowed.
- cores Integer
- [int] The number of CPU cores per instance.
- credentials
Maria
DBCluster Credentials - Credentials for the database user to be created.
- display
Name 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).
- mariadb
Version String - [string] The MariaDB version of your cluster. Cannot be downgraded.
- ram Integer
- [int] The amount of memory per instance in gigabytes (GB).
- storage
Size Integer - [int] The amount of storage per instance in gigabytes (GB).
- backup
Maria
DBCluster Backup - 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".
- maintenance
Window MariaDBCluster Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- connections
Maria
DBCluster Connections - The network connection for your cluster. Only one connection is allowed.
- cores number
- [int] The number of CPU cores per instance.
- credentials
Maria
DBCluster Credentials - Credentials for the database user to be created.
- display
Name 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).
- mariadb
Version string - [string] The MariaDB version of your cluster. Cannot be downgraded.
- ram number
- [int] The amount of memory per instance in gigabytes (GB).
- storage
Size number - [int] The amount of storage per instance in gigabytes (GB).
- backup
Maria
DBCluster Backup - 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".
- maintenance
Window MariaDBCluster Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- connections
Maria
DBCluster Connections Args - The network connection for your cluster. Only one connection is allowed.
- cores int
- [int] The number of CPU cores per instance.
- credentials
Maria
DBCluster Credentials Args - 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
Maria
DBCluster Backup Args - 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 MariaDBCluster Maintenance Window Args - (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.
- display
Name 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).
- mariadb
Version String - [string] The MariaDB version of your cluster. Cannot be downgraded.
- ram Number
- [int] The amount of memory per instance in gigabytes (GB).
- storage
Size 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".
- maintenance
Window 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:
- Dns
Name string [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes not have any effect.- Id string
- The provider-assigned unique ID for this managed resource.
- Dns
Name string [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes not have any effect.- Id string
- The provider-assigned unique ID for this managed resource.
- dns
Name String [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes not have any effect.- id String
- The provider-assigned unique ID for this managed resource.
- dns
Name string [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes not have any effect.- id str
- The provider-assigned unique ID for this managed resource.
- dns
Name String [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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) -> MariaDBClusterfunc 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.
- Backup
Ionoscloud.
Maria DBCluster Backup - Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
- Connections
Ionoscloud.
Maria DBCluster Connections - The network connection for your cluster. Only one connection is allowed.
- Cores int
- [int] The number of CPU cores per instance.
- Credentials
Ionoscloud.
Maria DBCluster Credentials - Credentials for the database user to be created.
- Display
Name string - [string] The friendly name of your cluster.
- Dns
Name string [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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".
- Maintenance
Window Ionoscloud.Maria DBCluster Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- Mariadb
Version string - [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
Maria
DBCluster Backup Args - Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
- Connections
Maria
DBCluster Connections Args - The network connection for your cluster. Only one connection is allowed.
- Cores int
- [int] The number of CPU cores per instance.
- Credentials
Maria
DBCluster Credentials Args - Credentials for the database user to be created.
- Display
Name string - [string] The friendly name of your cluster.
- Dns
Name string [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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".
- Maintenance
Window MariaDBCluster Maintenance Window Args - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- Mariadb
Version string - [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
Maria
DBCluster Backup - Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
- connections
Maria
DBCluster Connections - The network connection for your cluster. Only one connection is allowed.
- cores Integer
- [int] The number of CPU cores per instance.
- credentials
Maria
DBCluster Credentials - Credentials for the database user to be created.
- display
Name String - [string] The friendly name of your cluster.
- dns
Name String [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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".
- maintenance
Window MariaDBCluster Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- mariadb
Version String - [string] The MariaDB version of your cluster. Cannot be downgraded.
- ram Integer
- [int] The amount of memory per instance in gigabytes (GB).
- storage
Size Integer - [int] The amount of storage per instance in gigabytes (GB).
- backup
Maria
DBCluster Backup - Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
- connections
Maria
DBCluster Connections - The network connection for your cluster. Only one connection is allowed.
- cores number
- [int] The number of CPU cores per instance.
- credentials
Maria
DBCluster Credentials - Credentials for the database user to be created.
- display
Name string - [string] The friendly name of your cluster.
- dns
Name string [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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".
- maintenance
Window MariaDBCluster Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- mariadb
Version string - [string] The MariaDB version of your cluster. Cannot be downgraded.
- ram number
- [int] The amount of memory per instance in gigabytes (GB).
- storage
Size number - [int] The amount of storage per instance in gigabytes (GB).
- backup
Maria
DBCluster Backup Args - Properties configuring the backup of the cluster. Immutable, change forces re-creation of the cluster.
- connections
Maria
DBCluster Connections Args - The network connection for your cluster. Only one connection is allowed.
- cores int
- [int] The number of CPU cores per instance.
- credentials
Maria
DBCluster Credentials Args - 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_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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 MariaDBCluster Maintenance Window Args - (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.
- display
Name String - [string] The friendly name of your cluster.
- dns
Name String [string] The DNS name pointing to your cluster.
⚠ WARNING:
IONOS_API_URL_MARIADBcan be used to set a custom API URL for the MariaDB Cluster.locationfield needs to be empty, otherwise it will override the custom API URL. SettingendpointorIONOS_API_URLdoes 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".
- maintenance
Window Property Map - (Computed) A weekly 4 hour-long window, during which maintenance might occur
- mariadb
Version String - [string] The MariaDB version of your cluster. Cannot be downgraded.
- ram Number
- [int] The amount of memory per instance in gigabytes (GB).
- storage
Size 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.
- Datacenter
Id string - [true] The datacenter to connect your cluster to.
- Lan
Id 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.
- Datacenter
Id string - [true] The datacenter to connect your cluster to.
- Lan
Id 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.
- datacenter
Id String - [true] The datacenter to connect your cluster to.
- lan
Id 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.
- datacenter
Id string - [true] The datacenter to connect your cluster to.
- lan
Id 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.
- datacenter
Id String - [true] The datacenter to connect your cluster to.
- lan
Id String - [true] The numeric LAN ID to connect your cluster to.
MariaDBClusterCredentials, MariaDBClusterCredentialsArgs
MariaDBClusterMaintenanceWindow, MariaDBClusterMaintenanceWindowArgs
- Day
Of stringThe Week - [string] The name of the week day.
- Time string
- [string] Start of the maintenance window in UTC time.
- Day
Of stringThe Week - [string] The name of the week day.
- Time string
- [string] Start of the maintenance window in UTC time.
- day
Of StringThe Week - [string] The name of the week day.
- time String
- [string] Start of the maintenance window in UTC time.
- day
Of stringThe Week - [string] The name of the week day.
- time string
- [string] Start of the maintenance window in UTC time.
- day_
of_ strthe_ week - [string] The name of the week day.
- time str
- [string] Start of the maintenance window in UTC time.
- day
Of StringThe Week - [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
ionoscloudTerraform Provider.
published on Wednesday, Apr 15, 2026 by ionos-cloud
