Linode

Pulumi Official
Package maintained by Pulumi
v3.9.0 published on Friday, Jun 17, 2022 by Pulumi

DatabaseMysql

Provides a Linode MySQL Database resource. This can be used to create, modify, and delete Linode MySQL Databases. For more information, see the Linode APIv4 docs.

Please keep in mind that Managed Databases can take up to an hour to provision.

updates

The following arguments are supported in the updates specification block:

  • day_of_week - (Required) The day to perform maintenance. (monday, tuesday, …)

  • duration - (Required) The maximum maintenance window time in hours. (1..3)

  • frequency - (Required) Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)

  • hour_of_day - (Required) The hour to begin maintenance based in UTC time. (0..23)

  • week_of_month - (Optional) The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)

Attributes

In addition to all arguments above, the following attributes are exported:

  • id - The ID of the Managed Database.

  • ca_cert - The base64-encoded SSL CA certificate for the Managed Database instance.

  • created - When this Managed Database was created.

  • engine - The Managed Database engine. (e.g. mysql)

  • host_primary - The primary host for the Managed Database.

  • host_secondary - The secondary/private network host for the Managed Database.

  • root_password - The randomly-generated root password for the Managed Database instance.

  • root_username - The root username for the Managed Database instance.

  • status - The operating status of the Managed Database.

  • updated - When this Managed Database was last updated.

  • version - The Managed Database engine version. (e.g. v8.0.26)

