published on Tuesday, Sep 15, 2026 by ionos-cloud
published on Tuesday, Sep 15, 2026 by ionos-cloud
Manages a DBaaS MariaDB V2 Cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = new ionoscloud.compute.Datacenter("example", {
name: "example",
location: "de/txl",
});
const exampleLan = new ionoscloud.compute.Lan("example", {
datacenterId: example.id,
"public": false,
name: "example",
});
const exampleMariaDBClusterV2 = new ionoscloud.dbaas.MariaDBClusterV2("example", {
location: "de/txl",
name: "my-mariadb-cluster",
description: "MariaDB cluster",
version: "11.4",
logsEnabled: true,
metricsEnabled: true,
instances: {
count: 1,
cores: 1,
ram: 4,
storage_size: 10,
},
connections: {
datacenter_id: example.id,
lan_id: exampleLan.id,
primary_instance_address: "192.168.2.101/24",
},
backup: {
location: "eu-central-3",
retention_days: 7,
},
maintenanceWindow: {
time: "09:00:00",
day_of_the_week: "Sunday",
},
credentials: {
username: "dbadmin",
password: "P@ssw0rd123!",
database: "my_database",
},
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.compute.Datacenter("example",
name="example",
location="de/txl")
example_lan = ionoscloud.compute.Lan("example",
datacenter_id=example.id,
public=False,
name="example")
example_maria_db_cluster_v2 = ionoscloud.dbaas.MariaDBClusterV2("example",
location="de/txl",
name="my-mariadb-cluster",
description="MariaDB cluster",
version="11.4",
logs_enabled=True,
metrics_enabled=True,
instances={
"count": 1,
"cores": 1,
"ram": 4,
"storage_size": 10,
},
connections={
"datacenter_id": example.id,
"lan_id": example_lan.id,
"primary_instance_address": "192.168.2.101/24",
},
backup={
"location": "eu-central-3",
"retention_days": 7,
},
maintenance_window={
"time": "09:00:00",
"day_of_the_week": "Sunday",
},
credentials={
"username": "dbadmin",
"password": "P@ssw0rd123!",
"database": "my_database",
})
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := compute.NewDatacenter(ctx, "example", &compute.DatacenterArgs{
Name: pulumi.String("example"),
Location: pulumi.String("de/txl"),
})
if err != nil {
return err
}
exampleLan, err := compute.NewLan(ctx, "example", &compute.LanArgs{
DatacenterId: example.ID(),
Public: pulumi.Bool(false),
Name: pulumi.String("example"),
})
if err != nil {
return err
}
_, err = dbaas.NewMariaDBClusterV2(ctx, "example", &dbaas.MariaDBClusterV2Args{
Location: pulumi.String("de/txl"),
Name: pulumi.String("my-mariadb-cluster"),
Description: pulumi.String("MariaDB cluster"),
Version: pulumi.String("11.4"),
LogsEnabled: pulumi.Bool(true),
MetricsEnabled: pulumi.Bool(true),
Instances: &dbaas.MariaDBClusterV2InstancesArgs{
Count: pulumi.Int(1),
Cores: pulumi.Int(1),
Ram: pulumi.Int(4),
Storage_size: 10,
},
Connections: &dbaas.MariaDBClusterV2ConnectionsArgs{
Datacenter_id: example.ID(),
Lan_id: exampleLan.ID(),
Primary_instance_address: "192.168.2.101/24",
},
Backup: &dbaas.MariaDBClusterV2BackupArgs{
Location: pulumi.String("eu-central-3"),
Retention_days: 7,
},
MaintenanceWindow: &dbaas.MariaDBClusterV2MaintenanceWindowArgs{
Time: pulumi.String("09:00:00"),
Day_of_the_week: "Sunday",
},
Credentials: &dbaas.MariaDBClusterV2CredentialsArgs{
Username: pulumi.String("dbadmin"),
Password: pulumi.String("P@ssw0rd123!"),
Database: pulumi.String("my_database"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = new Ionoscloud.Compute.Datacenter("example", new()
{
Name = "example",
Location = "de/txl",
});
var exampleLan = new Ionoscloud.Compute.Lan("example", new()
{
DatacenterId = example.Id,
Public = false,
Name = "example",
});
var exampleMariaDBClusterV2 = new Ionoscloud.Dbaas.MariaDBClusterV2("example", new()
{
Location = "de/txl",
Name = "my-mariadb-cluster",
Description = "MariaDB cluster",
Version = "11.4",
LogsEnabled = true,
MetricsEnabled = true,
Instances = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2InstancesArgs
{
Count = 1,
Cores = 1,
Ram = 4,
Storage_size = 10,
},
Connections = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2ConnectionsArgs
{
Datacenter_id = example.Id,
Lan_id = exampleLan.Id,
Primary_instance_address = "192.168.2.101/24",
},
Backup = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2BackupArgs
{
Location = "eu-central-3",
Retention_days = 7,
},
MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2MaintenanceWindowArgs
{
Time = "09:00:00",
Day_of_the_week = "Sunday",
},
Credentials = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2CredentialsArgs
{
Username = "dbadmin",
Password = "P@ssw0rd123!",
Database = "my_database",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.ionoscloud.pulumi.ionoscloud.compute.Datacenter;
import com.ionoscloud.pulumi.ionoscloud.compute.DatacenterArgs;
import com.ionoscloud.pulumi.ionoscloud.compute.Lan;
import com.ionoscloud.pulumi.ionoscloud.compute.LanArgs;
import com.ionoscloud.pulumi.ionoscloud.dbaas.MariaDBClusterV2;
import com.ionoscloud.pulumi.ionoscloud.dbaas.MariaDBClusterV2Args;
import com.pulumi.ionoscloud.dbaas.inputs.MariaDBClusterV2InstancesArgs;
import com.pulumi.ionoscloud.dbaas.inputs.MariaDBClusterV2ConnectionsArgs;
import com.pulumi.ionoscloud.dbaas.inputs.MariaDBClusterV2BackupArgs;
import com.pulumi.ionoscloud.dbaas.inputs.MariaDBClusterV2MaintenanceWindowArgs;
import com.pulumi.ionoscloud.dbaas.inputs.MariaDBClusterV2CredentialsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Datacenter("example", DatacenterArgs.builder()
.name("example")
.location("de/txl")
.build());
var exampleLan = new Lan("exampleLan", LanArgs.builder()
.datacenterId(example.id())
.public_(false)
.name("example")
.build());
var exampleMariaDBClusterV2 = new MariaDBClusterV2("exampleMariaDBClusterV2", MariaDBClusterV2Args.builder()
.location("de/txl")
.name("my-mariadb-cluster")
.description("MariaDB cluster")
.version("11.4")
.logsEnabled(true)
.metricsEnabled(true)
.instances(MariaDBClusterV2InstancesArgs.builder()
.count(1)
.cores(1)
.ram(4)
.storage_size(10)
.build())
.connections(MariaDBClusterV2ConnectionsArgs.builder()
.datacenter_id(example.id())
.lan_id(exampleLan.id())
.primary_instance_address("192.168.2.101/24")
.build())
.backup(MariaDBClusterV2BackupArgs.builder()
.location("eu-central-3")
.retention_days(7)
.build())
.maintenanceWindow(MariaDBClusterV2MaintenanceWindowArgs.builder()
.time("09:00:00")
.day_of_the_week("Sunday")
.build())
.credentials(MariaDBClusterV2CredentialsArgs.builder()
.username("dbadmin")
.password("P@ssw0rd123!")
.database("my_database")
.build())
.build());
}
}
resources:
example:
type: ionoscloud:compute:Datacenter
properties:
name: example
location: de/txl
exampleLan:
type: ionoscloud:compute:Lan
name: example
properties:
datacenterId: ${example.id}
public: false
name: example
exampleMariaDBClusterV2:
type: ionoscloud:dbaas:MariaDBClusterV2
name: example
properties:
location: de/txl
name: my-mariadb-cluster
description: MariaDB cluster
version: '11.4'
logsEnabled: true
metricsEnabled: true
instances:
count: 1
cores: 1
ram: 4
storage_size: 10
connections:
datacenter_id: ${example.id}
lan_id: ${exampleLan.id}
primary_instance_address: 192.168.2.101/24
backup:
location: eu-central-3
retention_days: 7
maintenanceWindow:
time: 09:00:00
day_of_the_week: Sunday
credentials:
username: dbadmin
password: P@ssw0rd123!
database: my_database
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
resource "ionoscloud_compute_datacenter" "example" {
name = "example"
location = "de/txl"
}
resource "ionoscloud_compute_lan" "example" {
datacenter_id = ionoscloud_compute_datacenter.example.id
public = false
name = "example"
}
resource "ionoscloud_dbaas_mariadbclusterv2" "example" {
location = "de/txl"
name = "my-mariadb-cluster"
description = "MariaDB cluster"
version = "11.4"
logs_enabled = true
metrics_enabled = true
instances = {
count = 1
cores = 1
ram = 4
storage_size = 10
}
connections = {
datacenter_id = ionoscloud_compute_datacenter.example.id
lan_id = ionoscloud_compute_lan.example.id
primary_instance_address = "192.168.2.101/24"
}
backup = {
location = "eu-central-3"
retention_days = 7
}
maintenance_window = {
time = "09:00:00"
day_of_the_week = "Sunday"
}
credentials = {
username = "dbadmin"
password = "P@ssw0rd123!"
database = "my_database"
}
}
Create MariaDBClusterV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MariaDBClusterV2(name: string, args: MariaDBClusterV2Args, opts?: CustomResourceOptions);@overload
def MariaDBClusterV2(resource_name: str,
args: MariaDBClusterV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def MariaDBClusterV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
maintenance_window: Optional[MariaDBClusterV2MaintenanceWindowArgs] = None,
connections: Optional[MariaDBClusterV2ConnectionsArgs] = None,
credentials: Optional[MariaDBClusterV2CredentialsArgs] = None,
version: Optional[str] = None,
instances: Optional[MariaDBClusterV2InstancesArgs] = None,
location: Optional[str] = None,
backup: Optional[MariaDBClusterV2BackupArgs] = None,
logs_enabled: Optional[bool] = None,
metrics_enabled: Optional[bool] = None,
name: Optional[str] = None,
restore_from_backup: Optional[MariaDBClusterV2RestoreFromBackupArgs] = None,
timeouts: Optional[MariaDBClusterV2TimeoutsArgs] = None,
description: Optional[str] = None)func NewMariaDBClusterV2(ctx *Context, name string, args MariaDBClusterV2Args, opts ...ResourceOption) (*MariaDBClusterV2, error)public MariaDBClusterV2(string name, MariaDBClusterV2Args args, CustomResourceOptions? opts = null)
public MariaDBClusterV2(String name, MariaDBClusterV2Args args)
public MariaDBClusterV2(String name, MariaDBClusterV2Args args, CustomResourceOptions options)
type: ionoscloud:dbaas:MariaDBClusterV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ionoscloud_dbaas_maria_d_b_cluster_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args MariaDBClusterV2Args
- 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 MariaDBClusterV2Args
- 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 MariaDBClusterV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MariaDBClusterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MariaDBClusterV2Args
- 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 mariaDBClusterV2Resource = new Ionoscloud.Dbaas.MariaDBClusterV2("mariaDBClusterV2Resource", new()
{
MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2MaintenanceWindowArgs
{
DayOfTheWeek = "string",
Time = "string",
},
Connections = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2ConnectionsArgs
{
DatacenterId = "string",
LanId = "string",
PrimaryInstanceAddress = "string",
},
Credentials = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2CredentialsArgs
{
Database = "string",
Password = "string",
Username = "string",
},
Version = "string",
Instances = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2InstancesArgs
{
Cores = 0,
Count = 0,
Ram = 0,
StorageSize = 0,
},
Location = "string",
Backup = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2BackupArgs
{
Location = "string",
RetentionDays = 0,
},
LogsEnabled = false,
MetricsEnabled = false,
Name = "string",
RestoreFromBackup = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2RestoreFromBackupArgs
{
RecoveryTargetDatetime = "string",
SourceBackupId = "string",
},
Timeouts = new Ionoscloud.Dbaas.Inputs.MariaDBClusterV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Description = "string",
});
example, err := dbaas.NewMariaDBClusterV2(ctx, "mariaDBClusterV2Resource", &dbaas.MariaDBClusterV2Args{
MaintenanceWindow: &dbaas.MariaDBClusterV2MaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("string"),
Time: pulumi.String("string"),
},
Connections: &dbaas.MariaDBClusterV2ConnectionsArgs{
DatacenterId: pulumi.String("string"),
LanId: pulumi.String("string"),
PrimaryInstanceAddress: pulumi.String("string"),
},
Credentials: &dbaas.MariaDBClusterV2CredentialsArgs{
Database: pulumi.String("string"),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
Version: pulumi.String("string"),
Instances: &dbaas.MariaDBClusterV2InstancesArgs{
Cores: pulumi.Int(0),
Count: pulumi.Int(0),
Ram: pulumi.Int(0),
StorageSize: pulumi.Int(0),
},
Location: pulumi.String("string"),
Backup: &dbaas.MariaDBClusterV2BackupArgs{
Location: pulumi.String("string"),
RetentionDays: pulumi.Int(0),
},
LogsEnabled: pulumi.Bool(false),
MetricsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
RestoreFromBackup: &dbaas.MariaDBClusterV2RestoreFromBackupArgs{
RecoveryTargetDatetime: pulumi.String("string"),
SourceBackupId: pulumi.String("string"),
},
Timeouts: &dbaas.MariaDBClusterV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Description: pulumi.String("string"),
})
resource "ionoscloud_dbaas_maria_d_b_cluster_v2" "mariaDBClusterV2Resource" {
lifecycle {
create_before_destroy = true
}
maintenance_window = {
day_of_the_week = "string"
time = "string"
}
connections = {
datacenter_id = "string"
lan_id = "string"
primary_instance_address = "string"
}
credentials = {
database = "string"
password = "string"
username = "string"
}
version = "string"
instances = {
cores = 0
count = 0
ram = 0
storage_size = 0
}
location = "string"
backup = {
location = "string"
retention_days = 0
}
logs_enabled = false
metrics_enabled = false
name = "string"
restore_from_backup = {
recovery_target_datetime = "string"
source_backup_id = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
description = "string"
}
var mariaDBClusterV2Resource = new MariaDBClusterV2("mariaDBClusterV2Resource", MariaDBClusterV2Args.builder()
.maintenanceWindow(MariaDBClusterV2MaintenanceWindowArgs.builder()
.dayOfTheWeek("string")
.time("string")
.build())
.connections(MariaDBClusterV2ConnectionsArgs.builder()
.datacenterId("string")
.lanId("string")
.primaryInstanceAddress("string")
.build())
.credentials(MariaDBClusterV2CredentialsArgs.builder()
.database("string")
.password("string")
.username("string")
.build())
.version("string")
.instances(MariaDBClusterV2InstancesArgs.builder()
.cores(0)
.count(0)
.ram(0)
.storageSize(0)
.build())
.location("string")
.backup(MariaDBClusterV2BackupArgs.builder()
.location("string")
.retentionDays(0)
.build())
.logsEnabled(false)
.metricsEnabled(false)
.name("string")
.restoreFromBackup(MariaDBClusterV2RestoreFromBackupArgs.builder()
.recoveryTargetDatetime("string")
.sourceBackupId("string")
.build())
.timeouts(MariaDBClusterV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.description("string")
.build());
maria_db_cluster_v2_resource = ionoscloud.dbaas.MariaDBClusterV2("mariaDBClusterV2Resource",
maintenance_window={
"day_of_the_week": "string",
"time": "string",
},
connections={
"datacenter_id": "string",
"lan_id": "string",
"primary_instance_address": "string",
},
credentials={
"database": "string",
"password": "string",
"username": "string",
},
version="string",
instances={
"cores": 0,
"count": 0,
"ram": 0,
"storage_size": 0,
},
location="string",
backup={
"location": "string",
"retention_days": 0,
},
logs_enabled=False,
metrics_enabled=False,
name="string",
restore_from_backup={
"recovery_target_datetime": "string",
"source_backup_id": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
description="string")
const mariaDBClusterV2Resource = new ionoscloud.dbaas.MariaDBClusterV2("mariaDBClusterV2Resource", {
maintenanceWindow: {
dayOfTheWeek: "string",
time: "string",
},
connections: {
datacenterId: "string",
lanId: "string",
primaryInstanceAddress: "string",
},
credentials: {
database: "string",
password: "string",
username: "string",
},
version: "string",
instances: {
cores: 0,
count: 0,
ram: 0,
storageSize: 0,
},
location: "string",
backup: {
location: "string",
retentionDays: 0,
},
logsEnabled: false,
metricsEnabled: false,
name: "string",
restoreFromBackup: {
recoveryTargetDatetime: "string",
sourceBackupId: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
description: "string",
});
type: ionoscloud:dbaas:MariaDBClusterV2
properties:
backup:
location: string
retentionDays: 0
connections:
datacenterId: string
lanId: string
primaryInstanceAddress: string
credentials:
database: string
password: string
username: string
description: string
instances:
cores: 0
count: 0
ram: 0
storageSize: 0
location: string
logsEnabled: false
maintenanceWindow:
dayOfTheWeek: string
time: string
metricsEnabled: false
name: string
restoreFromBackup:
recoveryTargetDatetime: string
sourceBackupId: string
timeouts:
create: string
delete: string
update: string
version: string
MariaDBClusterV2 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 MariaDBClusterV2 resource accepts the following input properties:
- Backup
Ionoscloud.
Maria DBCluster V2Backup - [object] Configures backup location and retention.
- Connections
Ionoscloud.
Maria DBCluster V2Connections - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- Credentials
Ionoscloud.
Maria DBCluster V2Credentials - [object] Credentials for the initial database user to be created.
- Instances
Ionoscloud.
Maria DBCluster V2Instances - [object] Compute and storage configuration for each instance in the cluster.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Maintenance
Window Ionoscloud.Maria DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths. - Description string
- [string] Human-readable description for the cluster.
- Logs
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- Metrics
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- Name string
- [string] The name of the MariaDB cluster.
- Restore
From Ionoscloud.Backup Maria DBCluster V2Restore From Backup - [object] Restores the cluster from a backup.
- Timeouts
Ionoscloud.
Maria DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete.
- Backup
Maria
DBCluster V2Backup Args - [object] Configures backup location and retention.
- Connections
Maria
DBCluster V2Connections Args - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- Credentials
Maria
DBCluster V2Credentials Args - [object] Credentials for the initial database user to be created.
- Instances
Maria
DBCluster V2Instances Args - [object] Compute and storage configuration for each instance in the cluster.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Maintenance
Window MariaDBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths. - Description string
- [string] Human-readable description for the cluster.
- Logs
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- Metrics
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- Name string
- [string] The name of the MariaDB cluster.
- Restore
From MariaBackup DBCluster V2Restore From Backup Args - [object] Restores the cluster from a backup.
- Timeouts
Maria
DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete.
- backup object
- [object] Configures backup location and retention.
- connections object
- [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials object
- [object] Credentials for the initial database user to be created.
- instances object
- [object] Compute and storage configuration for each instance in the cluster.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance_
window object - [object] A weekly 4 hour-long window, during which maintenance might occur.
- version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths. - description string
- [string] Human-readable description for the cluster.
- logs_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- metrics_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name string
- [string] The name of the MariaDB cluster.
- restore_
from_ objectbackup - [object] Restores the cluster from a backup.
- timeouts object
- Standard Terraform timeouts:
create,update,delete.
- backup
Maria
DBCluster V2Backup - [object] Configures backup location and retention.
- connections
Maria
DBCluster V2Connections - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials
Maria
DBCluster V2Credentials - [object] Credentials for the initial database user to be created.
- instances
Maria
DBCluster V2Instances - [object] Compute and storage configuration for each instance in the cluster.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance
Window MariaDBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- version String
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths. - description String
- [string] Human-readable description for the cluster.
- logs
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- metrics
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name String
- [string] The name of the MariaDB cluster.
- restore
From MariaBackup DBCluster V2Restore From Backup - [object] Restores the cluster from a backup.
- timeouts
Maria
DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete.
- backup
Maria
DBCluster V2Backup - [object] Configures backup location and retention.
- connections
Maria
DBCluster V2Connections - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials
Maria
DBCluster V2Credentials - [object] Credentials for the initial database user to be created.
- instances
Maria
DBCluster V2Instances - [object] Compute and storage configuration for each instance in the cluster.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance
Window MariaDBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths. - description string
- [string] Human-readable description for the cluster.
- logs
Enabled boolean - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- metrics
Enabled boolean - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name string
- [string] The name of the MariaDB cluster.
- restore
From MariaBackup DBCluster V2Restore From Backup - [object] Restores the cluster from a backup.
- timeouts
Maria
DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete.
- backup
Maria
DBCluster V2Backup Args - [object] Configures backup location and retention.
- connections
Maria
DBCluster V2Connections Args - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials
Maria
DBCluster V2Credentials Args - [object] Credentials for the initial database user to be created.
- instances
Maria
DBCluster V2Instances Args - [object] Compute and storage configuration for each instance in the cluster.
- location str
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance_
window MariaDBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- version str
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths. - description str
- [string] Human-readable description for the cluster.
- logs_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- metrics_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name str
- [string] The name of the MariaDB cluster.
- restore_
from_ Mariabackup DBCluster V2Restore From Backup Args - [object] Restores the cluster from a backup.
- timeouts
Maria
DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete.
- backup Property Map
- [object] Configures backup location and retention.
- connections Property Map
- [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials Property Map
- [object] Credentials for the initial database user to be created.
- instances Property Map
- [object] Compute and storage configuration for each instance in the cluster.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance
Window Property Map - [object] A weekly 4 hour-long window, during which maintenance might occur.
- version String
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths. - description String
- [string] Human-readable description for the cluster.
- logs
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- metrics
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name String
- [string] The name of the MariaDB cluster.
- restore
From Property MapBackup - [object] Restores the cluster from a backup.
- timeouts Property Map
- Standard Terraform timeouts:
create,update,delete.
Outputs
All input properties are implicitly available as output properties. Additionally, the MariaDBClusterV2 resource produces the following output properties:
Look up Existing MariaDBClusterV2 Resource
Get an existing MariaDBClusterV2 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?: MariaDBClusterV2State, opts?: CustomResourceOptions): MariaDBClusterV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup: Optional[MariaDBClusterV2BackupArgs] = None,
connections: Optional[MariaDBClusterV2ConnectionsArgs] = None,
credentials: Optional[MariaDBClusterV2CredentialsArgs] = None,
description: Optional[str] = None,
dns_name: Optional[str] = None,
instances: Optional[MariaDBClusterV2InstancesArgs] = None,
location: Optional[str] = None,
logs_enabled: Optional[bool] = None,
maintenance_window: Optional[MariaDBClusterV2MaintenanceWindowArgs] = None,
metrics_enabled: Optional[bool] = None,
name: Optional[str] = None,
restore_from_backup: Optional[MariaDBClusterV2RestoreFromBackupArgs] = None,
timeouts: Optional[MariaDBClusterV2TimeoutsArgs] = None,
version: Optional[str] = None) -> MariaDBClusterV2func GetMariaDBClusterV2(ctx *Context, name string, id IDInput, state *MariaDBClusterV2State, opts ...ResourceOption) (*MariaDBClusterV2, error)public static MariaDBClusterV2 Get(string name, Input<string> id, MariaDBClusterV2State? state, CustomResourceOptions? opts = null)public static MariaDBClusterV2 get(String name, Output<String> id, MariaDBClusterV2State state, CustomResourceOptions options)resources: _: type: ionoscloud:dbaas:MariaDBClusterV2 get: id: ${id}import {
to = ionoscloud_dbaas_maria_d_b_cluster_v2.example
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 V2Backup - [object] Configures backup location and retention.
- Connections
Ionoscloud.
Maria DBCluster V2Connections - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- Credentials
Ionoscloud.
Maria DBCluster V2Credentials - [object] Credentials for the initial database user to be created.
- Description string
- [string] Human-readable description for the cluster.
- Dns
Name string - The DNS name used to access the cluster.
- Instances
Ionoscloud.
Maria DBCluster V2Instances - [object] Compute and storage configuration for each instance in the cluster.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Logs
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- Maintenance
Window Ionoscloud.Maria DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Metrics
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- Name string
- [string] The name of the MariaDB cluster.
- Restore
From Ionoscloud.Backup Maria DBCluster V2Restore From Backup - [object] Restores the cluster from a backup.
- Timeouts
Ionoscloud.
Maria DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete. - Version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths.
- Backup
Maria
DBCluster V2Backup Args - [object] Configures backup location and retention.
- Connections
Maria
DBCluster V2Connections Args - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- Credentials
Maria
DBCluster V2Credentials Args - [object] Credentials for the initial database user to be created.
- Description string
- [string] Human-readable description for the cluster.
- Dns
Name string - The DNS name used to access the cluster.
- Instances
Maria
DBCluster V2Instances Args - [object] Compute and storage configuration for each instance in the cluster.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Logs
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- Maintenance
Window MariaDBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Metrics
Enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- Name string
- [string] The name of the MariaDB cluster.
- Restore
From MariaBackup DBCluster V2Restore From Backup Args - [object] Restores the cluster from a backup.
- Timeouts
Maria
DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete. - Version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths.
- backup object
- [object] Configures backup location and retention.
- connections object
- [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials object
- [object] Credentials for the initial database user to be created.
- description string
- [string] Human-readable description for the cluster.
- dns_
name string - The DNS name used to access the cluster.
- instances object
- [object] Compute and storage configuration for each instance in the cluster.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- maintenance_
window object - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name string
- [string] The name of the MariaDB cluster.
- restore_
from_ objectbackup - [object] Restores the cluster from a backup.
- timeouts object
- Standard Terraform timeouts:
create,update,delete. - version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths.
- backup
Maria
DBCluster V2Backup - [object] Configures backup location and retention.
- connections
Maria
DBCluster V2Connections - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials
Maria
DBCluster V2Credentials - [object] Credentials for the initial database user to be created.
- description String
- [string] Human-readable description for the cluster.
- dns
Name String - The DNS name used to access the cluster.
- instances
Maria
DBCluster V2Instances - [object] Compute and storage configuration for each instance in the cluster.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- maintenance
Window MariaDBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name String
- [string] The name of the MariaDB cluster.
- restore
From MariaBackup DBCluster V2Restore From Backup - [object] Restores the cluster from a backup.
- timeouts
Maria
DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete. - version String
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths.
- backup
Maria
DBCluster V2Backup - [object] Configures backup location and retention.
- connections
Maria
DBCluster V2Connections - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials
Maria
DBCluster V2Credentials - [object] Credentials for the initial database user to be created.
- description string
- [string] Human-readable description for the cluster.
- dns
Name string - The DNS name used to access the cluster.
- instances
Maria
DBCluster V2Instances - [object] Compute and storage configuration for each instance in the cluster.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled boolean - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- maintenance
Window MariaDBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled boolean - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name string
- [string] The name of the MariaDB cluster.
- restore
From MariaBackup DBCluster V2Restore From Backup - [object] Restores the cluster from a backup.
- timeouts
Maria
DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete. - version string
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths.
- backup
Maria
DBCluster V2Backup Args - [object] Configures backup location and retention.
- connections
Maria
DBCluster V2Connections Args - [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials
Maria
DBCluster V2Credentials Args - [object] Credentials for the initial database user to be created.
- description str
- [string] Human-readable description for the cluster.
- dns_
name str - The DNS name used to access the cluster.
- instances
Maria
DBCluster V2Instances Args - [object] Compute and storage configuration for each instance in the cluster.
- location str
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- maintenance_
window MariaDBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics_
enabled bool - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name str
- [string] The name of the MariaDB cluster.
- restore_
from_ Mariabackup DBCluster V2Restore From Backup Args - [object] Restores the cluster from a backup.
- timeouts
Maria
DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete. - version str
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths.
- backup Property Map
- [object] Configures backup location and retention.
- connections Property Map
- [object] Connection information of the MariaDB cluster. Only one connection is allowed.
- credentials Property Map
- [object] Credentials for the initial database user to be created.
- description String
- [string] Human-readable description for the cluster.
- dns
Name String - The DNS name used to access the cluster.
- instances Property Map
- [object] Compute and storage configuration for each instance in the cluster.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of logs for this cluster's observability. If not set, the API default is used.
- maintenance
Window Property Map - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled Boolean - (Computed)[bool] Allows or disallows the collection and reporting of metrics for this cluster's observability. If not set, the API default is used.
- name String
- [string] The name of the MariaDB cluster.
- restore
From Property MapBackup - [object] Restores the cluster from a backup.
- timeouts Property Map
- Standard Terraform timeouts:
create,update,delete. - version String
- [string] The MariaDB version for the cluster. See the
ionoscloud.dbaas.getMariaDBVersionsV2data source for the list of supported versions and their available upgrade paths.
Supporting Types
MariaDBClusterV2Backup, MariaDBClusterV2BackupArgs
- Location string
- [string] The Object Storage location where the backup will be created. Changing this forces re-creation of the cluster.
- Retention
Days int - [int] Configures how many days cluster backups are retained.
- Location string
- [string] The Object Storage location where the backup will be created. Changing this forces re-creation of the cluster.
- Retention
Days int - [int] Configures how many days cluster backups are retained.
- location string
- [string] The Object Storage location where the backup will be created. Changing this forces re-creation of the cluster.
- retention_
days number - [int] Configures how many days cluster backups are retained.
- location String
- [string] The Object Storage location where the backup will be created. Changing this forces re-creation of the cluster.
- retention
Days Integer - [int] Configures how many days cluster backups are retained.
- location string
- [string] The Object Storage location where the backup will be created. Changing this forces re-creation of the cluster.
- retention
Days number - [int] Configures how many days cluster backups are retained.
- location str
- [string] The Object Storage location where the backup will be created. Changing this forces re-creation of the cluster.
- retention_
days int - [int] Configures how many days cluster backups are retained.
- location String
- [string] The Object Storage location where the backup will be created. Changing this forces re-creation of the cluster.
- retention
Days Number - [int] Configures how many days cluster backups are retained.
MariaDBClusterV2Connections, MariaDBClusterV2ConnectionsArgs
- Datacenter
Id string - [string] The datacenter to connect your instance to.
- Lan
Id string - [string] The numeric LAN ID to connect your instance to.
- Primary
Instance stringAddress - [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
- Datacenter
Id string - [string] The datacenter to connect your instance to.
- Lan
Id string - [string] The numeric LAN ID to connect your instance to.
- Primary
Instance stringAddress - [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
- datacenter_
id string - [string] The datacenter to connect your instance to.
- lan_
id string - [string] The numeric LAN ID to connect your instance to.
- primary_
instance_ stringaddress - [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
- datacenter
Id String - [string] The datacenter to connect your instance to.
- lan
Id String - [string] The numeric LAN ID to connect your instance to.
- primary
Instance StringAddress - [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
- datacenter
Id string - [string] The datacenter to connect your instance to.
- lan
Id string - [string] The numeric LAN ID to connect your instance to.
- primary
Instance stringAddress - [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
- datacenter_
id str - [string] The datacenter to connect your instance to.
- lan_
id str - [string] The numeric LAN ID to connect your instance to.
- primary_
instance_ straddress - [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
- datacenter
Id String - [string] The datacenter to connect your instance to.
- lan
Id String - [string] The numeric LAN ID to connect your instance to.
- primary
Instance StringAddress - [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
MariaDBClusterV2Credentials, MariaDBClusterV2CredentialsArgs
MariaDBClusterV2Instances, MariaDBClusterV2InstancesArgs
- Cores int
- [int] The number of CPU cores per instance.
- Count int
- [int] The total number of instances in the cluster (one primary and n-1 secondary).
- 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).
- Cores int
- [int] The number of CPU cores per instance.
- Count int
- [int] The total number of instances in the cluster (one primary and n-1 secondary).
- 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).
- cores number
- [int] The number of CPU cores per instance.
- count number
- [int] The total number of instances in the cluster (one primary and n-1 secondary).
- 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).
- cores Integer
- [int] The number of CPU cores per instance.
- count Integer
- [int] The total number of instances in the cluster (one primary and n-1 secondary).
- 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).
- cores number
- [int] The number of CPU cores per instance.
- count number
- [int] The total number of instances in the cluster (one primary and n-1 secondary).
- 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).
- cores int
- [int] The number of CPU cores per instance.
- count int
- [int] The total number of instances in the cluster (one primary and n-1 secondary).
- 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).
- cores Number
- [int] The number of CPU cores per instance.
- count Number
- [int] The total number of instances in the cluster (one primary and n-1 secondary).
- 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).
MariaDBClusterV2MaintenanceWindow, MariaDBClusterV2MaintenanceWindowArgs
- Day
Of stringThe Week - [string] The name of the week day.
- Time string
- [string] Start of the maintenance window in UTC time (
HH:MM:SS).
- Day
Of stringThe Week - [string] The name of the week day.
- Time string
- [string] Start of the maintenance window in UTC time (
HH:MM:SS).
- day_
of_ stringthe_ week - [string] The name of the week day.
- time string
- [string] Start of the maintenance window in UTC time (
HH:MM:SS).
- day
Of StringThe Week - [string] The name of the week day.
- time String
- [string] Start of the maintenance window in UTC time (
HH:MM:SS).
- day
Of stringThe Week - [string] The name of the week day.
- time string
- [string] Start of the maintenance window in UTC time (
HH:MM:SS).
- day_
of_ strthe_ week - [string] The name of the week day.
- time str
- [string] Start of the maintenance window in UTC time (
HH:MM:SS).
- day
Of StringThe Week - [string] The name of the week day.
- time String
- [string] Start of the maintenance window in UTC time (
HH:MM:SS).
MariaDBClusterV2RestoreFromBackup, MariaDBClusterV2RestoreFromBackupArgs
- Recovery
Target stringDatetime [string] ISO 8601 timestamp causing the system to replay backups up to the specified time. Optional for create-time restore; required for in-place restore during an update.
Note:
restoreFromBackupis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- Source
Backup stringId - [string] UUID of the backup to restore from. Required when
restoreFromBackupis set during cluster creation; not valid for in-place restore during an update.
- Recovery
Target stringDatetime [string] ISO 8601 timestamp causing the system to replay backups up to the specified time. Optional for create-time restore; required for in-place restore during an update.
Note:
restoreFromBackupis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- Source
Backup stringId - [string] UUID of the backup to restore from. Required when
restoreFromBackupis set during cluster creation; not valid for in-place restore during an update.
- recovery_
target_ stringdatetime [string] ISO 8601 timestamp causing the system to replay backups up to the specified time. Optional for create-time restore; required for in-place restore during an update.
Note:
restoreFromBackupis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source_
backup_ stringid - [string] UUID of the backup to restore from. Required when
restoreFromBackupis set during cluster creation; not valid for in-place restore during an update.
- recovery
Target StringDatetime [string] ISO 8601 timestamp causing the system to replay backups up to the specified time. Optional for create-time restore; required for in-place restore during an update.
Note:
restoreFromBackupis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source
Backup StringId - [string] UUID of the backup to restore from. Required when
restoreFromBackupis set during cluster creation; not valid for in-place restore during an update.
- recovery
Target stringDatetime [string] ISO 8601 timestamp causing the system to replay backups up to the specified time. Optional for create-time restore; required for in-place restore during an update.
Note:
restoreFromBackupis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source
Backup stringId - [string] UUID of the backup to restore from. Required when
restoreFromBackupis set during cluster creation; not valid for in-place restore during an update.
- recovery_
target_ strdatetime [string] ISO 8601 timestamp causing the system to replay backups up to the specified time. Optional for create-time restore; required for in-place restore during an update.
Note:
restoreFromBackupis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source_
backup_ strid - [string] UUID of the backup to restore from. Required when
restoreFromBackupis set during cluster creation; not valid for in-place restore during an update.
- recovery
Target StringDatetime [string] ISO 8601 timestamp causing the system to replay backups up to the specified time. Optional for create-time restore; required for in-place restore during an update.
Note:
restoreFromBackupis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source
Backup StringId - [string] UUID of the backup to restore from. Required when
restoreFromBackupis set during cluster creation; not valid for in-place restore during an update.
MariaDBClusterV2Timeouts, MariaDBClusterV2TimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
MariaDB V2 clusters can be imported using <location>:<cluster_id>:
$ pulumi import ionoscloud:dbaas/mariaDBClusterV2:MariaDBClusterV2 example de/txl:example-id
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 Tuesday, Sep 15, 2026 by ionos-cloud