1. Packages
  2. DanubeData
  3. API Docs
  4. Database
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
danubedata logo
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi

    # danubedata.Database

    Manages a managed database instance (MySQL, PostgreSQL, or MariaDB).

    Example Usage

    MySQL Database

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      mysql:
        type: danubedata:Database
        properties:
          databaseName: app_production
          engine: mysql
          version: '8.0'
          storageSizeGb: 20
          memorySizeMb: 2048
          cpuCores: 2
          datacenter: fsn1
    outputs:
      mysqlEndpoint: ${mysql.endpoint}
      mysqlPort: ${mysql.port}
    

    PostgreSQL Database

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      postgres:
        type: danubedata:Database
        properties:
          cpuCores: 4
          databaseName: analytics
          datacenter: fsn1
          engine: postgresql
          memorySizeMb: 4096
          storageSizeGb: 50
          version: '16'
    

    MariaDB Database

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      mariadb:
        type: danubedata:Database
        properties:
          cpuCores: 2
          databaseName: legacy_app
          datacenter: fsn1
          engine: mariadb
          memorySizeMb: 2048
          storageSizeGb: 20
    

    Using Resource Profile

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const standard = new danubedata.Database("standard", {
        datacenter: "fsn1",
        engine: "mysql",
        resourceProfile: "db-medium",
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    standard = danubedata.Database("standard",
        datacenter="fsn1",
        engine="mysql",
        resource_profile="db-medium")
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := danubedata.NewDatabase(ctx, "standard", &danubedata.DatabaseArgs{
    			Datacenter:      pulumi.String("fsn1"),
    			Engine:          pulumi.String("mysql"),
    			ResourceProfile: pulumi.String("db-medium"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var standard = new DanubeData.Database("standard", new()
        {
            Datacenter = "fsn1",
            Engine = "mysql",
            ResourceProfile = "db-medium",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Database;
    import com.pulumi.danubedata.DatabaseArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 standard = new Database("standard", DatabaseArgs.builder()
                .datacenter("fsn1")
                .engine("mysql")
                .resourceProfile("db-medium")
                .build());
    
        }
    }
    
    resources:
      standard:
        type: danubedata:Database
        properties:
          datacenter: fsn1
          engine: mysql
          resourceProfile: db-medium
    

    Notes

    • Database credentials are managed separately and can be retrieved via the API.
    • Storage size can only be increased, not decreased.
    • Version upgrades may cause brief downtime.

    Create Database Resource

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

    Constructor syntax

    new Database(name: string, args: DatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def Database(resource_name: str,
                 args: DatabaseArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Database(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 datacenter: Optional[str] = None,
                 engine: Optional[str] = None,
                 resource_profile: Optional[str] = None,
                 database_name: Optional[str] = None,
                 name: Optional[str] = None,
                 parameter_group_id: Optional[str] = None,
                 timeouts: Optional[DatabaseTimeoutsArgs] = None,
                 version: Optional[str] = None)
    func NewDatabase(ctx *Context, name string, args DatabaseArgs, opts ...ResourceOption) (*Database, error)
    public Database(string name, DatabaseArgs args, CustomResourceOptions? opts = null)
    public Database(String name, DatabaseArgs args)
    public Database(String name, DatabaseArgs args, CustomResourceOptions options)
    
    type: danubedata:Database
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DatabaseArgs
    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 DatabaseArgs
    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 DatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatabaseArgs
    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 databaseResource = new DanubeData.Database("databaseResource", new()
    {
        Datacenter = "string",
        Engine = "string",
        ResourceProfile = "string",
        DatabaseName = "string",
        Name = "string",
        ParameterGroupId = "string",
        Timeouts = new DanubeData.Inputs.DatabaseTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Version = "string",
    });
    
    example, err := danubedata.NewDatabase(ctx, "databaseResource", &danubedata.DatabaseArgs{
    	Datacenter:       pulumi.String("string"),
    	Engine:           pulumi.String("string"),
    	ResourceProfile:  pulumi.String("string"),
    	DatabaseName:     pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	ParameterGroupId: pulumi.String("string"),
    	Timeouts: &danubedata.DatabaseTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Version: pulumi.String("string"),
    })
    
    var databaseResource = new Database("databaseResource", DatabaseArgs.builder()
        .datacenter("string")
        .engine("string")
        .resourceProfile("string")
        .databaseName("string")
        .name("string")
        .parameterGroupId("string")
        .timeouts(DatabaseTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .version("string")
        .build());
    
    database_resource = danubedata.Database("databaseResource",
        datacenter="string",
        engine="string",
        resource_profile="string",
        database_name="string",
        name="string",
        parameter_group_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        version="string")
    
    const databaseResource = new danubedata.Database("databaseResource", {
        datacenter: "string",
        engine: "string",
        resourceProfile: "string",
        databaseName: "string",
        name: "string",
        parameterGroupId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        version: "string",
    });
    
    type: danubedata:Database
    properties:
        databaseName: string
        datacenter: string
        engine: string
        name: string
        parameterGroupId: string
        resourceProfile: string
        timeouts:
            create: string
            delete: string
            update: string
        version: string
    

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

    Datacenter string
    Datacenter location (fsn1, nbg1, hel1).
    Engine string
    Database engine (mysql, postgresql, mariadb).
    ResourceProfile string
    Resource profile for the database (small, medium, large).
    DatabaseName string
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    Name string
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Timeouts DanubeData.DanubeData.Inputs.DatabaseTimeouts
    Version string
    Version of the database software.
    Datacenter string
    Datacenter location (fsn1, nbg1, hel1).
    Engine string
    Database engine (mysql, postgresql, mariadb).
    ResourceProfile string
    Resource profile for the database (small, medium, large).
    DatabaseName string
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    Name string
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Timeouts DatabaseTimeoutsArgs
    Version string
    Version of the database software.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1).
    engine String
    Database engine (mysql, postgresql, mariadb).
    resourceProfile String
    Resource profile for the database (small, medium, large).
    databaseName String
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    name String
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    timeouts DatabaseTimeouts
    version String
    Version of the database software.
    datacenter string
    Datacenter location (fsn1, nbg1, hel1).
    engine string
    Database engine (mysql, postgresql, mariadb).
    resourceProfile string
    Resource profile for the database (small, medium, large).
    databaseName string
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    name string
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameterGroupId string
    ID of the parameter group to use for custom configuration.
    timeouts DatabaseTimeouts
    version string
    Version of the database software.
    datacenter str
    Datacenter location (fsn1, nbg1, hel1).
    engine str
    Database engine (mysql, postgresql, mariadb).
    resource_profile str
    Resource profile for the database (small, medium, large).
    database_name str
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    name str
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameter_group_id str
    ID of the parameter group to use for custom configuration.
    timeouts DatabaseTimeoutsArgs
    version str
    Version of the database software.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1).
    engine String
    Database engine (mysql, postgresql, mariadb).
    resourceProfile String
    Resource profile for the database (small, medium, large).
    databaseName String
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    name String
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    timeouts Property Map
    version String
    Version of the database software.

    Outputs

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

    CpuCores int
    Number of CPU cores. Derived from resource_profile.
    CreatedAt string
    Creation timestamp.
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    Id string
    The provider-assigned unique ID for this managed resource.
    MemorySizeMb int
    Memory size in MB. Derived from resource_profile.
    MonthlyCost double
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Port int
    Connection port.
    Status string
    Current status.
    StorageSizeGb int
    Storage size in GB. Derived from resource_profile.
    UpdatedAt string
    Timestamp when the database instance was last updated.
    Username string
    Database admin username.
    CpuCores int
    Number of CPU cores. Derived from resource_profile.
    CreatedAt string
    Creation timestamp.
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    Id string
    The provider-assigned unique ID for this managed resource.
    MemorySizeMb int
    Memory size in MB. Derived from resource_profile.
    MonthlyCost float64
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Port int
    Connection port.
    Status string
    Current status.
    StorageSizeGb int
    Storage size in GB. Derived from resource_profile.
    UpdatedAt string
    Timestamp when the database instance was last updated.
    Username string
    Database admin username.
    cpuCores Integer
    Number of CPU cores. Derived from resource_profile.
    createdAt String
    Creation timestamp.
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    id String
    The provider-assigned unique ID for this managed resource.
    memorySizeMb Integer
    Memory size in MB. Derived from resource_profile.
    monthlyCost Double
    Estimated monthly cost.
    monthlyCostCents Integer
    Monthly cost in cents.
    port Integer
    Connection port.
    status String
    Current status.
    storageSizeGb Integer
    Storage size in GB. Derived from resource_profile.
    updatedAt String
    Timestamp when the database instance was last updated.
    username String
    Database admin username.
    cpuCores number
    Number of CPU cores. Derived from resource_profile.
    createdAt string
    Creation timestamp.
    deployedAt string
    Deployment timestamp.
    endpoint string
    Connection endpoint hostname.
    id string
    The provider-assigned unique ID for this managed resource.
    memorySizeMb number
    Memory size in MB. Derived from resource_profile.
    monthlyCost number
    Estimated monthly cost.
    monthlyCostCents number
    Monthly cost in cents.
    port number
    Connection port.
    status string
    Current status.
    storageSizeGb number
    Storage size in GB. Derived from resource_profile.
    updatedAt string
    Timestamp when the database instance was last updated.
    username string
    Database admin username.
    cpu_cores int
    Number of CPU cores. Derived from resource_profile.
    created_at str
    Creation timestamp.
    deployed_at str
    Deployment timestamp.
    endpoint str
    Connection endpoint hostname.
    id str
    The provider-assigned unique ID for this managed resource.
    memory_size_mb int
    Memory size in MB. Derived from resource_profile.
    monthly_cost float
    Estimated monthly cost.
    monthly_cost_cents int
    Monthly cost in cents.
    port int
    Connection port.
    status str
    Current status.
    storage_size_gb int
    Storage size in GB. Derived from resource_profile.
    updated_at str
    Timestamp when the database instance was last updated.
    username str
    Database admin username.
    cpuCores Number
    Number of CPU cores. Derived from resource_profile.
    createdAt String
    Creation timestamp.
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    id String
    The provider-assigned unique ID for this managed resource.
    memorySizeMb Number
    Memory size in MB. Derived from resource_profile.
    monthlyCost Number
    Estimated monthly cost.
    monthlyCostCents Number
    Monthly cost in cents.
    port Number
    Connection port.
    status String
    Current status.
    storageSizeGb Number
    Storage size in GB. Derived from resource_profile.
    updatedAt String
    Timestamp when the database instance was last updated.
    username String
    Database admin username.

    Look up Existing Database Resource

    Get an existing Database 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?: DatabaseState, opts?: CustomResourceOptions): Database
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cpu_cores: Optional[int] = None,
            created_at: Optional[str] = None,
            database_name: Optional[str] = None,
            datacenter: Optional[str] = None,
            deployed_at: Optional[str] = None,
            endpoint: Optional[str] = None,
            engine: Optional[str] = None,
            memory_size_mb: Optional[int] = None,
            monthly_cost: Optional[float] = None,
            monthly_cost_cents: Optional[int] = None,
            name: Optional[str] = None,
            parameter_group_id: Optional[str] = None,
            port: Optional[int] = None,
            resource_profile: Optional[str] = None,
            status: Optional[str] = None,
            storage_size_gb: Optional[int] = None,
            timeouts: Optional[DatabaseTimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            username: Optional[str] = None,
            version: Optional[str] = None) -> Database
    func GetDatabase(ctx *Context, name string, id IDInput, state *DatabaseState, opts ...ResourceOption) (*Database, error)
    public static Database Get(string name, Input<string> id, DatabaseState? state, CustomResourceOptions? opts = null)
    public static Database get(String name, Output<String> id, DatabaseState state, CustomResourceOptions options)
    resources:  _:    type: danubedata:Database    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CpuCores int
    Number of CPU cores. Derived from resource_profile.
    CreatedAt string
    Creation timestamp.
    DatabaseName string
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    Datacenter string
    Datacenter location (fsn1, nbg1, hel1).
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    Engine string
    Database engine (mysql, postgresql, mariadb).
    MemorySizeMb int
    Memory size in MB. Derived from resource_profile.
    MonthlyCost double
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Name string
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Port int
    Connection port.
    ResourceProfile string
    Resource profile for the database (small, medium, large).
    Status string
    Current status.
    StorageSizeGb int
    Storage size in GB. Derived from resource_profile.
    Timeouts DanubeData.DanubeData.Inputs.DatabaseTimeouts
    UpdatedAt string
    Timestamp when the database instance was last updated.
    Username string
    Database admin username.
    Version string
    Version of the database software.
    CpuCores int
    Number of CPU cores. Derived from resource_profile.
    CreatedAt string
    Creation timestamp.
    DatabaseName string
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    Datacenter string
    Datacenter location (fsn1, nbg1, hel1).
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    Engine string
    Database engine (mysql, postgresql, mariadb).
    MemorySizeMb int
    Memory size in MB. Derived from resource_profile.
    MonthlyCost float64
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Name string
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Port int
    Connection port.
    ResourceProfile string
    Resource profile for the database (small, medium, large).
    Status string
    Current status.
    StorageSizeGb int
    Storage size in GB. Derived from resource_profile.
    Timeouts DatabaseTimeoutsArgs
    UpdatedAt string
    Timestamp when the database instance was last updated.
    Username string
    Database admin username.
    Version string
    Version of the database software.
    cpuCores Integer
    Number of CPU cores. Derived from resource_profile.
    createdAt String
    Creation timestamp.
    databaseName String
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1).
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    engine String
    Database engine (mysql, postgresql, mariadb).
    memorySizeMb Integer
    Memory size in MB. Derived from resource_profile.
    monthlyCost Double
    Estimated monthly cost.
    monthlyCostCents Integer
    Monthly cost in cents.
    name String
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    port Integer
    Connection port.
    resourceProfile String
    Resource profile for the database (small, medium, large).
    status String
    Current status.
    storageSizeGb Integer
    Storage size in GB. Derived from resource_profile.
    timeouts DatabaseTimeouts
    updatedAt String
    Timestamp when the database instance was last updated.
    username String
    Database admin username.
    version String
    Version of the database software.
    cpuCores number
    Number of CPU cores. Derived from resource_profile.
    createdAt string
    Creation timestamp.
    databaseName string
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    datacenter string
    Datacenter location (fsn1, nbg1, hel1).
    deployedAt string
    Deployment timestamp.
    endpoint string
    Connection endpoint hostname.
    engine string
    Database engine (mysql, postgresql, mariadb).
    memorySizeMb number
    Memory size in MB. Derived from resource_profile.
    monthlyCost number
    Estimated monthly cost.
    monthlyCostCents number
    Monthly cost in cents.
    name string
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameterGroupId string
    ID of the parameter group to use for custom configuration.
    port number
    Connection port.
    resourceProfile string
    Resource profile for the database (small, medium, large).
    status string
    Current status.
    storageSizeGb number
    Storage size in GB. Derived from resource_profile.
    timeouts DatabaseTimeouts
    updatedAt string
    Timestamp when the database instance was last updated.
    username string
    Database admin username.
    version string
    Version of the database software.
    cpu_cores int
    Number of CPU cores. Derived from resource_profile.
    created_at str
    Creation timestamp.
    database_name str
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    datacenter str
    Datacenter location (fsn1, nbg1, hel1).
    deployed_at str
    Deployment timestamp.
    endpoint str
    Connection endpoint hostname.
    engine str
    Database engine (mysql, postgresql, mariadb).
    memory_size_mb int
    Memory size in MB. Derived from resource_profile.
    monthly_cost float
    Estimated monthly cost.
    monthly_cost_cents int
    Monthly cost in cents.
    name str
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameter_group_id str
    ID of the parameter group to use for custom configuration.
    port int
    Connection port.
    resource_profile str
    Resource profile for the database (small, medium, large).
    status str
    Current status.
    storage_size_gb int
    Storage size in GB. Derived from resource_profile.
    timeouts DatabaseTimeoutsArgs
    updated_at str
    Timestamp when the database instance was last updated.
    username str
    Database admin username.
    version str
    Version of the database software.
    cpuCores Number
    Number of CPU cores. Derived from resource_profile.
    createdAt String
    Creation timestamp.
    databaseName String
    Name of the initial database to create. Must start with a letter and contain only letters, numbers, and underscores.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1).
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    engine String
    Database engine (mysql, postgresql, mariadb).
    memorySizeMb Number
    Memory size in MB. Derived from resource_profile.
    monthlyCost Number
    Estimated monthly cost.
    monthlyCostCents Number
    Monthly cost in cents.
    name String
    Name of the database instance. Must be lowercase alphanumeric with hyphens (DNS compatible).
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    port Number
    Connection port.
    resourceProfile String
    Resource profile for the database (small, medium, large).
    status String
    Current status.
    storageSizeGb Number
    Storage size in GB. Derived from resource_profile.
    timeouts Property Map
    updatedAt String
    Timestamp when the database instance was last updated.
    username String
    Database admin username.
    version String
    Version of the database software.

    Supporting Types

    DatabaseTimeouts, DatabaseTimeoutsArgs

    Create string
    Time to wait for database creation.
    Delete string
    Time to wait for database deletion.
    Update string
    Time to wait for database updates.
    Create string
    Time to wait for database creation.
    Delete string
    Time to wait for database deletion.
    Update string
    Time to wait for database updates.
    create String
    Time to wait for database creation.
    delete String
    Time to wait for database deletion.
    update String
    Time to wait for database updates.
    create string
    Time to wait for database creation.
    delete string
    Time to wait for database deletion.
    update string
    Time to wait for database updates.
    create str
    Time to wait for database creation.
    delete str
    Time to wait for database deletion.
    update str
    Time to wait for database updates.
    create String
    Time to wait for database creation.
    delete String
    Time to wait for database deletion.
    update String
    Time to wait for database updates.

    Import

    Database instances can be imported using their ID:

    bash

    $ pulumi import danubedata:index/database:Database example db-abc123
    

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

    Package Details

    Repository
    danubedata AdrianSilaghi/pulumi-danubedata
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the danubedata Terraform Provider.
    danubedata logo
    DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
      Meet Neo: Your AI Platform Teammate