Example Usage

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
    public MyStack()
    {
        var foobar = new Linode.DatabaseMysql("foobar", new Linode.DatabaseMysqlArgs
        {
            EngineId = "mysql/8.0.26",
            Label = "mydatabase",
            Region = "us-southeast",
            Type = "g6-nanode-1",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := linode.NewDatabaseMysql(ctx, "foobar", &linode.DatabaseMysqlArgs{
			EngineId: pulumi.String("mysql/8.0.26"),
			Label:    pulumi.String("mydatabase"),
			Region:   pulumi.String("us-southeast"),
			Type:     pulumi.String("g6-nanode-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foobar = new DatabaseMysql("foobar", DatabaseMysqlArgs.builder()        
            .engineId("mysql/8.0.26")
            .label("mydatabase")
            .region("us-southeast")
            .type("g6-nanode-1")
            .build());

        }
}
import pulumi
import pulumi_linode as linode

foobar = linode.DatabaseMysql("foobar",
    engine_id="mysql/8.0.26",
    label="mydatabase",
    region="us-southeast",
    type="g6-nanode-1")
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const foobar = new linode.DatabaseMysql("foobar", {
    engineId: "mysql/8.0.26",
    label: "mydatabase",
    region: "us-southeast",
    type: "g6-nanode-1",
});
resources:
  foobar:
    type: linode:DatabaseMysql
    properties:
      engineId: mysql/8.0.26
      label: mydatabase
      region: us-southeast
      type: g6-nanode-1

Create a DatabaseMysql Resource

new DatabaseMysql(name: string, args: DatabaseMysqlArgs, opts?: CustomResourceOptions);
@overload
def DatabaseMysql(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  allow_lists: Optional[Sequence[str]] = None,
                  cluster_size: Optional[int] = None,
                  encrypted: Optional[bool] = None,
                  engine_id: Optional[str] = None,
                  label: Optional[str] = None,
                  region: Optional[str] = None,
                  replication_type: Optional[str] = None,
                  ssl_connection: Optional[bool] = None,
                  type: Optional[str] = None,
                  updates: Optional[DatabaseMysqlUpdatesArgs] = None)
@overload
def DatabaseMysql(resource_name: str,
                  args: DatabaseMysqlArgs,
                  opts: Optional[ResourceOptions] = None)
func NewDatabaseMysql(ctx *Context, name string, args DatabaseMysqlArgs, opts ...ResourceOption) (*DatabaseMysql, error)
public DatabaseMysql(string name, DatabaseMysqlArgs args, CustomResourceOptions? opts = null)
public DatabaseMysql(String name, DatabaseMysqlArgs args)
public DatabaseMysql(String name, DatabaseMysqlArgs args, CustomResourceOptions options)
type: linode:DatabaseMysql
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DatabaseMysqlArgs
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 DatabaseMysqlArgs
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 DatabaseMysqlArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DatabaseMysqlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DatabaseMysqlArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DatabaseMysql Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DatabaseMysql resource accepts the following input properties:

EngineId string

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

Label string

A unique, user-defined string referring to the Managed Database.

Region string

The region to use for the Managed Database.

Type string

The Linode Instance type used for the nodes of the Managed Database instance.

AllowLists List<string>

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

ClusterSize int

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

Encrypted bool

Whether the Managed Databases is encrypted. (default false)

ReplicationType string

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

SslConnection bool

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

Updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

EngineId string

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

Label string

A unique, user-defined string referring to the Managed Database.

Region string

The region to use for the Managed Database.

Type string

The Linode Instance type used for the nodes of the Managed Database instance.

AllowLists []string

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

ClusterSize int

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

Encrypted bool

Whether the Managed Databases is encrypted. (default false)

ReplicationType string

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

SslConnection bool

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

Updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

engineId String

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

label String

A unique, user-defined string referring to the Managed Database.

region String

The region to use for the Managed Database.

type String

The Linode Instance type used for the nodes of the Managed Database instance.

allowLists List<String>

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

clusterSize Integer

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

encrypted Boolean

Whether the Managed Databases is encrypted. (default false)

replicationType String

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

sslConnection Boolean

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

engineId string

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

label string

A unique, user-defined string referring to the Managed Database.

region string

The region to use for the Managed Database.

type string

The Linode Instance type used for the nodes of the Managed Database instance.

allowLists string[]

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

clusterSize number

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

encrypted boolean

Whether the Managed Databases is encrypted. (default false)

replicationType string

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

sslConnection boolean

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

engine_id str

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

label str

A unique, user-defined string referring to the Managed Database.

region str

The region to use for the Managed Database.

type str

The Linode Instance type used for the nodes of the Managed Database instance.

allow_lists Sequence[str]

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

cluster_size int

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

encrypted bool

Whether the Managed Databases is encrypted. (default false)

replication_type str

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

ssl_connection bool

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

engineId String

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

label String

A unique, user-defined string referring to the Managed Database.

region String

The region to use for the Managed Database.

type String

The Linode Instance type used for the nodes of the Managed Database instance.

allowLists List<String>

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

clusterSize Number

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

encrypted Boolean

Whether the Managed Databases is encrypted. (default false)

replicationType String

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

sslConnection Boolean

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

updates Property Map

Configuration settings for automated patch update maintenance for the Managed Database.

Outputs

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

CaCert string

The base64-encoded SSL CA certificate for the Managed Database instance.

Created string

When this Managed Database was created.

Engine string

The Managed Database engine.

HostPrimary string

The primary host for the Managed Database.

HostSecondary string

The secondary host for the Managed Database.

Id string

The provider-assigned unique ID for this managed resource.

RootPassword string

The randomly-generated root password for the Managed Database instance.

RootUsername string

The root username for the Managed Database instance.

Status string

The operating status of the Managed Database.

Updated string

When this Managed Database was last updated.

Version string

The Managed Database engine version.

CaCert string

The base64-encoded SSL CA certificate for the Managed Database instance.

Created string

When this Managed Database was created.

Engine string

The Managed Database engine.

HostPrimary string

The primary host for the Managed Database.

HostSecondary string

The secondary host for the Managed Database.

Id string

The provider-assigned unique ID for this managed resource.

RootPassword string

The randomly-generated root password for the Managed Database instance.

RootUsername string

The root username for the Managed Database instance.

Status string

The operating status of the Managed Database.

Updated string

When this Managed Database was last updated.

Version string

The Managed Database engine version.

caCert String

The base64-encoded SSL CA certificate for the Managed Database instance.

created String

When this Managed Database was created.

engine String

The Managed Database engine.

hostPrimary String

The primary host for the Managed Database.

hostSecondary String

The secondary host for the Managed Database.

id String

The provider-assigned unique ID for this managed resource.

rootPassword String

The randomly-generated root password for the Managed Database instance.

rootUsername String

The root username for the Managed Database instance.

status String

The operating status of the Managed Database.

updated String

When this Managed Database was last updated.

version String

The Managed Database engine version.

caCert string

The base64-encoded SSL CA certificate for the Managed Database instance.

created string

When this Managed Database was created.

engine string

The Managed Database engine.

hostPrimary string

The primary host for the Managed Database.

hostSecondary string

The secondary host for the Managed Database.

id string

The provider-assigned unique ID for this managed resource.

rootPassword string

The randomly-generated root password for the Managed Database instance.

rootUsername string

The root username for the Managed Database instance.

status string

The operating status of the Managed Database.

updated string

When this Managed Database was last updated.

version string

The Managed Database engine version.

ca_cert str

The base64-encoded SSL CA certificate for the Managed Database instance.

created str

When this Managed Database was created.

engine str

The Managed Database engine.

host_primary str

The primary host for the Managed Database.

host_secondary str

The secondary host for the Managed Database.

id str

The provider-assigned unique ID for this managed resource.

root_password str

The randomly-generated root password for the Managed Database instance.

root_username str

The root username for the Managed Database instance.

status str

The operating status of the Managed Database.

updated str

When this Managed Database was last updated.

version str

The Managed Database engine version.

caCert String

The base64-encoded SSL CA certificate for the Managed Database instance.

created String

When this Managed Database was created.

engine String

The Managed Database engine.

hostPrimary String

The primary host for the Managed Database.

hostSecondary String

The secondary host for the Managed Database.

id String

The provider-assigned unique ID for this managed resource.

rootPassword String

The randomly-generated root password for the Managed Database instance.

rootUsername String

The root username for the Managed Database instance.

status String

The operating status of the Managed Database.

updated String

When this Managed Database was last updated.

version String

The Managed Database engine version.

Look up an Existing DatabaseMysql Resource

Get an existing DatabaseMysql 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?: DatabaseMysqlState, opts?: CustomResourceOptions): DatabaseMysql
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_lists: Optional[Sequence[str]] = None,
        ca_cert: Optional[str] = None,
        cluster_size: Optional[int] = None,
        created: Optional[str] = None,
        encrypted: Optional[bool] = None,
        engine: Optional[str] = None,
        engine_id: Optional[str] = None,
        host_primary: Optional[str] = None,
        host_secondary: Optional[str] = None,
        label: Optional[str] = None,
        region: Optional[str] = None,
        replication_type: Optional[str] = None,
        root_password: Optional[str] = None,
        root_username: Optional[str] = None,
        ssl_connection: Optional[bool] = None,
        status: Optional[str] = None,
        type: Optional[str] = None,
        updated: Optional[str] = None,
        updates: Optional[DatabaseMysqlUpdatesArgs] = None,
        version: Optional[str] = None) -> DatabaseMysql
func GetDatabaseMysql(ctx *Context, name string, id IDInput, state *DatabaseMysqlState, opts ...ResourceOption) (*DatabaseMysql, error)
public static DatabaseMysql Get(string name, Input<string> id, DatabaseMysqlState? state, CustomResourceOptions? opts = null)
public static DatabaseMysql get(String name, Output<String> id, DatabaseMysqlState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
AllowLists List<string>

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

CaCert string

The base64-encoded SSL CA certificate for the Managed Database instance.

ClusterSize int

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

Created string

When this Managed Database was created.

Encrypted bool

Whether the Managed Databases is encrypted. (default false)

Engine string

The Managed Database engine.

EngineId string

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

HostPrimary string

The primary host for the Managed Database.

HostSecondary string

The secondary host for the Managed Database.

Label string

A unique, user-defined string referring to the Managed Database.

Region string

The region to use for the Managed Database.

ReplicationType string

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

RootPassword string

The randomly-generated root password for the Managed Database instance.

RootUsername string

The root username for the Managed Database instance.

SslConnection bool

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

Status string

The operating status of the Managed Database.

Type string

The Linode Instance type used for the nodes of the Managed Database instance.

Updated string

When this Managed Database was last updated.

Updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

Version string

The Managed Database engine version.

AllowLists []string

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

CaCert string

The base64-encoded SSL CA certificate for the Managed Database instance.

ClusterSize int

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

Created string

When this Managed Database was created.

Encrypted bool

Whether the Managed Databases is encrypted. (default false)

Engine string

The Managed Database engine.

EngineId string

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

HostPrimary string

The primary host for the Managed Database.

HostSecondary string

The secondary host for the Managed Database.

Label string

A unique, user-defined string referring to the Managed Database.

Region string

The region to use for the Managed Database.

ReplicationType string

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

RootPassword string

The randomly-generated root password for the Managed Database instance.

RootUsername string

The root username for the Managed Database instance.

SslConnection bool

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

Status string

The operating status of the Managed Database.

Type string

The Linode Instance type used for the nodes of the Managed Database instance.

Updated string

When this Managed Database was last updated.

Updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

Version string

The Managed Database engine version.

allowLists List<String>

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

caCert String

The base64-encoded SSL CA certificate for the Managed Database instance.

clusterSize Integer

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

created String

When this Managed Database was created.

encrypted Boolean

Whether the Managed Databases is encrypted. (default false)

engine String

The Managed Database engine.

engineId String

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

hostPrimary String

The primary host for the Managed Database.

hostSecondary String

The secondary host for the Managed Database.

label String

A unique, user-defined string referring to the Managed Database.

region String

The region to use for the Managed Database.

replicationType String

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

rootPassword String

The randomly-generated root password for the Managed Database instance.

rootUsername String

The root username for the Managed Database instance.

sslConnection Boolean

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

status String

The operating status of the Managed Database.

type String

The Linode Instance type used for the nodes of the Managed Database instance.

updated String

When this Managed Database was last updated.

updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

version String

The Managed Database engine version.

allowLists string[]

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

caCert string

The base64-encoded SSL CA certificate for the Managed Database instance.

clusterSize number

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

created string

When this Managed Database was created.

encrypted boolean

Whether the Managed Databases is encrypted. (default false)

engine string

The Managed Database engine.

engineId string

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

hostPrimary string

The primary host for the Managed Database.

hostSecondary string

The secondary host for the Managed Database.

label string

A unique, user-defined string referring to the Managed Database.

region string

The region to use for the Managed Database.

replicationType string

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

rootPassword string

The randomly-generated root password for the Managed Database instance.

rootUsername string

The root username for the Managed Database instance.

sslConnection boolean

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

status string

The operating status of the Managed Database.

type string

The Linode Instance type used for the nodes of the Managed Database instance.

updated string

When this Managed Database was last updated.

updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

version string

The Managed Database engine version.

allow_lists Sequence[str]

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

ca_cert str

The base64-encoded SSL CA certificate for the Managed Database instance.

cluster_size int

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

created str

When this Managed Database was created.

encrypted bool

Whether the Managed Databases is encrypted. (default false)

engine str

The Managed Database engine.

engine_id str

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

host_primary str

The primary host for the Managed Database.

host_secondary str

The secondary host for the Managed Database.

label str

A unique, user-defined string referring to the Managed Database.

region str

The region to use for the Managed Database.

replication_type str

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

root_password str

The randomly-generated root password for the Managed Database instance.

root_username str

The root username for the Managed Database instance.

ssl_connection bool

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

status str

The operating status of the Managed Database.

type str

The Linode Instance type used for the nodes of the Managed Database instance.

updated str

When this Managed Database was last updated.

updates DatabaseMysqlUpdatesArgs

Configuration settings for automated patch update maintenance for the Managed Database.

version str

The Managed Database engine version.

allowLists List<String>

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode.DatabaseAccessControls to manage your allow list separately.

caCert String

The base64-encoded SSL CA certificate for the Managed Database instance.

clusterSize Number

The number of Linode Instance nodes deployed to the Managed Database. (default 1)

created String

When this Managed Database was created.

encrypted Boolean

Whether the Managed Databases is encrypted. (default false)

engine String

The Managed Database engine.

engineId String

The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)

hostPrimary String

The primary host for the Managed Database.

hostSecondary String

The secondary host for the Managed Database.

label String

A unique, user-defined string referring to the Managed Database.

region String

The region to use for the Managed Database.

replicationType String

The replication method used for the Managed Database. (none, asynch, semi_synch; default none)

rootPassword String

The randomly-generated root password for the Managed Database instance.

rootUsername String

The root username for the Managed Database instance.

sslConnection Boolean

Whether to require SSL credentials to establish a connection to the Managed Database. (default false)

status String

The operating status of the Managed Database.

type String

The Linode Instance type used for the nodes of the Managed Database instance.

updated String

When this Managed Database was last updated.

updates Property Map

Configuration settings for automated patch update maintenance for the Managed Database.

version String

The Managed Database engine version.

Supporting Types

DatabaseMysqlUpdates

dayOfWeek String
duration Integer
frequency String
hourOfDay Integer
weekOfMonth Integer
dayOfWeek string
duration number
frequency string
hourOfDay number
weekOfMonth number
dayOfWeek String
duration Number
frequency String
hourOfDay Number
weekOfMonth Number

Import

Linode MySQL Databases can be imported using the id, e.g.

 $ pulumi import linode:index/databaseMysql:DatabaseMysql foobar 1234567

Package Details

Repository
https://github.com/pulumi/pulumi-linode
License
Apache-2.0
Notes

This Pulumi package is based on the linode Terraform Provider.