1. Packages
  2. Vultr
  3. API Docs
  4. Database
Vultr v2.27.1 published on Tuesday, Sep 30, 2025 by dirien

vultr.Database

Start a Neo task
Explain and create a vultr.Database resource
vultr logo
Vultr v2.27.1 published on Tuesday, Sep 30, 2025 by dirien

    Provides a Vultr database resource. This can be used to create, read, modify, and delete managed databases on your Vultr account.

    Example Usage

    Create a new database:

    import * as pulumi from "@pulumi/pulumi";
    import * as vultr from "@ediri/vultr";
    
    const myDatabase = new vultr.Database("myDatabase", {
        databaseEngine: "pg",
        databaseEngineVersion: "15",
        label: "my_database_label",
        plan: "vultr-dbaas-startup-cc-1-55-2",
        region: "ewr",
    });
    
    import pulumi
    import ediri_vultr as vultr
    
    my_database = vultr.Database("myDatabase",
        database_engine="pg",
        database_engine_version="15",
        label="my_database_label",
        plan="vultr-dbaas-startup-cc-1-55-2",
        region="ewr")
    
    package main
    
    import (
    	"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vultr.NewDatabase(ctx, "myDatabase", &vultr.DatabaseArgs{
    			DatabaseEngine:        pulumi.String("pg"),
    			DatabaseEngineVersion: pulumi.String("15"),
    			Label:                 pulumi.String("my_database_label"),
    			Plan:                  pulumi.String("vultr-dbaas-startup-cc-1-55-2"),
    			Region:                pulumi.String("ewr"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vultr = ediri.Vultr;
    
    return await Deployment.RunAsync(() => 
    {
        var myDatabase = new Vultr.Database("myDatabase", new()
        {
            DatabaseEngine = "pg",
            DatabaseEngineVersion = "15",
            Label = "my_database_label",
            Plan = "vultr-dbaas-startup-cc-1-55-2",
            Region = "ewr",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vultr.Database;
    import com.pulumi.vultr.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 myDatabase = new Database("myDatabase", DatabaseArgs.builder()
                .databaseEngine("pg")
                .databaseEngineVersion("15")
                .label("my_database_label")
                .plan("vultr-dbaas-startup-cc-1-55-2")
                .region("ewr")
                .build());
    
        }
    }
    
    resources:
      myDatabase:
        type: vultr:Database
        properties:
          databaseEngine: pg
          databaseEngineVersion: '15'
          label: my_database_label
          plan: vultr-dbaas-startup-cc-1-55-2
          region: ewr
    

    Create a new database with options:

    import * as pulumi from "@pulumi/pulumi";
    import * as vultr from "@ediri/vultr";
    
    const myDatabase = new vultr.Database("myDatabase", {
        clusterTimeZone: "America/New_York",
        databaseEngine: "pg",
        databaseEngineVersion: "15",
        label: "my_database_label",
        maintenanceDow: "sunday",
        maintenanceTime: "01:00",
        plan: "vultr-dbaas-startup-cc-1-55-2",
        region: "ewr",
        tag: "some tag",
    });
    
    import pulumi
    import ediri_vultr as vultr
    
    my_database = vultr.Database("myDatabase",
        cluster_time_zone="America/New_York",
        database_engine="pg",
        database_engine_version="15",
        label="my_database_label",
        maintenance_dow="sunday",
        maintenance_time="01:00",
        plan="vultr-dbaas-startup-cc-1-55-2",
        region="ewr",
        tag="some tag")
    
    package main
    
    import (
    	"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vultr.NewDatabase(ctx, "myDatabase", &vultr.DatabaseArgs{
    			ClusterTimeZone:       pulumi.String("America/New_York"),
    			DatabaseEngine:        pulumi.String("pg"),
    			DatabaseEngineVersion: pulumi.String("15"),
    			Label:                 pulumi.String("my_database_label"),
    			MaintenanceDow:        pulumi.String("sunday"),
    			MaintenanceTime:       pulumi.String("01:00"),
    			Plan:                  pulumi.String("vultr-dbaas-startup-cc-1-55-2"),
    			Region:                pulumi.String("ewr"),
    			Tag:                   pulumi.String("some tag"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vultr = ediri.Vultr;
    
    return await Deployment.RunAsync(() => 
    {
        var myDatabase = new Vultr.Database("myDatabase", new()
        {
            ClusterTimeZone = "America/New_York",
            DatabaseEngine = "pg",
            DatabaseEngineVersion = "15",
            Label = "my_database_label",
            MaintenanceDow = "sunday",
            MaintenanceTime = "01:00",
            Plan = "vultr-dbaas-startup-cc-1-55-2",
            Region = "ewr",
            Tag = "some tag",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vultr.Database;
    import com.pulumi.vultr.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 myDatabase = new Database("myDatabase", DatabaseArgs.builder()
                .clusterTimeZone("America/New_York")
                .databaseEngine("pg")
                .databaseEngineVersion("15")
                .label("my_database_label")
                .maintenanceDow("sunday")
                .maintenanceTime("01:00")
                .plan("vultr-dbaas-startup-cc-1-55-2")
                .region("ewr")
                .tag("some tag")
                .build());
    
        }
    }
    
    resources:
      myDatabase:
        type: vultr:Database
        properties:
          clusterTimeZone: America/New_York
          databaseEngine: pg
          databaseEngineVersion: '15'
          label: my_database_label
          maintenanceDow: sunday
          maintenanceTime: 01:00
          plan: vultr-dbaas-startup-cc-1-55-2
          region: ewr
          tag: some tag
    

    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,
                 database_engine: Optional[str] = None,
                 region: Optional[str] = None,
                 plan: Optional[str] = None,
                 label: Optional[str] = None,
                 database_engine_version: Optional[str] = None,
                 mysql_long_query_time: Optional[int] = None,
                 mysql_slow_query_log: Optional[bool] = None,
                 enable_kafka_connect: Optional[bool] = None,
                 enable_kafka_rest: Optional[bool] = None,
                 enable_schema_registry: Optional[bool] = None,
                 eviction_policy: Optional[str] = None,
                 ferretdb_credentials: Optional[Mapping[str, str]] = None,
                 kafka_rest_uri: Optional[str] = None,
                 backup_minute: Optional[str] = None,
                 maintenance_dow: Optional[str] = None,
                 maintenance_time: Optional[str] = None,
                 access_cert: Optional[str] = None,
                 mysql_require_primary_key: Optional[bool] = None,
                 cluster_time_zone: Optional[str] = None,
                 mysql_sql_modes: Optional[Sequence[str]] = None,
                 password: Optional[str] = None,
                 backup_hour: Optional[str] = None,
                 plan_brokers: Optional[int] = None,
                 plan_disk: Optional[int] = None,
                 plan_replicas: Optional[int] = None,
                 public_host: Optional[str] = None,
                 read_replicas: Optional[Sequence[DatabaseReadReplicaArgs]] = None,
                 access_key: Optional[str] = None,
                 sasl_port: Optional[str] = None,
                 schema_registry_uri: Optional[str] = None,
                 tag: Optional[str] = None,
                 trusted_ips: Optional[Sequence[str]] = None,
                 vpc_id: 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: vultr: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 Vultr.Database("databaseResource", new()
    {
        DatabaseEngine = "string",
        Region = "string",
        Plan = "string",
        Label = "string",
        DatabaseEngineVersion = "string",
        MysqlLongQueryTime = 0,
        MysqlSlowQueryLog = false,
        EnableKafkaConnect = false,
        EnableKafkaRest = false,
        EnableSchemaRegistry = false,
        EvictionPolicy = "string",
        FerretdbCredentials = 
        {
            { "string", "string" },
        },
        KafkaRestUri = "string",
        BackupMinute = "string",
        MaintenanceDow = "string",
        MaintenanceTime = "string",
        AccessCert = "string",
        MysqlRequirePrimaryKey = false,
        ClusterTimeZone = "string",
        MysqlSqlModes = new[]
        {
            "string",
        },
        Password = "string",
        BackupHour = "string",
        PlanBrokers = 0,
        PlanDisk = 0,
        PlanReplicas = 0,
        PublicHost = "string",
        ReadReplicas = new[]
        {
            new Vultr.Inputs.DatabaseReadReplicaArgs
            {
                Label = "string",
                Region = "string",
                MysqlRequirePrimaryKey = false,
                MysqlSqlModes = new[]
                {
                    "string",
                },
                DatabaseEngineVersion = "string",
                DateCreated = "string",
                Dbname = "string",
                EvictionPolicy = "string",
                FerretdbCredentials = 
                {
                    { "string", "string" },
                },
                Host = "string",
                Id = "string",
                ClusterTimeZone = "string",
                LatestBackup = "string",
                MaintenanceDow = "string",
                MaintenanceTime = "string",
                MysqlLongQueryTime = 0,
                DatabaseEngine = "string",
                BackupHour = "string",
                Plan = "string",
                Password = "string",
                MysqlSlowQueryLog = false,
                PlanDisk = 0,
                PlanRam = 0,
                PlanReplicas = 0,
                PlanVcpus = 0,
                Port = "string",
                PublicHost = "string",
                BackupMinute = "string",
                Status = "string",
                Tag = "string",
                TrustedIps = new[]
                {
                    "string",
                },
                User = "string",
                VpcId = "string",
            },
        },
        AccessKey = "string",
        SaslPort = "string",
        SchemaRegistryUri = "string",
        Tag = "string",
        TrustedIps = new[]
        {
            "string",
        },
        VpcId = "string",
    });
    
    example, err := vultr.NewDatabase(ctx, "databaseResource", &vultr.DatabaseArgs{
    	DatabaseEngine:        pulumi.String("string"),
    	Region:                pulumi.String("string"),
    	Plan:                  pulumi.String("string"),
    	Label:                 pulumi.String("string"),
    	DatabaseEngineVersion: pulumi.String("string"),
    	MysqlLongQueryTime:    pulumi.Int(0),
    	MysqlSlowQueryLog:     pulumi.Bool(false),
    	EnableKafkaConnect:    pulumi.Bool(false),
    	EnableKafkaRest:       pulumi.Bool(false),
    	EnableSchemaRegistry:  pulumi.Bool(false),
    	EvictionPolicy:        pulumi.String("string"),
    	FerretdbCredentials: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	KafkaRestUri:           pulumi.String("string"),
    	BackupMinute:           pulumi.String("string"),
    	MaintenanceDow:         pulumi.String("string"),
    	MaintenanceTime:        pulumi.String("string"),
    	AccessCert:             pulumi.String("string"),
    	MysqlRequirePrimaryKey: pulumi.Bool(false),
    	ClusterTimeZone:        pulumi.String("string"),
    	MysqlSqlModes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Password:     pulumi.String("string"),
    	BackupHour:   pulumi.String("string"),
    	PlanBrokers:  pulumi.Int(0),
    	PlanDisk:     pulumi.Int(0),
    	PlanReplicas: pulumi.Int(0),
    	PublicHost:   pulumi.String("string"),
    	ReadReplicas: vultr.DatabaseReadReplicaArray{
    		&vultr.DatabaseReadReplicaArgs{
    			Label:                  pulumi.String("string"),
    			Region:                 pulumi.String("string"),
    			MysqlRequirePrimaryKey: pulumi.Bool(false),
    			MysqlSqlModes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DatabaseEngineVersion: pulumi.String("string"),
    			DateCreated:           pulumi.String("string"),
    			Dbname:                pulumi.String("string"),
    			EvictionPolicy:        pulumi.String("string"),
    			FerretdbCredentials: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Host:               pulumi.String("string"),
    			Id:                 pulumi.String("string"),
    			ClusterTimeZone:    pulumi.String("string"),
    			LatestBackup:       pulumi.String("string"),
    			MaintenanceDow:     pulumi.String("string"),
    			MaintenanceTime:    pulumi.String("string"),
    			MysqlLongQueryTime: pulumi.Int(0),
    			DatabaseEngine:     pulumi.String("string"),
    			BackupHour:         pulumi.String("string"),
    			Plan:               pulumi.String("string"),
    			Password:           pulumi.String("string"),
    			MysqlSlowQueryLog:  pulumi.Bool(false),
    			PlanDisk:           pulumi.Int(0),
    			PlanRam:            pulumi.Int(0),
    			PlanReplicas:       pulumi.Int(0),
    			PlanVcpus:          pulumi.Int(0),
    			Port:               pulumi.String("string"),
    			PublicHost:         pulumi.String("string"),
    			BackupMinute:       pulumi.String("string"),
    			Status:             pulumi.String("string"),
    			Tag:                pulumi.String("string"),
    			TrustedIps: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			User:  pulumi.String("string"),
    			VpcId: pulumi.String("string"),
    		},
    	},
    	AccessKey:         pulumi.String("string"),
    	SaslPort:          pulumi.String("string"),
    	SchemaRegistryUri: pulumi.String("string"),
    	Tag:               pulumi.String("string"),
    	TrustedIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VpcId: pulumi.String("string"),
    })
    
    var databaseResource = new Database("databaseResource", DatabaseArgs.builder()
        .databaseEngine("string")
        .region("string")
        .plan("string")
        .label("string")
        .databaseEngineVersion("string")
        .mysqlLongQueryTime(0)
        .mysqlSlowQueryLog(false)
        .enableKafkaConnect(false)
        .enableKafkaRest(false)
        .enableSchemaRegistry(false)
        .evictionPolicy("string")
        .ferretdbCredentials(Map.of("string", "string"))
        .kafkaRestUri("string")
        .backupMinute("string")
        .maintenanceDow("string")
        .maintenanceTime("string")
        .accessCert("string")
        .mysqlRequirePrimaryKey(false)
        .clusterTimeZone("string")
        .mysqlSqlModes("string")
        .password("string")
        .backupHour("string")
        .planBrokers(0)
        .planDisk(0)
        .planReplicas(0)
        .publicHost("string")
        .readReplicas(DatabaseReadReplicaArgs.builder()
            .label("string")
            .region("string")
            .mysqlRequirePrimaryKey(false)
            .mysqlSqlModes("string")
            .databaseEngineVersion("string")
            .dateCreated("string")
            .dbname("string")
            .evictionPolicy("string")
            .ferretdbCredentials(Map.of("string", "string"))
            .host("string")
            .id("string")
            .clusterTimeZone("string")
            .latestBackup("string")
            .maintenanceDow("string")
            .maintenanceTime("string")
            .mysqlLongQueryTime(0)
            .databaseEngine("string")
            .backupHour("string")
            .plan("string")
            .password("string")
            .mysqlSlowQueryLog(false)
            .planDisk(0)
            .planRam(0)
            .planReplicas(0)
            .planVcpus(0)
            .port("string")
            .publicHost("string")
            .backupMinute("string")
            .status("string")
            .tag("string")
            .trustedIps("string")
            .user("string")
            .vpcId("string")
            .build())
        .accessKey("string")
        .saslPort("string")
        .schemaRegistryUri("string")
        .tag("string")
        .trustedIps("string")
        .vpcId("string")
        .build());
    
    database_resource = vultr.Database("databaseResource",
        database_engine="string",
        region="string",
        plan="string",
        label="string",
        database_engine_version="string",
        mysql_long_query_time=0,
        mysql_slow_query_log=False,
        enable_kafka_connect=False,
        enable_kafka_rest=False,
        enable_schema_registry=False,
        eviction_policy="string",
        ferretdb_credentials={
            "string": "string",
        },
        kafka_rest_uri="string",
        backup_minute="string",
        maintenance_dow="string",
        maintenance_time="string",
        access_cert="string",
        mysql_require_primary_key=False,
        cluster_time_zone="string",
        mysql_sql_modes=["string"],
        password="string",
        backup_hour="string",
        plan_brokers=0,
        plan_disk=0,
        plan_replicas=0,
        public_host="string",
        read_replicas=[{
            "label": "string",
            "region": "string",
            "mysql_require_primary_key": False,
            "mysql_sql_modes": ["string"],
            "database_engine_version": "string",
            "date_created": "string",
            "dbname": "string",
            "eviction_policy": "string",
            "ferretdb_credentials": {
                "string": "string",
            },
            "host": "string",
            "id": "string",
            "cluster_time_zone": "string",
            "latest_backup": "string",
            "maintenance_dow": "string",
            "maintenance_time": "string",
            "mysql_long_query_time": 0,
            "database_engine": "string",
            "backup_hour": "string",
            "plan": "string",
            "password": "string",
            "mysql_slow_query_log": False,
            "plan_disk": 0,
            "plan_ram": 0,
            "plan_replicas": 0,
            "plan_vcpus": 0,
            "port": "string",
            "public_host": "string",
            "backup_minute": "string",
            "status": "string",
            "tag": "string",
            "trusted_ips": ["string"],
            "user": "string",
            "vpc_id": "string",
        }],
        access_key="string",
        sasl_port="string",
        schema_registry_uri="string",
        tag="string",
        trusted_ips=["string"],
        vpc_id="string")
    
    const databaseResource = new vultr.Database("databaseResource", {
        databaseEngine: "string",
        region: "string",
        plan: "string",
        label: "string",
        databaseEngineVersion: "string",
        mysqlLongQueryTime: 0,
        mysqlSlowQueryLog: false,
        enableKafkaConnect: false,
        enableKafkaRest: false,
        enableSchemaRegistry: false,
        evictionPolicy: "string",
        ferretdbCredentials: {
            string: "string",
        },
        kafkaRestUri: "string",
        backupMinute: "string",
        maintenanceDow: "string",
        maintenanceTime: "string",
        accessCert: "string",
        mysqlRequirePrimaryKey: false,
        clusterTimeZone: "string",
        mysqlSqlModes: ["string"],
        password: "string",
        backupHour: "string",
        planBrokers: 0,
        planDisk: 0,
        planReplicas: 0,
        publicHost: "string",
        readReplicas: [{
            label: "string",
            region: "string",
            mysqlRequirePrimaryKey: false,
            mysqlSqlModes: ["string"],
            databaseEngineVersion: "string",
            dateCreated: "string",
            dbname: "string",
            evictionPolicy: "string",
            ferretdbCredentials: {
                string: "string",
            },
            host: "string",
            id: "string",
            clusterTimeZone: "string",
            latestBackup: "string",
            maintenanceDow: "string",
            maintenanceTime: "string",
            mysqlLongQueryTime: 0,
            databaseEngine: "string",
            backupHour: "string",
            plan: "string",
            password: "string",
            mysqlSlowQueryLog: false,
            planDisk: 0,
            planRam: 0,
            planReplicas: 0,
            planVcpus: 0,
            port: "string",
            publicHost: "string",
            backupMinute: "string",
            status: "string",
            tag: "string",
            trustedIps: ["string"],
            user: "string",
            vpcId: "string",
        }],
        accessKey: "string",
        saslPort: "string",
        schemaRegistryUri: "string",
        tag: "string",
        trustedIps: ["string"],
        vpcId: "string",
    });
    
    type: vultr:Database
    properties:
        accessCert: string
        accessKey: string
        backupHour: string
        backupMinute: string
        clusterTimeZone: string
        databaseEngine: string
        databaseEngineVersion: string
        enableKafkaConnect: false
        enableKafkaRest: false
        enableSchemaRegistry: false
        evictionPolicy: string
        ferretdbCredentials:
            string: string
        kafkaRestUri: string
        label: string
        maintenanceDow: string
        maintenanceTime: string
        mysqlLongQueryTime: 0
        mysqlRequirePrimaryKey: false
        mysqlSlowQueryLog: false
        mysqlSqlModes:
            - string
        password: string
        plan: string
        planBrokers: 0
        planDisk: 0
        planReplicas: 0
        publicHost: string
        readReplicas:
            - backupHour: string
              backupMinute: string
              clusterTimeZone: string
              databaseEngine: string
              databaseEngineVersion: string
              dateCreated: string
              dbname: string
              evictionPolicy: string
              ferretdbCredentials:
                string: string
              host: string
              id: string
              label: string
              latestBackup: string
              maintenanceDow: string
              maintenanceTime: string
              mysqlLongQueryTime: 0
              mysqlRequirePrimaryKey: false
              mysqlSlowQueryLog: false
              mysqlSqlModes:
                - string
              password: string
              plan: string
              planDisk: 0
              planRam: 0
              planReplicas: 0
              planVcpus: 0
              port: string
              publicHost: string
              region: string
              status: string
              tag: string
              trustedIps:
                - string
              user: string
              vpcId: string
        region: string
        saslPort: string
        schemaRegistryUri: string
        tag: string
        trustedIps:
            - string
        vpcId: 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:

    DatabaseEngine string
    The database engine of the new managed database.
    DatabaseEngineVersion string
    The database engine version of the new managed database.
    Label string
    A label for the managed database.
    Plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    Region string
    The ID of the region that the managed database is to be created in. See List Regions
    AccessCert string
    The certificate to authenticate the default user (Kafka engine types only).
    AccessKey string
    The private key to authenticate the default user (Kafka engine types only).
    BackupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    BackupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    ClusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    EnableKafkaConnect bool
    The configuration value for Kafka Connect support (Kafka engine types only).
    EnableKafkaRest bool
    The configuration value for Kafka REST support (Kafka engine types only).
    EnableSchemaRegistry bool
    The configuration value for Schema Registry support (Kafka engine types only).
    EvictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    FerretdbCredentials Dictionary<string, string>
    KafkaRestUri string
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    MaintenanceDow string
    The preferred maintenance day of week for the managed database.
    MaintenanceTime string
    The preferred maintenance time for the managed database.
    MysqlLongQueryTime int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    MysqlRequirePrimaryKey bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    MysqlSlowQueryLog bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    MysqlSqlModes List<string>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    Password string
    The password for the managed database's primary admin user.
    PlanBrokers int
    The number of brokers available on the managed database (Kafka engine types only).
    PlanDisk int
    The description of the disk(s) on the managed database.
    PlanReplicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    PublicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    ReadReplicas List<ediri.Vultr.Inputs.DatabaseReadReplica>
    A list of read replicas attached to the managed database.
    SaslPort string
    The SASL connection port for the managed database (Kafka engine types only).
    SchemaRegistryUri string
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    Tag string
    The tag to assign to the managed database.
    TrustedIps List<string>
    A list of allowed IP addresses for the managed database.
    VpcId string
    The ID of the VPC Network to attach to the Managed Database.
    DatabaseEngine string
    The database engine of the new managed database.
    DatabaseEngineVersion string
    The database engine version of the new managed database.
    Label string
    A label for the managed database.
    Plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    Region string
    The ID of the region that the managed database is to be created in. See List Regions
    AccessCert string
    The certificate to authenticate the default user (Kafka engine types only).
    AccessKey string
    The private key to authenticate the default user (Kafka engine types only).
    BackupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    BackupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    ClusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    EnableKafkaConnect bool
    The configuration value for Kafka Connect support (Kafka engine types only).
    EnableKafkaRest bool
    The configuration value for Kafka REST support (Kafka engine types only).
    EnableSchemaRegistry bool
    The configuration value for Schema Registry support (Kafka engine types only).
    EvictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    FerretdbCredentials map[string]string
    KafkaRestUri string
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    MaintenanceDow string
    The preferred maintenance day of week for the managed database.
    MaintenanceTime string
    The preferred maintenance time for the managed database.
    MysqlLongQueryTime int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    MysqlRequirePrimaryKey bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    MysqlSlowQueryLog bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    MysqlSqlModes []string
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    Password string
    The password for the managed database's primary admin user.
    PlanBrokers int
    The number of brokers available on the managed database (Kafka engine types only).
    PlanDisk int
    The description of the disk(s) on the managed database.
    PlanReplicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    PublicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    ReadReplicas []DatabaseReadReplicaArgs
    A list of read replicas attached to the managed database.
    SaslPort string
    The SASL connection port for the managed database (Kafka engine types only).
    SchemaRegistryUri string
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    Tag string
    The tag to assign to the managed database.
    TrustedIps []string
    A list of allowed IP addresses for the managed database.
    VpcId string
    The ID of the VPC Network to attach to the Managed Database.
    databaseEngine String
    The database engine of the new managed database.
    databaseEngineVersion String
    The database engine version of the new managed database.
    label String
    A label for the managed database.
    plan String
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    region String
    The ID of the region that the managed database is to be created in. See List Regions
    accessCert String
    The certificate to authenticate the default user (Kafka engine types only).
    accessKey String
    The private key to authenticate the default user (Kafka engine types only).
    backupHour String
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute String
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone String
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    enableKafkaConnect Boolean
    The configuration value for Kafka Connect support (Kafka engine types only).
    enableKafkaRest Boolean
    The configuration value for Kafka REST support (Kafka engine types only).
    enableSchemaRegistry Boolean
    The configuration value for Schema Registry support (Kafka engine types only).
    evictionPolicy String
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials Map<String,String>
    kafkaRestUri String
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    maintenanceDow String
    The preferred maintenance day of week for the managed database.
    maintenanceTime String
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime Integer
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey Boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog Boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes List<String>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password String
    The password for the managed database's primary admin user.
    planBrokers Integer
    The number of brokers available on the managed database (Kafka engine types only).
    planDisk Integer
    The description of the disk(s) on the managed database.
    planReplicas Integer
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    publicHost String
    The public hostname assigned to the managed database (VPC-attached only).
    readReplicas List<DatabaseReadReplica>
    A list of read replicas attached to the managed database.
    saslPort String
    The SASL connection port for the managed database (Kafka engine types only).
    schemaRegistryUri String
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    tag String
    The tag to assign to the managed database.
    trustedIps List<String>
    A list of allowed IP addresses for the managed database.
    vpcId String
    The ID of the VPC Network to attach to the Managed Database.
    databaseEngine string
    The database engine of the new managed database.
    databaseEngineVersion string
    The database engine version of the new managed database.
    label string
    A label for the managed database.
    plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    region string
    The ID of the region that the managed database is to be created in. See List Regions
    accessCert string
    The certificate to authenticate the default user (Kafka engine types only).
    accessKey string
    The private key to authenticate the default user (Kafka engine types only).
    backupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    enableKafkaConnect boolean
    The configuration value for Kafka Connect support (Kafka engine types only).
    enableKafkaRest boolean
    The configuration value for Kafka REST support (Kafka engine types only).
    enableSchemaRegistry boolean
    The configuration value for Schema Registry support (Kafka engine types only).
    evictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials {[key: string]: string}
    kafkaRestUri string
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    maintenanceDow string
    The preferred maintenance day of week for the managed database.
    maintenanceTime string
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime number
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes string[]
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password string
    The password for the managed database's primary admin user.
    planBrokers number
    The number of brokers available on the managed database (Kafka engine types only).
    planDisk number
    The description of the disk(s) on the managed database.
    planReplicas number
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    publicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    readReplicas DatabaseReadReplica[]
    A list of read replicas attached to the managed database.
    saslPort string
    The SASL connection port for the managed database (Kafka engine types only).
    schemaRegistryUri string
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    tag string
    The tag to assign to the managed database.
    trustedIps string[]
    A list of allowed IP addresses for the managed database.
    vpcId string
    The ID of the VPC Network to attach to the Managed Database.
    database_engine str
    The database engine of the new managed database.
    database_engine_version str
    The database engine version of the new managed database.
    label str
    A label for the managed database.
    plan str
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    region str
    The ID of the region that the managed database is to be created in. See List Regions
    access_cert str
    The certificate to authenticate the default user (Kafka engine types only).
    access_key str
    The private key to authenticate the default user (Kafka engine types only).
    backup_hour str
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backup_minute str
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    cluster_time_zone str
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    enable_kafka_connect bool
    The configuration value for Kafka Connect support (Kafka engine types only).
    enable_kafka_rest bool
    The configuration value for Kafka REST support (Kafka engine types only).
    enable_schema_registry bool
    The configuration value for Schema Registry support (Kafka engine types only).
    eviction_policy str
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdb_credentials Mapping[str, str]
    kafka_rest_uri str
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    maintenance_dow str
    The preferred maintenance day of week for the managed database.
    maintenance_time str
    The preferred maintenance time for the managed database.
    mysql_long_query_time int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysql_require_primary_key bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysql_slow_query_log bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysql_sql_modes Sequence[str]
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password str
    The password for the managed database's primary admin user.
    plan_brokers int
    The number of brokers available on the managed database (Kafka engine types only).
    plan_disk int
    The description of the disk(s) on the managed database.
    plan_replicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    public_host str
    The public hostname assigned to the managed database (VPC-attached only).
    read_replicas Sequence[DatabaseReadReplicaArgs]
    A list of read replicas attached to the managed database.
    sasl_port str
    The SASL connection port for the managed database (Kafka engine types only).
    schema_registry_uri str
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    tag str
    The tag to assign to the managed database.
    trusted_ips Sequence[str]
    A list of allowed IP addresses for the managed database.
    vpc_id str
    The ID of the VPC Network to attach to the Managed Database.
    databaseEngine String
    The database engine of the new managed database.
    databaseEngineVersion String
    The database engine version of the new managed database.
    label String
    A label for the managed database.
    plan String
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    region String
    The ID of the region that the managed database is to be created in. See List Regions
    accessCert String
    The certificate to authenticate the default user (Kafka engine types only).
    accessKey String
    The private key to authenticate the default user (Kafka engine types only).
    backupHour String
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute String
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone String
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    enableKafkaConnect Boolean
    The configuration value for Kafka Connect support (Kafka engine types only).
    enableKafkaRest Boolean
    The configuration value for Kafka REST support (Kafka engine types only).
    enableSchemaRegistry Boolean
    The configuration value for Schema Registry support (Kafka engine types only).
    evictionPolicy String
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials Map<String>
    kafkaRestUri String
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    maintenanceDow String
    The preferred maintenance day of week for the managed database.
    maintenanceTime String
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime Number
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey Boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog Boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes List<String>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password String
    The password for the managed database's primary admin user.
    planBrokers Number
    The number of brokers available on the managed database (Kafka engine types only).
    planDisk Number
    The description of the disk(s) on the managed database.
    planReplicas Number
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    publicHost String
    The public hostname assigned to the managed database (VPC-attached only).
    readReplicas List<Property Map>
    A list of read replicas attached to the managed database.
    saslPort String
    The SASL connection port for the managed database (Kafka engine types only).
    schemaRegistryUri String
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    tag String
    The tag to assign to the managed database.
    trustedIps List<String>
    A list of allowed IP addresses for the managed database.
    vpcId String
    The ID of the VPC Network to attach to the Managed Database.

    Outputs

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

    DateCreated string
    The date the managed database was added to your Vultr account.
    Dbname string
    The managed database's default logical database.
    Host string
    The hostname assigned to the managed database.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestBackup string
    The date of the latest backup available on the managed database.
    PlanRam int
    The amount of memory available on the managed database in MB.
    PlanVcpus int
    The number of virtual CPUs available on the managed database.
    Port string
    The connection port for the managed database.
    Status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    User string
    The primary admin user for the managed database.
    DateCreated string
    The date the managed database was added to your Vultr account.
    Dbname string
    The managed database's default logical database.
    Host string
    The hostname assigned to the managed database.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestBackup string
    The date of the latest backup available on the managed database.
    PlanRam int
    The amount of memory available on the managed database in MB.
    PlanVcpus int
    The number of virtual CPUs available on the managed database.
    Port string
    The connection port for the managed database.
    Status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    User string
    The primary admin user for the managed database.
    dateCreated String
    The date the managed database was added to your Vultr account.
    dbname String
    The managed database's default logical database.
    host String
    The hostname assigned to the managed database.
    id String
    The provider-assigned unique ID for this managed resource.
    latestBackup String
    The date of the latest backup available on the managed database.
    planRam Integer
    The amount of memory available on the managed database in MB.
    planVcpus Integer
    The number of virtual CPUs available on the managed database.
    port String
    The connection port for the managed database.
    status String
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    user String
    The primary admin user for the managed database.
    dateCreated string
    The date the managed database was added to your Vultr account.
    dbname string
    The managed database's default logical database.
    host string
    The hostname assigned to the managed database.
    id string
    The provider-assigned unique ID for this managed resource.
    latestBackup string
    The date of the latest backup available on the managed database.
    planRam number
    The amount of memory available on the managed database in MB.
    planVcpus number
    The number of virtual CPUs available on the managed database.
    port string
    The connection port for the managed database.
    status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    user string
    The primary admin user for the managed database.
    date_created str
    The date the managed database was added to your Vultr account.
    dbname str
    The managed database's default logical database.
    host str
    The hostname assigned to the managed database.
    id str
    The provider-assigned unique ID for this managed resource.
    latest_backup str
    The date of the latest backup available on the managed database.
    plan_ram int
    The amount of memory available on the managed database in MB.
    plan_vcpus int
    The number of virtual CPUs available on the managed database.
    port str
    The connection port for the managed database.
    status str
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    user str
    The primary admin user for the managed database.
    dateCreated String
    The date the managed database was added to your Vultr account.
    dbname String
    The managed database's default logical database.
    host String
    The hostname assigned to the managed database.
    id String
    The provider-assigned unique ID for this managed resource.
    latestBackup String
    The date of the latest backup available on the managed database.
    planRam Number
    The amount of memory available on the managed database in MB.
    planVcpus Number
    The number of virtual CPUs available on the managed database.
    port String
    The connection port for the managed database.
    status String
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    user String
    The primary admin user for the managed database.

    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,
            access_cert: Optional[str] = None,
            access_key: Optional[str] = None,
            backup_hour: Optional[str] = None,
            backup_minute: Optional[str] = None,
            cluster_time_zone: Optional[str] = None,
            database_engine: Optional[str] = None,
            database_engine_version: Optional[str] = None,
            date_created: Optional[str] = None,
            dbname: Optional[str] = None,
            enable_kafka_connect: Optional[bool] = None,
            enable_kafka_rest: Optional[bool] = None,
            enable_schema_registry: Optional[bool] = None,
            eviction_policy: Optional[str] = None,
            ferretdb_credentials: Optional[Mapping[str, str]] = None,
            host: Optional[str] = None,
            kafka_rest_uri: Optional[str] = None,
            label: Optional[str] = None,
            latest_backup: Optional[str] = None,
            maintenance_dow: Optional[str] = None,
            maintenance_time: Optional[str] = None,
            mysql_long_query_time: Optional[int] = None,
            mysql_require_primary_key: Optional[bool] = None,
            mysql_slow_query_log: Optional[bool] = None,
            mysql_sql_modes: Optional[Sequence[str]] = None,
            password: Optional[str] = None,
            plan: Optional[str] = None,
            plan_brokers: Optional[int] = None,
            plan_disk: Optional[int] = None,
            plan_ram: Optional[int] = None,
            plan_replicas: Optional[int] = None,
            plan_vcpus: Optional[int] = None,
            port: Optional[str] = None,
            public_host: Optional[str] = None,
            read_replicas: Optional[Sequence[DatabaseReadReplicaArgs]] = None,
            region: Optional[str] = None,
            sasl_port: Optional[str] = None,
            schema_registry_uri: Optional[str] = None,
            status: Optional[str] = None,
            tag: Optional[str] = None,
            trusted_ips: Optional[Sequence[str]] = None,
            user: Optional[str] = None,
            vpc_id: 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: vultr: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:
    AccessCert string
    The certificate to authenticate the default user (Kafka engine types only).
    AccessKey string
    The private key to authenticate the default user (Kafka engine types only).
    BackupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    BackupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    ClusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    DatabaseEngine string
    The database engine of the new managed database.
    DatabaseEngineVersion string
    The database engine version of the new managed database.
    DateCreated string
    The date the managed database was added to your Vultr account.
    Dbname string
    The managed database's default logical database.
    EnableKafkaConnect bool
    The configuration value for Kafka Connect support (Kafka engine types only).
    EnableKafkaRest bool
    The configuration value for Kafka REST support (Kafka engine types only).
    EnableSchemaRegistry bool
    The configuration value for Schema Registry support (Kafka engine types only).
    EvictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    FerretdbCredentials Dictionary<string, string>
    Host string
    The hostname assigned to the managed database.
    KafkaRestUri string
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    Label string
    A label for the managed database.
    LatestBackup string
    The date of the latest backup available on the managed database.
    MaintenanceDow string
    The preferred maintenance day of week for the managed database.
    MaintenanceTime string
    The preferred maintenance time for the managed database.
    MysqlLongQueryTime int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    MysqlRequirePrimaryKey bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    MysqlSlowQueryLog bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    MysqlSqlModes List<string>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    Password string
    The password for the managed database's primary admin user.
    Plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    PlanBrokers int
    The number of brokers available on the managed database (Kafka engine types only).
    PlanDisk int
    The description of the disk(s) on the managed database.
    PlanRam int
    The amount of memory available on the managed database in MB.
    PlanReplicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    PlanVcpus int
    The number of virtual CPUs available on the managed database.
    Port string
    The connection port for the managed database.
    PublicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    ReadReplicas List<ediri.Vultr.Inputs.DatabaseReadReplica>
    A list of read replicas attached to the managed database.
    Region string
    The ID of the region that the managed database is to be created in. See List Regions
    SaslPort string
    The SASL connection port for the managed database (Kafka engine types only).
    SchemaRegistryUri string
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    Status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    Tag string
    The tag to assign to the managed database.
    TrustedIps List<string>
    A list of allowed IP addresses for the managed database.
    User string
    The primary admin user for the managed database.
    VpcId string
    The ID of the VPC Network to attach to the Managed Database.
    AccessCert string
    The certificate to authenticate the default user (Kafka engine types only).
    AccessKey string
    The private key to authenticate the default user (Kafka engine types only).
    BackupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    BackupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    ClusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    DatabaseEngine string
    The database engine of the new managed database.
    DatabaseEngineVersion string
    The database engine version of the new managed database.
    DateCreated string
    The date the managed database was added to your Vultr account.
    Dbname string
    The managed database's default logical database.
    EnableKafkaConnect bool
    The configuration value for Kafka Connect support (Kafka engine types only).
    EnableKafkaRest bool
    The configuration value for Kafka REST support (Kafka engine types only).
    EnableSchemaRegistry bool
    The configuration value for Schema Registry support (Kafka engine types only).
    EvictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    FerretdbCredentials map[string]string
    Host string
    The hostname assigned to the managed database.
    KafkaRestUri string
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    Label string
    A label for the managed database.
    LatestBackup string
    The date of the latest backup available on the managed database.
    MaintenanceDow string
    The preferred maintenance day of week for the managed database.
    MaintenanceTime string
    The preferred maintenance time for the managed database.
    MysqlLongQueryTime int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    MysqlRequirePrimaryKey bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    MysqlSlowQueryLog bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    MysqlSqlModes []string
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    Password string
    The password for the managed database's primary admin user.
    Plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    PlanBrokers int
    The number of brokers available on the managed database (Kafka engine types only).
    PlanDisk int
    The description of the disk(s) on the managed database.
    PlanRam int
    The amount of memory available on the managed database in MB.
    PlanReplicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    PlanVcpus int
    The number of virtual CPUs available on the managed database.
    Port string
    The connection port for the managed database.
    PublicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    ReadReplicas []DatabaseReadReplicaArgs
    A list of read replicas attached to the managed database.
    Region string
    The ID of the region that the managed database is to be created in. See List Regions
    SaslPort string
    The SASL connection port for the managed database (Kafka engine types only).
    SchemaRegistryUri string
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    Status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    Tag string
    The tag to assign to the managed database.
    TrustedIps []string
    A list of allowed IP addresses for the managed database.
    User string
    The primary admin user for the managed database.
    VpcId string
    The ID of the VPC Network to attach to the Managed Database.
    accessCert String
    The certificate to authenticate the default user (Kafka engine types only).
    accessKey String
    The private key to authenticate the default user (Kafka engine types only).
    backupHour String
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute String
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone String
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    databaseEngine String
    The database engine of the new managed database.
    databaseEngineVersion String
    The database engine version of the new managed database.
    dateCreated String
    The date the managed database was added to your Vultr account.
    dbname String
    The managed database's default logical database.
    enableKafkaConnect Boolean
    The configuration value for Kafka Connect support (Kafka engine types only).
    enableKafkaRest Boolean
    The configuration value for Kafka REST support (Kafka engine types only).
    enableSchemaRegistry Boolean
    The configuration value for Schema Registry support (Kafka engine types only).
    evictionPolicy String
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials Map<String,String>
    host String
    The hostname assigned to the managed database.
    kafkaRestUri String
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    label String
    A label for the managed database.
    latestBackup String
    The date of the latest backup available on the managed database.
    maintenanceDow String
    The preferred maintenance day of week for the managed database.
    maintenanceTime String
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime Integer
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey Boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog Boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes List<String>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password String
    The password for the managed database's primary admin user.
    plan String
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    planBrokers Integer
    The number of brokers available on the managed database (Kafka engine types only).
    planDisk Integer
    The description of the disk(s) on the managed database.
    planRam Integer
    The amount of memory available on the managed database in MB.
    planReplicas Integer
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    planVcpus Integer
    The number of virtual CPUs available on the managed database.
    port String
    The connection port for the managed database.
    publicHost String
    The public hostname assigned to the managed database (VPC-attached only).
    readReplicas List<DatabaseReadReplica>
    A list of read replicas attached to the managed database.
    region String
    The ID of the region that the managed database is to be created in. See List Regions
    saslPort String
    The SASL connection port for the managed database (Kafka engine types only).
    schemaRegistryUri String
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    status String
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag String
    The tag to assign to the managed database.
    trustedIps List<String>
    A list of allowed IP addresses for the managed database.
    user String
    The primary admin user for the managed database.
    vpcId String
    The ID of the VPC Network to attach to the Managed Database.
    accessCert string
    The certificate to authenticate the default user (Kafka engine types only).
    accessKey string
    The private key to authenticate the default user (Kafka engine types only).
    backupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    databaseEngine string
    The database engine of the new managed database.
    databaseEngineVersion string
    The database engine version of the new managed database.
    dateCreated string
    The date the managed database was added to your Vultr account.
    dbname string
    The managed database's default logical database.
    enableKafkaConnect boolean
    The configuration value for Kafka Connect support (Kafka engine types only).
    enableKafkaRest boolean
    The configuration value for Kafka REST support (Kafka engine types only).
    enableSchemaRegistry boolean
    The configuration value for Schema Registry support (Kafka engine types only).
    evictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials {[key: string]: string}
    host string
    The hostname assigned to the managed database.
    kafkaRestUri string
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    label string
    A label for the managed database.
    latestBackup string
    The date of the latest backup available on the managed database.
    maintenanceDow string
    The preferred maintenance day of week for the managed database.
    maintenanceTime string
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime number
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes string[]
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password string
    The password for the managed database's primary admin user.
    plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    planBrokers number
    The number of brokers available on the managed database (Kafka engine types only).
    planDisk number
    The description of the disk(s) on the managed database.
    planRam number
    The amount of memory available on the managed database in MB.
    planReplicas number
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    planVcpus number
    The number of virtual CPUs available on the managed database.
    port string
    The connection port for the managed database.
    publicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    readReplicas DatabaseReadReplica[]
    A list of read replicas attached to the managed database.
    region string
    The ID of the region that the managed database is to be created in. See List Regions
    saslPort string
    The SASL connection port for the managed database (Kafka engine types only).
    schemaRegistryUri string
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag string
    The tag to assign to the managed database.
    trustedIps string[]
    A list of allowed IP addresses for the managed database.
    user string
    The primary admin user for the managed database.
    vpcId string
    The ID of the VPC Network to attach to the Managed Database.
    access_cert str
    The certificate to authenticate the default user (Kafka engine types only).
    access_key str
    The private key to authenticate the default user (Kafka engine types only).
    backup_hour str
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backup_minute str
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    cluster_time_zone str
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    database_engine str
    The database engine of the new managed database.
    database_engine_version str
    The database engine version of the new managed database.
    date_created str
    The date the managed database was added to your Vultr account.
    dbname str
    The managed database's default logical database.
    enable_kafka_connect bool
    The configuration value for Kafka Connect support (Kafka engine types only).
    enable_kafka_rest bool
    The configuration value for Kafka REST support (Kafka engine types only).
    enable_schema_registry bool
    The configuration value for Schema Registry support (Kafka engine types only).
    eviction_policy str
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdb_credentials Mapping[str, str]
    host str
    The hostname assigned to the managed database.
    kafka_rest_uri str
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    label str
    A label for the managed database.
    latest_backup str
    The date of the latest backup available on the managed database.
    maintenance_dow str
    The preferred maintenance day of week for the managed database.
    maintenance_time str
    The preferred maintenance time for the managed database.
    mysql_long_query_time int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysql_require_primary_key bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysql_slow_query_log bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysql_sql_modes Sequence[str]
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password str
    The password for the managed database's primary admin user.
    plan str
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    plan_brokers int
    The number of brokers available on the managed database (Kafka engine types only).
    plan_disk int
    The description of the disk(s) on the managed database.
    plan_ram int
    The amount of memory available on the managed database in MB.
    plan_replicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    plan_vcpus int
    The number of virtual CPUs available on the managed database.
    port str
    The connection port for the managed database.
    public_host str
    The public hostname assigned to the managed database (VPC-attached only).
    read_replicas Sequence[DatabaseReadReplicaArgs]
    A list of read replicas attached to the managed database.
    region str
    The ID of the region that the managed database is to be created in. See List Regions
    sasl_port str
    The SASL connection port for the managed database (Kafka engine types only).
    schema_registry_uri str
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    status str
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag str
    The tag to assign to the managed database.
    trusted_ips Sequence[str]
    A list of allowed IP addresses for the managed database.
    user str
    The primary admin user for the managed database.
    vpc_id str
    The ID of the VPC Network to attach to the Managed Database.
    accessCert String
    The certificate to authenticate the default user (Kafka engine types only).
    accessKey String
    The private key to authenticate the default user (Kafka engine types only).
    backupHour String
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute String
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone String
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    databaseEngine String
    The database engine of the new managed database.
    databaseEngineVersion String
    The database engine version of the new managed database.
    dateCreated String
    The date the managed database was added to your Vultr account.
    dbname String
    The managed database's default logical database.
    enableKafkaConnect Boolean
    The configuration value for Kafka Connect support (Kafka engine types only).
    enableKafkaRest Boolean
    The configuration value for Kafka REST support (Kafka engine types only).
    enableSchemaRegistry Boolean
    The configuration value for Schema Registry support (Kafka engine types only).
    evictionPolicy String
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials Map<String>
    host String
    The hostname assigned to the managed database.
    kafkaRestUri String
    The URI to access the RESTful interface of your Kafka cluster if Kafka REST is enabled (Kafka engine types only).
    label String
    A label for the managed database.
    latestBackup String
    The date of the latest backup available on the managed database.
    maintenanceDow String
    The preferred maintenance day of week for the managed database.
    maintenanceTime String
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime Number
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey Boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog Boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes List<String>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password String
    The password for the managed database's primary admin user.
    plan String
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    planBrokers Number
    The number of brokers available on the managed database (Kafka engine types only).
    planDisk Number
    The description of the disk(s) on the managed database.
    planRam Number
    The amount of memory available on the managed database in MB.
    planReplicas Number
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    planVcpus Number
    The number of virtual CPUs available on the managed database.
    port String
    The connection port for the managed database.
    publicHost String
    The public hostname assigned to the managed database (VPC-attached only).
    readReplicas List<Property Map>
    A list of read replicas attached to the managed database.
    region String
    The ID of the region that the managed database is to be created in. See List Regions
    saslPort String
    The SASL connection port for the managed database (Kafka engine types only).
    schemaRegistryUri String
    The URI to access the Schema Registry service of your Kafka cluster if Schema Registry is enabled (Kafka engine types only).
    status String
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag String
    The tag to assign to the managed database.
    trustedIps List<String>
    A list of allowed IP addresses for the managed database.
    user String
    The primary admin user for the managed database.
    vpcId String
    The ID of the VPC Network to attach to the Managed Database.

    Supporting Types

    DatabaseReadReplica, DatabaseReadReplicaArgs

    Label string
    A label for the managed database.
    Region string
    The ID of the region that the managed database is to be created in. See List Regions
    BackupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    BackupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    ClusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    DatabaseEngine string
    The database engine of the new managed database.
    DatabaseEngineVersion string
    The database engine version of the new managed database.
    DateCreated string
    The date the managed database was added to your Vultr account.
    Dbname string
    The managed database's default logical database.
    EvictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    FerretdbCredentials Dictionary<string, string>
    Host string
    The hostname assigned to the managed database.
    Id string
    The ID of the managed database.
    LatestBackup string
    The date of the latest backup available on the managed database.
    MaintenanceDow string
    The preferred maintenance day of week for the managed database.
    MaintenanceTime string
    The preferred maintenance time for the managed database.
    MysqlLongQueryTime int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    MysqlRequirePrimaryKey bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    MysqlSlowQueryLog bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    MysqlSqlModes List<string>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    Password string
    The password for the managed database's primary admin user.
    Plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    PlanDisk int
    The description of the disk(s) on the managed database.
    PlanRam int
    The amount of memory available on the managed database in MB.
    PlanReplicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    PlanVcpus int
    The number of virtual CPUs available on the managed database.
    Port string
    The connection port for the managed database.
    PublicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    Status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    Tag string
    The tag to assign to the managed database.
    TrustedIps List<string>
    A list of allowed IP addresses for the managed database.
    User string
    The primary admin user for the managed database.
    VpcId string
    The ID of the VPC Network to attach to the Managed Database.
    Label string
    A label for the managed database.
    Region string
    The ID of the region that the managed database is to be created in. See List Regions
    BackupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    BackupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    ClusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    DatabaseEngine string
    The database engine of the new managed database.
    DatabaseEngineVersion string
    The database engine version of the new managed database.
    DateCreated string
    The date the managed database was added to your Vultr account.
    Dbname string
    The managed database's default logical database.
    EvictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    FerretdbCredentials map[string]string
    Host string
    The hostname assigned to the managed database.
    Id string
    The ID of the managed database.
    LatestBackup string
    The date of the latest backup available on the managed database.
    MaintenanceDow string
    The preferred maintenance day of week for the managed database.
    MaintenanceTime string
    The preferred maintenance time for the managed database.
    MysqlLongQueryTime int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    MysqlRequirePrimaryKey bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    MysqlSlowQueryLog bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    MysqlSqlModes []string
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    Password string
    The password for the managed database's primary admin user.
    Plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    PlanDisk int
    The description of the disk(s) on the managed database.
    PlanRam int
    The amount of memory available on the managed database in MB.
    PlanReplicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    PlanVcpus int
    The number of virtual CPUs available on the managed database.
    Port string
    The connection port for the managed database.
    PublicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    Status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    Tag string
    The tag to assign to the managed database.
    TrustedIps []string
    A list of allowed IP addresses for the managed database.
    User string
    The primary admin user for the managed database.
    VpcId string
    The ID of the VPC Network to attach to the Managed Database.
    label String
    A label for the managed database.
    region String
    The ID of the region that the managed database is to be created in. See List Regions
    backupHour String
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute String
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone String
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    databaseEngine String
    The database engine of the new managed database.
    databaseEngineVersion String
    The database engine version of the new managed database.
    dateCreated String
    The date the managed database was added to your Vultr account.
    dbname String
    The managed database's default logical database.
    evictionPolicy String
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials Map<String,String>
    host String
    The hostname assigned to the managed database.
    id String
    The ID of the managed database.
    latestBackup String
    The date of the latest backup available on the managed database.
    maintenanceDow String
    The preferred maintenance day of week for the managed database.
    maintenanceTime String
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime Integer
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey Boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog Boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes List<String>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password String
    The password for the managed database's primary admin user.
    plan String
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    planDisk Integer
    The description of the disk(s) on the managed database.
    planRam Integer
    The amount of memory available on the managed database in MB.
    planReplicas Integer
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    planVcpus Integer
    The number of virtual CPUs available on the managed database.
    port String
    The connection port for the managed database.
    publicHost String
    The public hostname assigned to the managed database (VPC-attached only).
    status String
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag String
    The tag to assign to the managed database.
    trustedIps List<String>
    A list of allowed IP addresses for the managed database.
    user String
    The primary admin user for the managed database.
    vpcId String
    The ID of the VPC Network to attach to the Managed Database.
    label string
    A label for the managed database.
    region string
    The ID of the region that the managed database is to be created in. See List Regions
    backupHour string
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute string
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone string
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    databaseEngine string
    The database engine of the new managed database.
    databaseEngineVersion string
    The database engine version of the new managed database.
    dateCreated string
    The date the managed database was added to your Vultr account.
    dbname string
    The managed database's default logical database.
    evictionPolicy string
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials {[key: string]: string}
    host string
    The hostname assigned to the managed database.
    id string
    The ID of the managed database.
    latestBackup string
    The date of the latest backup available on the managed database.
    maintenanceDow string
    The preferred maintenance day of week for the managed database.
    maintenanceTime string
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime number
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes string[]
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password string
    The password for the managed database's primary admin user.
    plan string
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    planDisk number
    The description of the disk(s) on the managed database.
    planRam number
    The amount of memory available on the managed database in MB.
    planReplicas number
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    planVcpus number
    The number of virtual CPUs available on the managed database.
    port string
    The connection port for the managed database.
    publicHost string
    The public hostname assigned to the managed database (VPC-attached only).
    status string
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag string
    The tag to assign to the managed database.
    trustedIps string[]
    A list of allowed IP addresses for the managed database.
    user string
    The primary admin user for the managed database.
    vpcId string
    The ID of the VPC Network to attach to the Managed Database.
    label str
    A label for the managed database.
    region str
    The ID of the region that the managed database is to be created in. See List Regions
    backup_hour str
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backup_minute str
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    cluster_time_zone str
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    database_engine str
    The database engine of the new managed database.
    database_engine_version str
    The database engine version of the new managed database.
    date_created str
    The date the managed database was added to your Vultr account.
    dbname str
    The managed database's default logical database.
    eviction_policy str
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdb_credentials Mapping[str, str]
    host str
    The hostname assigned to the managed database.
    id str
    The ID of the managed database.
    latest_backup str
    The date of the latest backup available on the managed database.
    maintenance_dow str
    The preferred maintenance day of week for the managed database.
    maintenance_time str
    The preferred maintenance time for the managed database.
    mysql_long_query_time int
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysql_require_primary_key bool
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysql_slow_query_log bool
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysql_sql_modes Sequence[str]
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password str
    The password for the managed database's primary admin user.
    plan str
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    plan_disk int
    The description of the disk(s) on the managed database.
    plan_ram int
    The amount of memory available on the managed database in MB.
    plan_replicas int
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    plan_vcpus int
    The number of virtual CPUs available on the managed database.
    port str
    The connection port for the managed database.
    public_host str
    The public hostname assigned to the managed database (VPC-attached only).
    status str
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag str
    The tag to assign to the managed database.
    trusted_ips Sequence[str]
    A list of allowed IP addresses for the managed database.
    user str
    The primary admin user for the managed database.
    vpc_id str
    The ID of the VPC Network to attach to the Managed Database.
    label String
    A label for the managed database.
    region String
    The ID of the region that the managed database is to be created in. See List Regions
    backupHour String
    The preferred hour of the day (UTC) for daily backups to take place (unavailable for Kafka engine types).
    backupMinute String
    The preferred minute of the backup hour for daily backups to take place (unavailable for Kafka engine types).
    clusterTimeZone String
    The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
    databaseEngine String
    The database engine of the new managed database.
    databaseEngineVersion String
    The database engine version of the new managed database.
    dateCreated String
    The date the managed database was added to your Vultr account.
    dbname String
    The managed database's default logical database.
    evictionPolicy String
    The configuration value for the data eviction policy on the managed database (Valkey engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
    ferretdbCredentials Map<String>
    host String
    The hostname assigned to the managed database.
    id String
    The ID of the managed database.
    latestBackup String
    The date of the latest backup available on the managed database.
    maintenanceDow String
    The preferred maintenance day of week for the managed database.
    maintenanceTime String
    The preferred maintenance time for the managed database.
    mysqlLongQueryTime Number
    The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
    mysqlRequirePrimaryKey Boolean
    The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
    mysqlSlowQueryLog Boolean
    The configuration value for slow query logging on the managed database (MySQL engine types only).
    mysqlSqlModes List<String>
    A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
    password String
    The password for the managed database's primary admin user.
    plan String
    The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
    planDisk Number
    The description of the disk(s) on the managed database.
    planRam Number
    The amount of memory available on the managed database in MB.
    planReplicas Number
    The number of standby nodes available on the managed database (excluded for Kafka engine types).
    planVcpus Number
    The number of virtual CPUs available on the managed database.
    port String
    The connection port for the managed database.
    publicHost String
    The public hostname assigned to the managed database (VPC-attached only).
    status String
    The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
    tag String
    The tag to assign to the managed database.
    trustedIps List<String>
    A list of allowed IP addresses for the managed database.
    user String
    The primary admin user for the managed database.
    vpcId String
    The ID of the VPC Network to attach to the Managed Database.

    Import

    Database can be imported using the database ID, e.g.

    $ pulumi import vultr:index/database:Database my_database b6a859c5-b299-49dd-8888-b1abbc517d08
    

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

    Package Details

    Repository
    vultr dirien/pulumi-vultr
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vultr Terraform Provider.
    vultr logo
    Vultr v2.27.1 published on Tuesday, Sep 30, 2025 by dirien
      Meet Neo: Your AI Platform Teammate