1. Registry
  2. Packages
  3. Ionoscloud
  4. API Docs
  5. dbaas
  6. MariaDBClusterV2
Viewing docs for IonosCloud v0.3.3
published on Tuesday, Sep 15, 2026 by ionos-cloud
ionoscloud logo
Viewing docs for IonosCloud v0.3.3
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.MariaDBClusterV2Backup
    [object] Configures backup location and retention.
    Connections Ionoscloud.MariaDBClusterV2Connections
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    Credentials Ionoscloud.MariaDBClusterV2Credentials
    [object] Credentials for the initial database user to be created.
    Instances Ionoscloud.MariaDBClusterV2Instances
    [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.
    MaintenanceWindow Ionoscloud.MariaDBClusterV2MaintenanceWindow
    [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.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    Description string
    [string] Human-readable description for the cluster.
    LogsEnabled 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.
    MetricsEnabled 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.
    RestoreFromBackup Ionoscloud.MariaDBClusterV2RestoreFromBackup
    [object] Restores the cluster from a backup.
    Timeouts Ionoscloud.MariaDBClusterV2Timeouts
    Standard Terraform timeouts: create, update, delete.
    Backup MariaDBClusterV2BackupArgs
    [object] Configures backup location and retention.
    Connections MariaDBClusterV2ConnectionsArgs
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    Credentials MariaDBClusterV2CredentialsArgs
    [object] Credentials for the initial database user to be created.
    Instances MariaDBClusterV2InstancesArgs
    [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.
    MaintenanceWindow MariaDBClusterV2MaintenanceWindowArgs
    [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.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    Description string
    [string] Human-readable description for the cluster.
    LogsEnabled 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.
    MetricsEnabled 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.
    RestoreFromBackup MariaDBClusterV2RestoreFromBackupArgs
    [object] Restores the cluster from a backup.
    Timeouts MariaDBClusterV2TimeoutsArgs
    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.getMariaDBVersionsV2 data 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_backup object
    [object] Restores the cluster from a backup.
    timeouts object
    Standard Terraform timeouts: create, update, delete.
    backup MariaDBClusterV2Backup
    [object] Configures backup location and retention.
    connections MariaDBClusterV2Connections
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    credentials MariaDBClusterV2Credentials
    [object] Credentials for the initial database user to be created.
    instances MariaDBClusterV2Instances
    [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.
    maintenanceWindow MariaDBClusterV2MaintenanceWindow
    [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.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    description String
    [string] Human-readable description for the cluster.
    logsEnabled 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.
    metricsEnabled 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.
    restoreFromBackup MariaDBClusterV2RestoreFromBackup
    [object] Restores the cluster from a backup.
    timeouts MariaDBClusterV2Timeouts
    Standard Terraform timeouts: create, update, delete.
    backup MariaDBClusterV2Backup
    [object] Configures backup location and retention.
    connections MariaDBClusterV2Connections
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    credentials MariaDBClusterV2Credentials
    [object] Credentials for the initial database user to be created.
    instances MariaDBClusterV2Instances
    [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.
    maintenanceWindow MariaDBClusterV2MaintenanceWindow
    [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.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    description string
    [string] Human-readable description for the cluster.
    logsEnabled 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.
    metricsEnabled 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.
    restoreFromBackup MariaDBClusterV2RestoreFromBackup
    [object] Restores the cluster from a backup.
    timeouts MariaDBClusterV2Timeouts
    Standard Terraform timeouts: create, update, delete.
    backup MariaDBClusterV2BackupArgs
    [object] Configures backup location and retention.
    connections MariaDBClusterV2ConnectionsArgs
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    credentials MariaDBClusterV2CredentialsArgs
    [object] Credentials for the initial database user to be created.
    instances MariaDBClusterV2InstancesArgs
    [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 MariaDBClusterV2MaintenanceWindowArgs
    [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.getMariaDBVersionsV2 data 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_backup MariaDBClusterV2RestoreFromBackupArgs
    [object] Restores the cluster from a backup.
    timeouts MariaDBClusterV2TimeoutsArgs
    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.
    maintenanceWindow 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.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    description String
    [string] Human-readable description for the cluster.
    logsEnabled 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.
    metricsEnabled 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.
    restoreFromBackup Property Map
    [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:

    DnsName string
    The DNS name used to access the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    DnsName string
    The DNS name used to access the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    dns_name string
    The DNS name used to access the cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    dnsName String
    The DNS name used to access the cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    dnsName string
    The DNS name used to access the cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    dns_name str
    The DNS name used to access the cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    dnsName String
    The DNS name used to access the cluster.
    id String
    The provider-assigned unique ID for this managed resource.

    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) -> MariaDBClusterV2
    func 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.
    The following state arguments are supported:
    Backup Ionoscloud.MariaDBClusterV2Backup
    [object] Configures backup location and retention.
    Connections Ionoscloud.MariaDBClusterV2Connections
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    Credentials Ionoscloud.MariaDBClusterV2Credentials
    [object] Credentials for the initial database user to be created.
    Description string
    [string] Human-readable description for the cluster.
    DnsName string
    The DNS name used to access the cluster.
    Instances Ionoscloud.MariaDBClusterV2Instances
    [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.
    LogsEnabled 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.
    MaintenanceWindow Ionoscloud.MariaDBClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    MetricsEnabled 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.
    RestoreFromBackup Ionoscloud.MariaDBClusterV2RestoreFromBackup
    [object] Restores the cluster from a backup.
    Timeouts Ionoscloud.MariaDBClusterV2Timeouts
    Standard Terraform timeouts: create, update, delete.
    Version string
    [string] The MariaDB version for the cluster. See the ionoscloud.dbaas.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    Backup MariaDBClusterV2BackupArgs
    [object] Configures backup location and retention.
    Connections MariaDBClusterV2ConnectionsArgs
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    Credentials MariaDBClusterV2CredentialsArgs
    [object] Credentials for the initial database user to be created.
    Description string
    [string] Human-readable description for the cluster.
    DnsName string
    The DNS name used to access the cluster.
    Instances MariaDBClusterV2InstancesArgs
    [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.
    LogsEnabled 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.
    MaintenanceWindow MariaDBClusterV2MaintenanceWindowArgs
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    MetricsEnabled 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.
    RestoreFromBackup MariaDBClusterV2RestoreFromBackupArgs
    [object] Restores the cluster from a backup.
    Timeouts MariaDBClusterV2TimeoutsArgs
    Standard Terraform timeouts: create, update, delete.
    Version string
    [string] The MariaDB version for the cluster. See the ionoscloud.dbaas.getMariaDBVersionsV2 data 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_backup object
    [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.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    backup MariaDBClusterV2Backup
    [object] Configures backup location and retention.
    connections MariaDBClusterV2Connections
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    credentials MariaDBClusterV2Credentials
    [object] Credentials for the initial database user to be created.
    description String
    [string] Human-readable description for the cluster.
    dnsName String
    The DNS name used to access the cluster.
    instances MariaDBClusterV2Instances
    [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.
    logsEnabled 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.
    maintenanceWindow MariaDBClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metricsEnabled 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.
    restoreFromBackup MariaDBClusterV2RestoreFromBackup
    [object] Restores the cluster from a backup.
    timeouts MariaDBClusterV2Timeouts
    Standard Terraform timeouts: create, update, delete.
    version String
    [string] The MariaDB version for the cluster. See the ionoscloud.dbaas.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    backup MariaDBClusterV2Backup
    [object] Configures backup location and retention.
    connections MariaDBClusterV2Connections
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    credentials MariaDBClusterV2Credentials
    [object] Credentials for the initial database user to be created.
    description string
    [string] Human-readable description for the cluster.
    dnsName string
    The DNS name used to access the cluster.
    instances MariaDBClusterV2Instances
    [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.
    logsEnabled 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.
    maintenanceWindow MariaDBClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metricsEnabled 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.
    restoreFromBackup MariaDBClusterV2RestoreFromBackup
    [object] Restores the cluster from a backup.
    timeouts MariaDBClusterV2Timeouts
    Standard Terraform timeouts: create, update, delete.
    version string
    [string] The MariaDB version for the cluster. See the ionoscloud.dbaas.getMariaDBVersionsV2 data source for the list of supported versions and their available upgrade paths.
    backup MariaDBClusterV2BackupArgs
    [object] Configures backup location and retention.
    connections MariaDBClusterV2ConnectionsArgs
    [object] Connection information of the MariaDB cluster. Only one connection is allowed.
    credentials MariaDBClusterV2CredentialsArgs
    [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 MariaDBClusterV2InstancesArgs
    [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 MariaDBClusterV2MaintenanceWindowArgs
    [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_backup MariaDBClusterV2RestoreFromBackupArgs
    [object] Restores the cluster from a backup.
    timeouts MariaDBClusterV2TimeoutsArgs
    Standard Terraform timeouts: create, update, delete.
    version str
    [string] The MariaDB version for the cluster. See the ionoscloud.dbaas.getMariaDBVersionsV2 data 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.
    dnsName 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.
    logsEnabled 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.
    maintenanceWindow Property Map
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metricsEnabled 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.
    restoreFromBackup Property Map
    [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.getMariaDBVersionsV2 data 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.
    RetentionDays 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.
    RetentionDays 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.
    retentionDays 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.
    retentionDays 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.
    retentionDays Number
    [int] Configures how many days cluster backups are retained.

    MariaDBClusterV2Connections, MariaDBClusterV2ConnectionsArgs

    DatacenterId string
    [string] The datacenter to connect your instance to.
    LanId string
    [string] The numeric LAN ID to connect your instance to.
    PrimaryInstanceAddress string
    [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
    DatacenterId string
    [string] The datacenter to connect your instance to.
    LanId string
    [string] The numeric LAN ID to connect your instance to.
    PrimaryInstanceAddress string
    [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_address string
    [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
    datacenterId String
    [string] The datacenter to connect your instance to.
    lanId String
    [string] The numeric LAN ID to connect your instance to.
    primaryInstanceAddress String
    [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
    datacenterId string
    [string] The datacenter to connect your instance to.
    lanId string
    [string] The numeric LAN ID to connect your instance to.
    primaryInstanceAddress string
    [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_address str
    [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.
    datacenterId String
    [string] The datacenter to connect your instance to.
    lanId String
    [string] The numeric LAN ID to connect your instance to.
    primaryInstanceAddress String
    [string] The IP address and netmask of the cluster's primary instance, in CIDR notation.

    MariaDBClusterV2Credentials, MariaDBClusterV2CredentialsArgs

    Database string
    [string] The name of the initial database to be created.
    Password string
    [string] Sensitive. The password for the initial MariaDB user. Not returned by the API — will be null in state after pulumi import.
    Username string
    [string] The username of the initial MariaDB user.
    Database string
    [string] The name of the initial database to be created.
    Password string
    [string] Sensitive. The password for the initial MariaDB user. Not returned by the API — will be null in state after pulumi import.
    Username string
    [string] The username of the initial MariaDB user.
    database string
    [string] The name of the initial database to be created.
    password string
    [string] Sensitive. The password for the initial MariaDB user. Not returned by the API — will be null in state after pulumi import.
    username string
    [string] The username of the initial MariaDB user.
    database String
    [string] The name of the initial database to be created.
    password String
    [string] Sensitive. The password for the initial MariaDB user. Not returned by the API — will be null in state after pulumi import.
    username String
    [string] The username of the initial MariaDB user.
    database string
    [string] The name of the initial database to be created.
    password string
    [string] Sensitive. The password for the initial MariaDB user. Not returned by the API — will be null in state after pulumi import.
    username string
    [string] The username of the initial MariaDB user.
    database str
    [string] The name of the initial database to be created.
    password str
    [string] Sensitive. The password for the initial MariaDB user. Not returned by the API — will be null in state after pulumi import.
    username str
    [string] The username of the initial MariaDB user.
    database String
    [string] The name of the initial database to be created.
    password String
    [string] Sensitive. The password for the initial MariaDB user. Not returned by the API — will be null in state after pulumi import.
    username String
    [string] The username of the initial MariaDB user.

    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).
    StorageSize 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).
    StorageSize 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).
    storageSize 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).
    storageSize 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).
    storageSize Number
    [int] The amount of storage per instance in gigabytes (GB).

    MariaDBClusterV2MaintenanceWindow, MariaDBClusterV2MaintenanceWindowArgs

    DayOfTheWeek string
    [string] The name of the week day.
    Time string
    [string] Start of the maintenance window in UTC time (HH:MM:SS).
    DayOfTheWeek string
    [string] The name of the week day.
    Time string
    [string] Start of the maintenance window in UTC time (HH:MM:SS).
    day_of_the_week string
    [string] The name of the week day.
    time string
    [string] Start of the maintenance window in UTC time (HH:MM:SS).
    dayOfTheWeek String
    [string] The name of the week day.
    time String
    [string] Start of the maintenance window in UTC time (HH:MM:SS).
    dayOfTheWeek string
    [string] The name of the week day.
    time string
    [string] Start of the maintenance window in UTC time (HH:MM:SS).
    day_of_the_week str
    [string] The name of the week day.
    time str
    [string] Start of the maintenance window in UTC time (HH:MM:SS).
    dayOfTheWeek String
    [string] The name of the week day.
    time String
    [string] Start of the maintenance window in UTC time (HH:MM:SS).

    MariaDBClusterV2RestoreFromBackup, MariaDBClusterV2RestoreFromBackupArgs

    RecoveryTargetDatetime string

    [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: restoreFromBackup is not returned by the API. The values are stored in state as configured but will be null after pulumi import.

    SourceBackupId string
    [string] UUID of the backup to restore from. Required when restoreFromBackup is set during cluster creation; not valid for in-place restore during an update.
    RecoveryTargetDatetime string

    [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: restoreFromBackup is not returned by the API. The values are stored in state as configured but will be null after pulumi import.

    SourceBackupId string
    [string] UUID of the backup to restore from. Required when restoreFromBackup is set during cluster creation; not valid for in-place restore during an update.
    recovery_target_datetime string

    [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: restoreFromBackup is not returned by the API. The values are stored in state as configured but will be null after pulumi import.

    source_backup_id string
    [string] UUID of the backup to restore from. Required when restoreFromBackup is set during cluster creation; not valid for in-place restore during an update.
    recoveryTargetDatetime String

    [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: restoreFromBackup is not returned by the API. The values are stored in state as configured but will be null after pulumi import.

    sourceBackupId String
    [string] UUID of the backup to restore from. Required when restoreFromBackup is set during cluster creation; not valid for in-place restore during an update.
    recoveryTargetDatetime string

    [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: restoreFromBackup is not returned by the API. The values are stored in state as configured but will be null after pulumi import.

    sourceBackupId string
    [string] UUID of the backup to restore from. Required when restoreFromBackup is set during cluster creation; not valid for in-place restore during an update.
    recovery_target_datetime str

    [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: restoreFromBackup is not returned by the API. The values are stored in state as configured but will be null after pulumi import.

    source_backup_id str
    [string] UUID of the backup to restore from. Required when restoreFromBackup is set during cluster creation; not valid for in-place restore during an update.
    recoveryTargetDatetime String

    [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: restoreFromBackup is not returned by the API. The values are stored in state as configured but will be null after pulumi import.

    sourceBackupId String
    [string] UUID of the backup to restore from. Required when restoreFromBackup is 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 ionoscloud Terraform Provider.
    ionoscloud logo
    Viewing docs for IonosCloud v0.3.3
    published on Tuesday, Sep 15, 2026 by ionos-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial