linode.getDatabaseMysqlV2
Explore with Pulumi AI
Provides information about a Linode MySQL Database. For more information, see the Linode APIv4 docs.
Example Usage
Get information about a MySQL database:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const my_db = linode.getDatabaseMysqlV2({
id: "12345",
});
import pulumi
import pulumi_linode as linode
my_db = linode.get_database_mysql_v2(id="12345")
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.LookupDatabaseMysqlV2(ctx, &linode.LookupDatabaseMysqlV2Args{
Id: "12345",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var my_db = Linode.GetDatabaseMysqlV2.Invoke(new()
{
Id = "12345",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetDatabaseMysqlV2Args;
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) {
final var my-db = LinodeFunctions.getDatabaseMysqlV2(GetDatabaseMysqlV2Args.builder()
.id("12345")
.build());
}
}
variables:
my-db:
fn::invoke:
function: linode:getDatabaseMysqlV2
arguments:
id: 12345
pending_updates
The following arguments are exposed by each entry in the pending_updates
attribute:
deadline
- The time when a mandatory update needs to be applied.description
- A description of the update.planned_for
- The date and time a maintenance update will be applied.
updates
The following arguments are supported in the updates
specification block:
day_of_week
- The day to perform maintenance. (monday
,tuesday
, …)duration
- The maximum maintenance window time in hours. (1
..3
)frequency
- The frequency at which maintenance occurs. (weekly
)hour_of_day
- The hour to begin maintenance based in UTC time. (0
..23
)
Using getDatabaseMysqlV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabaseMysqlV2(args: GetDatabaseMysqlV2Args, opts?: InvokeOptions): Promise<GetDatabaseMysqlV2Result>
function getDatabaseMysqlV2Output(args: GetDatabaseMysqlV2OutputArgs, opts?: InvokeOptions): Output<GetDatabaseMysqlV2Result>
def get_database_mysql_v2(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseMysqlV2Result
def get_database_mysql_v2_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseMysqlV2Result]
func LookupDatabaseMysqlV2(ctx *Context, args *LookupDatabaseMysqlV2Args, opts ...InvokeOption) (*LookupDatabaseMysqlV2Result, error)
func LookupDatabaseMysqlV2Output(ctx *Context, args *LookupDatabaseMysqlV2OutputArgs, opts ...InvokeOption) LookupDatabaseMysqlV2ResultOutput
> Note: This function is named LookupDatabaseMysqlV2
in the Go SDK.
public static class GetDatabaseMysqlV2
{
public static Task<GetDatabaseMysqlV2Result> InvokeAsync(GetDatabaseMysqlV2Args args, InvokeOptions? opts = null)
public static Output<GetDatabaseMysqlV2Result> Invoke(GetDatabaseMysqlV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseMysqlV2Result> getDatabaseMysqlV2(GetDatabaseMysqlV2Args args, InvokeOptions options)
public static Output<GetDatabaseMysqlV2Result> getDatabaseMysqlV2(GetDatabaseMysqlV2Args args, InvokeOptions options)
fn::invoke:
function: linode:index/getDatabaseMysqlV2:getDatabaseMysqlV2
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of the MySQL database.
- Id string
- The ID of the MySQL database.
- id String
- The ID of the MySQL database.
- id string
- The ID of the MySQL database.
- id str
- The ID of the MySQL database.
- id String
- The ID of the MySQL database.
getDatabaseMysqlV2 Result
The following output properties are available:
- Allow
Lists 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. - Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Cluster
Size 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.
- Engine string
- The Managed Database engine. (e.g.
mysql
) - Engine
Config intBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- Engine
Config intMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- Engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - Engine
Config doubleMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - Engine
Config intMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- Engine
Config intMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- Engine
Config intMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- Engine
Config intMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- Engine
Config intMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- Engine
Config intMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Engine
Config intMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Engine
Config intMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config boolMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- Engine
Config intMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- Engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- Engine
Config intMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- Engine
Config intMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- Engine
Config intMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- Engine
Config intMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- Engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- Engine
Config boolMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- Engine
Config intMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members Dictionary<string, string>
- Oldest
Restore stringTime - Pending
Updates List<GetDatabase Mysql V2Pending Update> - Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Region string
- The region to use for the Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Suspended bool
- Whether this Managed Database is suspended.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Get
Database Mysql V2Updates - Version string
- The Managed Database engine version. (e.g.
13.2
)
- Allow
Lists []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. - Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Cluster
Size 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.
- Engine string
- The Managed Database engine. (e.g.
mysql
) - Engine
Config intBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- Engine
Config intMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- Engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - Engine
Config float64Mysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - Engine
Config intMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- Engine
Config intMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- Engine
Config intMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- Engine
Config intMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- Engine
Config intMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- Engine
Config intMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Engine
Config intMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Engine
Config intMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config boolMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- Engine
Config intMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- Engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- Engine
Config intMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- Engine
Config intMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- Engine
Config intMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- Engine
Config intMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- Engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- Engine
Config boolMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- Engine
Config intMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members map[string]string
- Oldest
Restore stringTime - Pending
Updates []GetDatabase Mysql V2Pending Update - Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Region string
- The region to use for the Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Suspended bool
- Whether this Managed Database is suspended.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Get
Database Mysql V2Updates - Version string
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists 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. - ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size 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.
- engine String
- The Managed Database engine. (e.g.
mysql
) - engine
Config IntegerBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config IntegerMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config StringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config DoubleMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config IntegerMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config IntegerMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config IntegerMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config IntegerMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config StringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- engine
Config IntegerMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config IntegerMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config IntegerMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config IntegerMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config BooleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config IntegerMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config StringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config IntegerMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config IntegerMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config IntegerMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config IntegerMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config IntegerMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config StringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- engine
Config BooleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- engine
Config IntegerMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config IntegerMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Integer - The ID of the database that was forked from.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String,String>
- oldest
Restore StringTime - pending
Updates List<GetDatabase Mysql V2Pending Update> - platform String
- The back-end platform for relational databases used by the service.
- port Integer
- The access port for this Managed Database.
- region String
- The region to use for the Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- suspended Boolean
- Whether this Managed Database is suspended.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- updated String
- When this Managed Database was last updated.
- updates
Get
Database Mysql V2Updates - version String
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists 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. - ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size 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.
- engine string
- The Managed Database engine. (e.g.
mysql
) - engine
Config numberBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config numberMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config numberMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config numberMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config numberMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config numberMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config numberMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- engine
Config numberMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config numberMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config numberMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config numberMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config booleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config numberMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config numberMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config numberMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config numberMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config numberMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config numberMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- engine
Config booleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- engine
Config numberMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config numberMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork
Restore stringTime - The database timestamp from which it was restored.
- fork
Source number - The ID of the database that was forked from.
- host
Primary string - The primary host for the Managed Database.
- host
Secondary string - The secondary/private host for the managed database.
- id string
- label string
- A unique, user-defined string referring to the Managed Database.
- members {[key: string]: string}
- oldest
Restore stringTime - pending
Updates GetDatabase Mysql V2Pending Update[] - platform string
- The back-end platform for relational databases used by the service.
- port number
- The access port for this Managed Database.
- region string
- The region to use for the Managed Database.
- root
Password string - The randomly-generated root password for the Managed Database instance.
- root
Username string - The root username for the Managed Database instance.
- ssl
Connection boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status string
- The operating status of the Managed Database.
- suspended boolean
- Whether this Managed Database is suspended.
- type string
- The Linode Instance type used for the nodes of the Managed Database.
- updated string
- When this Managed Database was last updated.
- updates
Get
Database Mysql V2Updates - version string
- The Managed Database engine version. (e.g.
13.2
)
- 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.
- 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.
- engine str
- The Managed Database engine. (e.g.
mysql
) - engine_
config_ intbinlog_ retention_ period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine_
config_ intmysql_ connect_ timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine_
config_ strmysql_ default_ time_ zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine_
config_ floatmysql_ group_ concat_ max_ len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine_
config_ intmysql_ information_ schema_ stats_ expiry - The time, in seconds, before cached statistics expire.
- engine_
config_ intmysql_ innodb_ change_ buffer_ max_ size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine_
config_ intmysql_ innodb_ flush_ neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine_
config_ intmysql_ innodb_ ft_ min_ token_ size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ strmysql_ innodb_ ft_ server_ stopword_ table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- engine_
config_ intmysql_ innodb_ lock_ wait_ timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine_
config_ intmysql_ innodb_ log_ buffer_ size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine_
config_ intmysql_ innodb_ online_ alter_ log_ max_ size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine_
config_ intmysql_ innodb_ read_ io_ threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ boolmysql_ innodb_ rollback_ on_ timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ innodb_ thread_ concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine_
config_ intmysql_ innodb_ write_ io_ threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ interactive_ timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine_
config_ strmysql_ internal_ tmp_ mem_ storage_ engine - The storage engine for in-memory internal temporary tables.
- engine_
config_ intmysql_ max_ allowed_ packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine_
config_ intmysql_ max_ heap_ table_ size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine_
config_ intmysql_ net_ buffer_ length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ net_ read_ timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine_
config_ intmysql_ net_ write_ timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine_
config_ intmysql_ sort_ buffer_ size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine_
config_ strmysql_ sql_ mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- engine_
config_ boolmysql_ sql_ require_ primary_ key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- engine_
config_ intmysql_ tmp_ table_ size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine_
config_ intmysql_ wait_ timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine_
id str - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork_
restore_ strtime - The database timestamp from which it was restored.
- fork_
source int - The ID of the database that was forked from.
- host_
primary str - The primary host for the Managed Database.
- host_
secondary str - The secondary/private host for the managed database.
- id str
- label str
- A unique, user-defined string referring to the Managed Database.
- members Mapping[str, str]
- oldest_
restore_ strtime - pending_
updates Sequence[GetDatabase Mysql V2Pending Update] - platform str
- The back-end platform for relational databases used by the service.
- port int
- The access port for this Managed Database.
- region str
- The region to use for the Managed Database.
- 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.
- status str
- The operating status of the Managed Database.
- suspended bool
- Whether this Managed Database is suspended.
- type str
- The Linode Instance type used for the nodes of the Managed Database.
- updated str
- When this Managed Database was last updated.
- updates
Get
Database Mysql V2Updates - version str
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists 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. - ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size 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.
- engine String
- The Managed Database engine. (e.g.
mysql
) - engine
Config NumberBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config NumberMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config StringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config NumberMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config NumberMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config NumberMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config NumberMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config NumberMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config StringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- engine
Config NumberMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config NumberMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config NumberMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config NumberMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config BooleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config NumberMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config StringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config NumberMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config NumberMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config NumberMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config NumberMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config NumberMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config StringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- engine
Config BooleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- engine
Config NumberMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config NumberMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Number - The ID of the database that was forked from.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String>
- oldest
Restore StringTime - pending
Updates List<Property Map> - platform String
- The back-end platform for relational databases used by the service.
- port Number
- The access port for this Managed Database.
- region String
- The region to use for the Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- suspended Boolean
- Whether this Managed Database is suspended.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- updated String
- When this Managed Database was last updated.
- updates Property Map
- version String
- The Managed Database engine version. (e.g.
13.2
)
Supporting Types
GetDatabaseMysqlV2PendingUpdate
- Deadline string
- Description string
- Planned
For string
- Deadline string
- Description string
- Planned
For string
- deadline String
- description String
- planned
For String
- deadline string
- description string
- planned
For string
- deadline str
- description str
- planned_
for str
- deadline String
- description String
- planned
For String
GetDatabaseMysqlV2Updates
- day_
of_ intweek - duration int
- frequency str
- hour_
of_ intday
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.