published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The MySQL resource allows the creation and management of Aiven MySQL services.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var mysql1 = new Aiven.MySql("mysql1", new()
{
Project = data.Aiven_project.Foo.Project,
CloudName = "google-europe-west1",
Plan = "business-4",
ServiceName = "my-mysql1",
MaintenanceWindowDow = "monday",
MaintenanceWindowTime = "10:00:00",
MysqlUserConfig = new Aiven.Inputs.MySqlMysqlUserConfigArgs
{
MysqlVersion = "8",
Mysql = new Aiven.Inputs.MySqlMysqlUserConfigMysqlArgs
{
SqlMode = "ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE",
SqlRequirePrimaryKey = "true",
},
PublicAccess = new Aiven.Inputs.MySqlMysqlUserConfigPublicAccessArgs
{
Mysql = "true",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v5/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.NewMySql(ctx, "mysql1", &aiven.MySqlArgs{
Project: pulumi.Any(data.Aiven_project.Foo.Project),
CloudName: pulumi.String("google-europe-west1"),
Plan: pulumi.String("business-4"),
ServiceName: pulumi.String("my-mysql1"),
MaintenanceWindowDow: pulumi.String("monday"),
MaintenanceWindowTime: pulumi.String("10:00:00"),
MysqlUserConfig: &aiven.MySqlMysqlUserConfigArgs{
MysqlVersion: pulumi.String("8"),
Mysql: &aiven.MySqlMysqlUserConfigMysqlArgs{
SqlMode: pulumi.String("ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE"),
SqlRequirePrimaryKey: pulumi.String("true"),
},
PublicAccess: &aiven.MySqlMysqlUserConfigPublicAccessArgs{
Mysql: pulumi.String("true"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.MySql;
import com.pulumi.aiven.MySqlArgs;
import com.pulumi.aiven.inputs.MySqlMysqlUserConfigArgs;
import com.pulumi.aiven.inputs.MySqlMysqlUserConfigMysqlArgs;
import com.pulumi.aiven.inputs.MySqlMysqlUserConfigPublicAccessArgs;
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 mysql1 = new MySql("mysql1", MySqlArgs.builder()
.project(data.aiven_project().foo().project())
.cloudName("google-europe-west1")
.plan("business-4")
.serviceName("my-mysql1")
.maintenanceWindowDow("monday")
.maintenanceWindowTime("10:00:00")
.mysqlUserConfig(MySqlMysqlUserConfigArgs.builder()
.mysqlVersion(8)
.mysql(MySqlMysqlUserConfigMysqlArgs.builder()
.sqlMode("ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE")
.sqlRequirePrimaryKey(true)
.build())
.publicAccess(MySqlMysqlUserConfigPublicAccessArgs.builder()
.mysql(true)
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const mysql1 = new aiven.MySql("mysql1", {
project: data.aiven_project.foo.project,
cloudName: "google-europe-west1",
plan: "business-4",
serviceName: "my-mysql1",
maintenanceWindowDow: "monday",
maintenanceWindowTime: "10:00:00",
mysqlUserConfig: {
mysqlVersion: "8",
mysql: {
sqlMode: "ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE",
sqlRequirePrimaryKey: "true",
},
publicAccess: {
mysql: "true",
},
},
});
import pulumi
import pulumi_aiven as aiven
mysql1 = aiven.MySql("mysql1",
project=data["aiven_project"]["foo"]["project"],
cloud_name="google-europe-west1",
plan="business-4",
service_name="my-mysql1",
maintenance_window_dow="monday",
maintenance_window_time="10:00:00",
mysql_user_config=aiven.MySqlMysqlUserConfigArgs(
mysql_version="8",
mysql=aiven.MySqlMysqlUserConfigMysqlArgs(
sql_mode="ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE",
sql_require_primary_key="true",
),
public_access=aiven.MySqlMysqlUserConfigPublicAccessArgs(
mysql="true",
),
))
resources:
mysql1:
type: aiven:MySql
properties:
project: ${data.aiven_project.foo.project}
cloudName: google-europe-west1
plan: business-4
serviceName: my-mysql1
maintenanceWindowDow: monday
maintenanceWindowTime: 10:00:00
mysqlUserConfig:
mysqlVersion: 8
mysql:
sqlMode: ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE
sqlRequirePrimaryKey: true
publicAccess:
mysql: true
Create MySql Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MySql(name: string, args: MySqlArgs, opts?: CustomResourceOptions);@overload
def MySql(resource_name: str,
args: MySqlArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MySql(resource_name: str,
opts: Optional[ResourceOptions] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
plan: Optional[str] = None,
maintenance_window_dow: Optional[str] = None,
maintenance_window_time: Optional[str] = None,
mysql_user_config: Optional[MySqlMysqlUserConfigArgs] = None,
additional_disk_space: Optional[str] = None,
disk_space: Optional[str] = None,
project_vpc_id: Optional[str] = None,
service_integrations: Optional[Sequence[MySqlServiceIntegrationArgs]] = None,
cloud_name: Optional[str] = None,
static_ips: Optional[Sequence[str]] = None,
tags: Optional[Sequence[MySqlTagArgs]] = None,
termination_protection: Optional[bool] = None)func NewMySql(ctx *Context, name string, args MySqlArgs, opts ...ResourceOption) (*MySql, error)public MySql(string name, MySqlArgs args, CustomResourceOptions? opts = null)type: aiven:MySql
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 MySqlArgs
- 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 MySqlArgs
- 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 MySqlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MySqlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MySqlArgs
- 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 mySqlResource = new Aiven.MySql("mySqlResource", new()
{
Project = "string",
ServiceName = "string",
Plan = "string",
MaintenanceWindowDow = "string",
MaintenanceWindowTime = "string",
MysqlUserConfig = new Aiven.Inputs.MySqlMysqlUserConfigArgs
{
AdditionalBackupRegions = "string",
AdminPassword = "string",
AdminUsername = "string",
BackupHour = "string",
BackupMinute = "string",
BinlogRetentionPeriod = "string",
IpFilterObjects = new[]
{
new Aiven.Inputs.MySqlMysqlUserConfigIpFilterObjectArgs
{
Description = "string",
Network = "string",
},
},
IpFilters = new[]
{
"string",
},
Migration = new Aiven.Inputs.MySqlMysqlUserConfigMigrationArgs
{
Dbname = "string",
Host = "string",
IgnoreDbs = "string",
Method = "string",
Password = "string",
Port = "string",
Ssl = "string",
Username = "string",
},
Mysql = new Aiven.Inputs.MySqlMysqlUserConfigMysqlArgs
{
ConnectTimeout = "string",
DefaultTimeZone = "string",
GroupConcatMaxLen = "string",
InformationSchemaStatsExpiry = "string",
InnodbChangeBufferMaxSize = "string",
InnodbFlushNeighbors = "string",
InnodbFtMinTokenSize = "string",
InnodbFtServerStopwordTable = "string",
InnodbLockWaitTimeout = "string",
InnodbLogBufferSize = "string",
InnodbOnlineAlterLogMaxSize = "string",
InnodbPrintAllDeadlocks = "string",
InnodbReadIoThreads = "string",
InnodbRollbackOnTimeout = "string",
InnodbThreadConcurrency = "string",
InnodbWriteIoThreads = "string",
InteractiveTimeout = "string",
InternalTmpMemStorageEngine = "string",
LongQueryTime = "string",
MaxAllowedPacket = "string",
MaxHeapTableSize = "string",
NetBufferLength = "string",
NetReadTimeout = "string",
NetWriteTimeout = "string",
SlowQueryLog = "string",
SortBufferSize = "string",
SqlMode = "string",
SqlRequirePrimaryKey = "string",
TmpTableSize = "string",
WaitTimeout = "string",
},
MysqlVersion = "string",
PrivateAccess = new Aiven.Inputs.MySqlMysqlUserConfigPrivateAccessArgs
{
Mysql = "string",
Mysqlx = "string",
Prometheus = "string",
},
PrivatelinkAccess = new Aiven.Inputs.MySqlMysqlUserConfigPrivatelinkAccessArgs
{
Mysql = "string",
Mysqlx = "string",
Prometheus = "string",
},
ProjectToForkFrom = "string",
PublicAccess = new Aiven.Inputs.MySqlMysqlUserConfigPublicAccessArgs
{
Mysql = "string",
Mysqlx = "string",
Prometheus = "string",
},
RecoveryTargetTime = "string",
ServiceToForkFrom = "string",
StaticIps = "string",
},
AdditionalDiskSpace = "string",
DiskSpace = "string",
ProjectVpcId = "string",
ServiceIntegrations = new[]
{
new Aiven.Inputs.MySqlServiceIntegrationArgs
{
IntegrationType = "string",
SourceServiceName = "string",
},
},
CloudName = "string",
StaticIps = new[]
{
"string",
},
Tags = new[]
{
new Aiven.Inputs.MySqlTagArgs
{
Key = "string",
Value = "string",
},
},
TerminationProtection = false,
});
example, err := aiven.NewMySql(ctx, "mySqlResource", &aiven.MySqlArgs{
Project: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Plan: pulumi.String("string"),
MaintenanceWindowDow: pulumi.String("string"),
MaintenanceWindowTime: pulumi.String("string"),
MysqlUserConfig: &aiven.MySqlMysqlUserConfigArgs{
AdditionalBackupRegions: pulumi.String("string"),
AdminPassword: pulumi.String("string"),
AdminUsername: pulumi.String("string"),
BackupHour: pulumi.String("string"),
BackupMinute: pulumi.String("string"),
BinlogRetentionPeriod: pulumi.String("string"),
IpFilterObjects: aiven.MySqlMysqlUserConfigIpFilterObjectArray{
&aiven.MySqlMysqlUserConfigIpFilterObjectArgs{
Description: pulumi.String("string"),
Network: pulumi.String("string"),
},
},
IpFilters: pulumi.StringArray{
pulumi.String("string"),
},
Migration: &aiven.MySqlMysqlUserConfigMigrationArgs{
Dbname: pulumi.String("string"),
Host: pulumi.String("string"),
IgnoreDbs: pulumi.String("string"),
Method: pulumi.String("string"),
Password: pulumi.String("string"),
Port: pulumi.String("string"),
Ssl: pulumi.String("string"),
Username: pulumi.String("string"),
},
Mysql: &aiven.MySqlMysqlUserConfigMysqlArgs{
ConnectTimeout: pulumi.String("string"),
DefaultTimeZone: pulumi.String("string"),
GroupConcatMaxLen: pulumi.String("string"),
InformationSchemaStatsExpiry: pulumi.String("string"),
InnodbChangeBufferMaxSize: pulumi.String("string"),
InnodbFlushNeighbors: pulumi.String("string"),
InnodbFtMinTokenSize: pulumi.String("string"),
InnodbFtServerStopwordTable: pulumi.String("string"),
InnodbLockWaitTimeout: pulumi.String("string"),
InnodbLogBufferSize: pulumi.String("string"),
InnodbOnlineAlterLogMaxSize: pulumi.String("string"),
InnodbPrintAllDeadlocks: pulumi.String("string"),
InnodbReadIoThreads: pulumi.String("string"),
InnodbRollbackOnTimeout: pulumi.String("string"),
InnodbThreadConcurrency: pulumi.String("string"),
InnodbWriteIoThreads: pulumi.String("string"),
InteractiveTimeout: pulumi.String("string"),
InternalTmpMemStorageEngine: pulumi.String("string"),
LongQueryTime: pulumi.String("string"),
MaxAllowedPacket: pulumi.String("string"),
MaxHeapTableSize: pulumi.String("string"),
NetBufferLength: pulumi.String("string"),
NetReadTimeout: pulumi.String("string"),
NetWriteTimeout: pulumi.String("string"),
SlowQueryLog: pulumi.String("string"),
SortBufferSize: pulumi.String("string"),
SqlMode: pulumi.String("string"),
SqlRequirePrimaryKey: pulumi.String("string"),
TmpTableSize: pulumi.String("string"),
WaitTimeout: pulumi.String("string"),
},
MysqlVersion: pulumi.String("string"),
PrivateAccess: &aiven.MySqlMysqlUserConfigPrivateAccessArgs{
Mysql: pulumi.String("string"),
Mysqlx: pulumi.String("string"),
Prometheus: pulumi.String("string"),
},
PrivatelinkAccess: &aiven.MySqlMysqlUserConfigPrivatelinkAccessArgs{
Mysql: pulumi.String("string"),
Mysqlx: pulumi.String("string"),
Prometheus: pulumi.String("string"),
},
ProjectToForkFrom: pulumi.String("string"),
PublicAccess: &aiven.MySqlMysqlUserConfigPublicAccessArgs{
Mysql: pulumi.String("string"),
Mysqlx: pulumi.String("string"),
Prometheus: pulumi.String("string"),
},
RecoveryTargetTime: pulumi.String("string"),
ServiceToForkFrom: pulumi.String("string"),
StaticIps: pulumi.String("string"),
},
AdditionalDiskSpace: pulumi.String("string"),
DiskSpace: pulumi.String("string"),
ProjectVpcId: pulumi.String("string"),
ServiceIntegrations: aiven.MySqlServiceIntegrationArray{
&aiven.MySqlServiceIntegrationArgs{
IntegrationType: pulumi.String("string"),
SourceServiceName: pulumi.String("string"),
},
},
CloudName: pulumi.String("string"),
StaticIps: pulumi.StringArray{
pulumi.String("string"),
},
Tags: aiven.MySqlTagArray{
&aiven.MySqlTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TerminationProtection: pulumi.Bool(false),
})
var mySqlResource = new MySql("mySqlResource", MySqlArgs.builder()
.project("string")
.serviceName("string")
.plan("string")
.maintenanceWindowDow("string")
.maintenanceWindowTime("string")
.mysqlUserConfig(MySqlMysqlUserConfigArgs.builder()
.additionalBackupRegions("string")
.adminPassword("string")
.adminUsername("string")
.backupHour("string")
.backupMinute("string")
.binlogRetentionPeriod("string")
.ipFilterObjects(MySqlMysqlUserConfigIpFilterObjectArgs.builder()
.description("string")
.network("string")
.build())
.ipFilters("string")
.migration(MySqlMysqlUserConfigMigrationArgs.builder()
.dbname("string")
.host("string")
.ignoreDbs("string")
.method("string")
.password("string")
.port("string")
.ssl("string")
.username("string")
.build())
.mysql(MySqlMysqlUserConfigMysqlArgs.builder()
.connectTimeout("string")
.defaultTimeZone("string")
.groupConcatMaxLen("string")
.informationSchemaStatsExpiry("string")
.innodbChangeBufferMaxSize("string")
.innodbFlushNeighbors("string")
.innodbFtMinTokenSize("string")
.innodbFtServerStopwordTable("string")
.innodbLockWaitTimeout("string")
.innodbLogBufferSize("string")
.innodbOnlineAlterLogMaxSize("string")
.innodbPrintAllDeadlocks("string")
.innodbReadIoThreads("string")
.innodbRollbackOnTimeout("string")
.innodbThreadConcurrency("string")
.innodbWriteIoThreads("string")
.interactiveTimeout("string")
.internalTmpMemStorageEngine("string")
.longQueryTime("string")
.maxAllowedPacket("string")
.maxHeapTableSize("string")
.netBufferLength("string")
.netReadTimeout("string")
.netWriteTimeout("string")
.slowQueryLog("string")
.sortBufferSize("string")
.sqlMode("string")
.sqlRequirePrimaryKey("string")
.tmpTableSize("string")
.waitTimeout("string")
.build())
.mysqlVersion("string")
.privateAccess(MySqlMysqlUserConfigPrivateAccessArgs.builder()
.mysql("string")
.mysqlx("string")
.prometheus("string")
.build())
.privatelinkAccess(MySqlMysqlUserConfigPrivatelinkAccessArgs.builder()
.mysql("string")
.mysqlx("string")
.prometheus("string")
.build())
.projectToForkFrom("string")
.publicAccess(MySqlMysqlUserConfigPublicAccessArgs.builder()
.mysql("string")
.mysqlx("string")
.prometheus("string")
.build())
.recoveryTargetTime("string")
.serviceToForkFrom("string")
.staticIps("string")
.build())
.additionalDiskSpace("string")
.diskSpace("string")
.projectVpcId("string")
.serviceIntegrations(MySqlServiceIntegrationArgs.builder()
.integrationType("string")
.sourceServiceName("string")
.build())
.cloudName("string")
.staticIps("string")
.tags(MySqlTagArgs.builder()
.key("string")
.value("string")
.build())
.terminationProtection(false)
.build());
my_sql_resource = aiven.MySql("mySqlResource",
project="string",
service_name="string",
plan="string",
maintenance_window_dow="string",
maintenance_window_time="string",
mysql_user_config={
"additional_backup_regions": "string",
"admin_password": "string",
"admin_username": "string",
"backup_hour": "string",
"backup_minute": "string",
"binlog_retention_period": "string",
"ip_filter_objects": [{
"description": "string",
"network": "string",
}],
"ip_filters": ["string"],
"migration": {
"dbname": "string",
"host": "string",
"ignore_dbs": "string",
"method": "string",
"password": "string",
"port": "string",
"ssl": "string",
"username": "string",
},
"mysql": {
"connect_timeout": "string",
"default_time_zone": "string",
"group_concat_max_len": "string",
"information_schema_stats_expiry": "string",
"innodb_change_buffer_max_size": "string",
"innodb_flush_neighbors": "string",
"innodb_ft_min_token_size": "string",
"innodb_ft_server_stopword_table": "string",
"innodb_lock_wait_timeout": "string",
"innodb_log_buffer_size": "string",
"innodb_online_alter_log_max_size": "string",
"innodb_print_all_deadlocks": "string",
"innodb_read_io_threads": "string",
"innodb_rollback_on_timeout": "string",
"innodb_thread_concurrency": "string",
"innodb_write_io_threads": "string",
"interactive_timeout": "string",
"internal_tmp_mem_storage_engine": "string",
"long_query_time": "string",
"max_allowed_packet": "string",
"max_heap_table_size": "string",
"net_buffer_length": "string",
"net_read_timeout": "string",
"net_write_timeout": "string",
"slow_query_log": "string",
"sort_buffer_size": "string",
"sql_mode": "string",
"sql_require_primary_key": "string",
"tmp_table_size": "string",
"wait_timeout": "string",
},
"mysql_version": "string",
"private_access": {
"mysql": "string",
"mysqlx": "string",
"prometheus": "string",
},
"privatelink_access": {
"mysql": "string",
"mysqlx": "string",
"prometheus": "string",
},
"project_to_fork_from": "string",
"public_access": {
"mysql": "string",
"mysqlx": "string",
"prometheus": "string",
},
"recovery_target_time": "string",
"service_to_fork_from": "string",
"static_ips": "string",
},
additional_disk_space="string",
disk_space="string",
project_vpc_id="string",
service_integrations=[{
"integration_type": "string",
"source_service_name": "string",
}],
cloud_name="string",
static_ips=["string"],
tags=[{
"key": "string",
"value": "string",
}],
termination_protection=False)
const mySqlResource = new aiven.MySql("mySqlResource", {
project: "string",
serviceName: "string",
plan: "string",
maintenanceWindowDow: "string",
maintenanceWindowTime: "string",
mysqlUserConfig: {
additionalBackupRegions: "string",
adminPassword: "string",
adminUsername: "string",
backupHour: "string",
backupMinute: "string",
binlogRetentionPeriod: "string",
ipFilterObjects: [{
description: "string",
network: "string",
}],
ipFilters: ["string"],
migration: {
dbname: "string",
host: "string",
ignoreDbs: "string",
method: "string",
password: "string",
port: "string",
ssl: "string",
username: "string",
},
mysql: {
connectTimeout: "string",
defaultTimeZone: "string",
groupConcatMaxLen: "string",
informationSchemaStatsExpiry: "string",
innodbChangeBufferMaxSize: "string",
innodbFlushNeighbors: "string",
innodbFtMinTokenSize: "string",
innodbFtServerStopwordTable: "string",
innodbLockWaitTimeout: "string",
innodbLogBufferSize: "string",
innodbOnlineAlterLogMaxSize: "string",
innodbPrintAllDeadlocks: "string",
innodbReadIoThreads: "string",
innodbRollbackOnTimeout: "string",
innodbThreadConcurrency: "string",
innodbWriteIoThreads: "string",
interactiveTimeout: "string",
internalTmpMemStorageEngine: "string",
longQueryTime: "string",
maxAllowedPacket: "string",
maxHeapTableSize: "string",
netBufferLength: "string",
netReadTimeout: "string",
netWriteTimeout: "string",
slowQueryLog: "string",
sortBufferSize: "string",
sqlMode: "string",
sqlRequirePrimaryKey: "string",
tmpTableSize: "string",
waitTimeout: "string",
},
mysqlVersion: "string",
privateAccess: {
mysql: "string",
mysqlx: "string",
prometheus: "string",
},
privatelinkAccess: {
mysql: "string",
mysqlx: "string",
prometheus: "string",
},
projectToForkFrom: "string",
publicAccess: {
mysql: "string",
mysqlx: "string",
prometheus: "string",
},
recoveryTargetTime: "string",
serviceToForkFrom: "string",
staticIps: "string",
},
additionalDiskSpace: "string",
diskSpace: "string",
projectVpcId: "string",
serviceIntegrations: [{
integrationType: "string",
sourceServiceName: "string",
}],
cloudName: "string",
staticIps: ["string"],
tags: [{
key: "string",
value: "string",
}],
terminationProtection: false,
});
type: aiven:MySql
properties:
additionalDiskSpace: string
cloudName: string
diskSpace: string
maintenanceWindowDow: string
maintenanceWindowTime: string
mysqlUserConfig:
additionalBackupRegions: string
adminPassword: string
adminUsername: string
backupHour: string
backupMinute: string
binlogRetentionPeriod: string
ipFilterObjects:
- description: string
network: string
ipFilters:
- string
migration:
dbname: string
host: string
ignoreDbs: string
method: string
password: string
port: string
ssl: string
username: string
mysql:
connectTimeout: string
defaultTimeZone: string
groupConcatMaxLen: string
informationSchemaStatsExpiry: string
innodbChangeBufferMaxSize: string
innodbFlushNeighbors: string
innodbFtMinTokenSize: string
innodbFtServerStopwordTable: string
innodbLockWaitTimeout: string
innodbLogBufferSize: string
innodbOnlineAlterLogMaxSize: string
innodbPrintAllDeadlocks: string
innodbReadIoThreads: string
innodbRollbackOnTimeout: string
innodbThreadConcurrency: string
innodbWriteIoThreads: string
interactiveTimeout: string
internalTmpMemStorageEngine: string
longQueryTime: string
maxAllowedPacket: string
maxHeapTableSize: string
netBufferLength: string
netReadTimeout: string
netWriteTimeout: string
slowQueryLog: string
sortBufferSize: string
sqlMode: string
sqlRequirePrimaryKey: string
tmpTableSize: string
waitTimeout: string
mysqlVersion: string
privateAccess:
mysql: string
mysqlx: string
prometheus: string
privatelinkAccess:
mysql: string
mysqlx: string
prometheus: string
projectToForkFrom: string
publicAccess:
mysql: string
mysqlx: string
prometheus: string
recoveryTargetTime: string
serviceToForkFrom: string
staticIps: string
plan: string
project: string
projectVpcId: string
serviceIntegrations:
- integrationType: string
sourceServiceName: string
serviceName: string
staticIps:
- string
tags:
- key: string
value: string
terminationProtection: false
MySql 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 MySql resource accepts the following input properties:
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Mysql
User MyConfig Sql Mysql User Config - Mysql user configurable settings
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Integrations List<MySql Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- Static
Ips List<string> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<My
Sql Tag> - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Mysql
User MyConfig Sql Mysql User Config Args - Mysql user configurable settings
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Integrations []MySql Service Integration Args - Service integrations to specify when creating a service. Not applied after initial service creation
- Static
Ips []string - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
[]My
Sql Tag Args - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
User MyConfig Sql Mysql User Config - Mysql user configurable settings
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations List<MySql Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<My
Sql Tag> - Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
User MyConfig Sql Mysql User Config - Mysql user configurable settings
- plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations MySql Service Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- static
Ips string[] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
My
Sql Tag[] - Tags are key-value pairs that allow you to categorize services.
- termination
Protection boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- additional_
disk_ strspace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud_
name str - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- maintenance_
window_ strdow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql_
user_ Myconfig Sql Mysql User Config Args - Mysql user configurable settings
- plan str
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project_
vpc_ strid - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service_
integrations Sequence[MySql Service Integration Args] - Service integrations to specify when creating a service. Not applied after initial service creation
- static_
ips Sequence[str] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
Sequence[My
Sql Tag Args] - Tags are key-value pairs that allow you to categorize services.
- termination_
protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
User Property MapConfig - Mysql user configurable settings
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations List<Property Map> - Service integrations to specify when creating a service. Not applied after initial service creation
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Property Map>
- Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Outputs
All input properties are implicitly available as output properties. Additionally, the MySql resource produces the following output properties:
- Components
List<My
Sql Component> - Service component information objects
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Mysqls
List<My
Sql Mysql> - MySQL specific server provided values
- Service
Host string - The hostname of the service.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- Components
[]My
Sql Component - Service component information objects
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Mysqls
[]My
Sql Mysql - MySQL specific server provided values
- Service
Host string - The hostname of the service.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components
List<My
Sql Component> - Service component information objects
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- mysqls
List<My
Sql Mysql> - MySQL specific server provided values
- service
Host String - The hostname of the service.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Integer - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components
My
Sql Component[] - Service component information objects
- disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space stringUsed - Disk space that service is currently using
- id string
- The provider-assigned unique ID for this managed resource.
- mysqls
My
Sql Mysql[] - MySQL specific server provided values
- service
Host string - The hostname of the service.
- service
Password string - Password used for connecting to the service, if applicable
- service
Port number - The port of the service
- service
Type string - Aiven internal service type code
- service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string - Username used for connecting to the service, if applicable
- state string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components
Sequence[My
Sql Component] - Service component information objects
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk_
space_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk_
space_ strused - Disk space that service is currently using
- id str
- The provider-assigned unique ID for this managed resource.
- mysqls
Sequence[My
Sql Mysql] - MySQL specific server provided values
- service_
host str - The hostname of the service.
- service_
password str - Password used for connecting to the service, if applicable
- service_
port int - The port of the service
- service_
type str - Aiven internal service type code
- service_
uri str - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str - Username used for connecting to the service, if applicable
- state str
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components List<Property Map>
- Service component information objects
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- mysqls List<Property Map>
- MySQL specific server provided values
- service
Host String - The hostname of the service.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Number - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
Look up Existing MySql Resource
Get an existing MySql 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?: MySqlState, opts?: CustomResourceOptions): MySql@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_disk_space: Optional[str] = None,
cloud_name: Optional[str] = None,
components: Optional[Sequence[MySqlComponentArgs]] = None,
disk_space: Optional[str] = None,
disk_space_cap: Optional[str] = None,
disk_space_default: Optional[str] = None,
disk_space_step: Optional[str] = None,
disk_space_used: Optional[str] = None,
maintenance_window_dow: Optional[str] = None,
maintenance_window_time: Optional[str] = None,
mysql_user_config: Optional[MySqlMysqlUserConfigArgs] = None,
mysqls: Optional[Sequence[MySqlMysqlArgs]] = None,
plan: Optional[str] = None,
project: Optional[str] = None,
project_vpc_id: Optional[str] = None,
service_host: Optional[str] = None,
service_integrations: Optional[Sequence[MySqlServiceIntegrationArgs]] = None,
service_name: Optional[str] = None,
service_password: Optional[str] = None,
service_port: Optional[int] = None,
service_type: Optional[str] = None,
service_uri: Optional[str] = None,
service_username: Optional[str] = None,
state: Optional[str] = None,
static_ips: Optional[Sequence[str]] = None,
tags: Optional[Sequence[MySqlTagArgs]] = None,
termination_protection: Optional[bool] = None) -> MySqlfunc GetMySql(ctx *Context, name string, id IDInput, state *MySqlState, opts ...ResourceOption) (*MySql, error)public static MySql Get(string name, Input<string> id, MySqlState? state, CustomResourceOptions? opts = null)public static MySql get(String name, Output<String> id, MySqlState state, CustomResourceOptions options)resources: _: type: aiven:MySql 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.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
List<My
Sql Component> - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Mysql
User MyConfig Sql Mysql User Config - Mysql user configurable settings
- Mysqls
List<My
Sql Mysql> - MySQL specific server provided values
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string - The hostname of the service.
- Service
Integrations List<MySql Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - Static
Ips List<string> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<My
Sql Tag> - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
[]My
Sql Component Args - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Mysql
User MyConfig Sql Mysql User Config Args - Mysql user configurable settings
- Mysqls
[]My
Sql Mysql Args - MySQL specific server provided values
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string - The hostname of the service.
- Service
Integrations []MySql Service Integration Args - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - Static
Ips []string - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
[]My
Sql Tag Args - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
List<My
Sql Component> - Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
User MyConfig Sql Mysql User Config - Mysql user configurable settings
- mysqls
List<My
Sql Mysql> - MySQL specific server provided values
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String - The hostname of the service.
- service
Integrations List<MySql Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Integer - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<My
Sql Tag> - Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
My
Sql Component[] - Service component information objects
- disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space stringUsed - Disk space that service is currently using
- maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
User MyConfig Sql Mysql User Config - Mysql user configurable settings
- mysqls
My
Sql Mysql[] - MySQL specific server provided values
- plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host string - The hostname of the service.
- service
Integrations MySql Service Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password string - Password used for connecting to the service, if applicable
- service
Port number - The port of the service
- service
Type string - Aiven internal service type code
- service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string - Username used for connecting to the service, if applicable
- state string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips string[] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
My
Sql Tag[] - Tags are key-value pairs that allow you to categorize services.
- termination
Protection boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional_
disk_ strspace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud_
name str - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
Sequence[My
Sql Component Args] - Service component information objects
- disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk_
space_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk_
space_ strused - Disk space that service is currently using
- maintenance_
window_ strdow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql_
user_ Myconfig Sql Mysql User Config Args - Mysql user configurable settings
- mysqls
Sequence[My
Sql Mysql Args] - MySQL specific server provided values
- plan str
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project_
vpc_ strid - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service_
host str - The hostname of the service.
- service_
integrations Sequence[MySql Service Integration Args] - Service integrations to specify when creating a service. Not applied after initial service creation
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service_
password str - Password used for connecting to the service, if applicable
- service_
port int - The port of the service
- service_
type str - Aiven internal service type code
- service_
uri str - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str - Username used for connecting to the service, if applicable
- state str
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static_
ips Sequence[str] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
Sequence[My
Sql Tag Args] - Tags are key-value pairs that allow you to categorize services.
- termination_
protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components List<Property Map>
- Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
User Property MapConfig - Mysql user configurable settings
- mysqls List<Property Map>
- MySQL specific server provided values
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String - The hostname of the service.
- service
Integrations List<Property Map> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Number - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Property Map>
- Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Supporting Types
MySqlComponent, MySqlComponentArgs
MySqlMysqlUserConfig, MySqlMysqlUserConfigArgs
- Additional
Backup stringRegions - Admin
Password string - Admin
Username string - Backup
Hour string - Backup
Minute string - Binlog
Retention stringPeriod - Ip
Filter List<MyObjects Sql Mysql User Config Ip Filter Object> - Ip
Filters List<string> - Migration
My
Sql Mysql User Config Migration - Mysql
My
Sql Mysql User Config Mysql - Mysql
Version string - Private
Access MySql Mysql User Config Private Access - Privatelink
Access MySql Mysql User Config Privatelink Access - Project
To stringFork From - Public
Access MySql Mysql User Config Public Access - Recovery
Target stringTime - Service
To stringFork From - Static
Ips string
- Additional
Backup stringRegions - Admin
Password string - Admin
Username string - Backup
Hour string - Backup
Minute string - Binlog
Retention stringPeriod - Ip
Filter []MyObjects Sql Mysql User Config Ip Filter Object - Ip
Filters []string - Migration
My
Sql Mysql User Config Migration - Mysql
My
Sql Mysql User Config Mysql - Mysql
Version string - Private
Access MySql Mysql User Config Private Access - Privatelink
Access MySql Mysql User Config Privatelink Access - Project
To stringFork From - Public
Access MySql Mysql User Config Public Access - Recovery
Target stringTime - Service
To stringFork From - Static
Ips string
- additional
Backup StringRegions - admin
Password String - admin
Username String - backup
Hour String - backup
Minute String - binlog
Retention StringPeriod - ip
Filter List<MyObjects Sql Mysql User Config Ip Filter Object> - ip
Filters List<String> - migration
My
Sql Mysql User Config Migration - mysql
My
Sql Mysql User Config Mysql - mysql
Version String - private
Access MySql Mysql User Config Private Access - privatelink
Access MySql Mysql User Config Privatelink Access - project
To StringFork From - public
Access MySql Mysql User Config Public Access - recovery
Target StringTime - service
To StringFork From - static
Ips String
- additional
Backup stringRegions - admin
Password string - admin
Username string - backup
Hour string - backup
Minute string - binlog
Retention stringPeriod - ip
Filter MyObjects Sql Mysql User Config Ip Filter Object[] - ip
Filters string[] - migration
My
Sql Mysql User Config Migration - mysql
My
Sql Mysql User Config Mysql - mysql
Version string - private
Access MySql Mysql User Config Private Access - privatelink
Access MySql Mysql User Config Privatelink Access - project
To stringFork From - public
Access MySql Mysql User Config Public Access - recovery
Target stringTime - service
To stringFork From - static
Ips string
- additional_
backup_ strregions - admin_
password str - admin_
username str - backup_
hour str - backup_
minute str - binlog_
retention_ strperiod - ip_
filter_ Sequence[Myobjects Sql Mysql User Config Ip Filter Object] - ip_
filters Sequence[str] - migration
My
Sql Mysql User Config Migration - mysql
My
Sql Mysql User Config Mysql - mysql_
version str - private_
access MySql Mysql User Config Private Access - privatelink_
access MySql Mysql User Config Privatelink Access - project_
to_ strfork_ from - public_
access MySql Mysql User Config Public Access - recovery_
target_ strtime - service_
to_ strfork_ from - static_
ips str
- additional
Backup StringRegions - admin
Password String - admin
Username String - backup
Hour String - backup
Minute String - binlog
Retention StringPeriod - ip
Filter List<Property Map>Objects - ip
Filters List<String> - migration Property Map
- mysql Property Map
- mysql
Version String - private
Access Property Map - privatelink
Access Property Map - project
To StringFork From - public
Access Property Map - recovery
Target StringTime - service
To StringFork From - static
Ips String
MySqlMysqlUserConfigIpFilterObject, MySqlMysqlUserConfigIpFilterObjectArgs
- Description string
- Network string
- Description string
- Network string
- description String
- network String
- description string
- network string
- description str
- network str
- description String
- network String
MySqlMysqlUserConfigMigration, MySqlMysqlUserConfigMigrationArgs
MySqlMysqlUserConfigMysql, MySqlMysqlUserConfigMysqlArgs
- Connect
Timeout string - Default
Time stringZone - Group
Concat stringMax Len - Information
Schema stringStats Expiry - Innodb
Change stringBuffer Max Size - Innodb
Flush stringNeighbors - Innodb
Ft stringMin Token Size - Innodb
Ft stringServer Stopword Table - Innodb
Lock stringWait Timeout - Innodb
Log stringBuffer Size - Innodb
Online stringAlter Log Max Size - Innodb
Print stringAll Deadlocks - Innodb
Read stringIo Threads - Innodb
Rollback stringOn Timeout - Innodb
Thread stringConcurrency - Innodb
Write stringIo Threads - Interactive
Timeout string - Internal
Tmp stringMem Storage Engine - Long
Query stringTime - Max
Allowed stringPacket - Max
Heap stringTable Size - Net
Buffer stringLength - Net
Read stringTimeout - Net
Write stringTimeout - Slow
Query stringLog - Sort
Buffer stringSize - Sql
Mode string - Sql
Require stringPrimary Key - Tmp
Table stringSize - Wait
Timeout string
- Connect
Timeout string - Default
Time stringZone - Group
Concat stringMax Len - Information
Schema stringStats Expiry - Innodb
Change stringBuffer Max Size - Innodb
Flush stringNeighbors - Innodb
Ft stringMin Token Size - Innodb
Ft stringServer Stopword Table - Innodb
Lock stringWait Timeout - Innodb
Log stringBuffer Size - Innodb
Online stringAlter Log Max Size - Innodb
Print stringAll Deadlocks - Innodb
Read stringIo Threads - Innodb
Rollback stringOn Timeout - Innodb
Thread stringConcurrency - Innodb
Write stringIo Threads - Interactive
Timeout string - Internal
Tmp stringMem Storage Engine - Long
Query stringTime - Max
Allowed stringPacket - Max
Heap stringTable Size - Net
Buffer stringLength - Net
Read stringTimeout - Net
Write stringTimeout - Slow
Query stringLog - Sort
Buffer stringSize - Sql
Mode string - Sql
Require stringPrimary Key - Tmp
Table stringSize - Wait
Timeout string
- connect
Timeout String - default
Time StringZone - group
Concat StringMax Len - information
Schema StringStats Expiry - innodb
Change StringBuffer Max Size - innodb
Flush StringNeighbors - innodb
Ft StringMin Token Size - innodb
Ft StringServer Stopword Table - innodb
Lock StringWait Timeout - innodb
Log StringBuffer Size - innodb
Online StringAlter Log Max Size - innodb
Print StringAll Deadlocks - innodb
Read StringIo Threads - innodb
Rollback StringOn Timeout - innodb
Thread StringConcurrency - innodb
Write StringIo Threads - interactive
Timeout String - internal
Tmp StringMem Storage Engine - long
Query StringTime - max
Allowed StringPacket - max
Heap StringTable Size - net
Buffer StringLength - net
Read StringTimeout - net
Write StringTimeout - slow
Query StringLog - sort
Buffer StringSize - sql
Mode String - sql
Require StringPrimary Key - tmp
Table StringSize - wait
Timeout String
- connect
Timeout string - default
Time stringZone - group
Concat stringMax Len - information
Schema stringStats Expiry - innodb
Change stringBuffer Max Size - innodb
Flush stringNeighbors - innodb
Ft stringMin Token Size - innodb
Ft stringServer Stopword Table - innodb
Lock stringWait Timeout - innodb
Log stringBuffer Size - innodb
Online stringAlter Log Max Size - innodb
Print stringAll Deadlocks - innodb
Read stringIo Threads - innodb
Rollback stringOn Timeout - innodb
Thread stringConcurrency - innodb
Write stringIo Threads - interactive
Timeout string - internal
Tmp stringMem Storage Engine - long
Query stringTime - max
Allowed stringPacket - max
Heap stringTable Size - net
Buffer stringLength - net
Read stringTimeout - net
Write stringTimeout - slow
Query stringLog - sort
Buffer stringSize - sql
Mode string - sql
Require stringPrimary Key - tmp
Table stringSize - wait
Timeout string
- connect_
timeout str - default_
time_ strzone - group_
concat_ strmax_ len - information_
schema_ strstats_ expiry - innodb_
change_ strbuffer_ max_ size - innodb_
flush_ strneighbors - innodb_
ft_ strmin_ token_ size - innodb_
ft_ strserver_ stopword_ table - innodb_
lock_ strwait_ timeout - innodb_
log_ strbuffer_ size - innodb_
online_ stralter_ log_ max_ size - innodb_
print_ strall_ deadlocks - innodb_
read_ strio_ threads - innodb_
rollback_ stron_ timeout - innodb_
thread_ strconcurrency - innodb_
write_ strio_ threads - interactive_
timeout str - internal_
tmp_ strmem_ storage_ engine - long_
query_ strtime - max_
allowed_ strpacket - max_
heap_ strtable_ size - net_
buffer_ strlength - net_
read_ strtimeout - net_
write_ strtimeout - slow_
query_ strlog - sort_
buffer_ strsize - sql_
mode str - sql_
require_ strprimary_ key - tmp_
table_ strsize - wait_
timeout str
- connect
Timeout String - default
Time StringZone - group
Concat StringMax Len - information
Schema StringStats Expiry - innodb
Change StringBuffer Max Size - innodb
Flush StringNeighbors - innodb
Ft StringMin Token Size - innodb
Ft StringServer Stopword Table - innodb
Lock StringWait Timeout - innodb
Log StringBuffer Size - innodb
Online StringAlter Log Max Size - innodb
Print StringAll Deadlocks - innodb
Read StringIo Threads - innodb
Rollback StringOn Timeout - innodb
Thread StringConcurrency - innodb
Write StringIo Threads - interactive
Timeout String - internal
Tmp StringMem Storage Engine - long
Query StringTime - max
Allowed StringPacket - max
Heap StringTable Size - net
Buffer StringLength - net
Read StringTimeout - net
Write StringTimeout - slow
Query StringLog - sort
Buffer StringSize - sql
Mode String - sql
Require StringPrimary Key - tmp
Table StringSize - wait
Timeout String
MySqlMysqlUserConfigPrivateAccess, MySqlMysqlUserConfigPrivateAccessArgs
- Mysql string
- Mysqlx string
- Prometheus string
- Mysql string
- Mysqlx string
- Prometheus string
- mysql String
- mysqlx String
- prometheus String
- mysql string
- mysqlx string
- prometheus string
- mysql str
- mysqlx str
- prometheus str
- mysql String
- mysqlx String
- prometheus String
MySqlMysqlUserConfigPrivatelinkAccess, MySqlMysqlUserConfigPrivatelinkAccessArgs
- Mysql string
- Mysqlx string
- Prometheus string
- Mysql string
- Mysqlx string
- Prometheus string
- mysql String
- mysqlx String
- prometheus String
- mysql string
- mysqlx string
- prometheus string
- mysql str
- mysqlx str
- prometheus str
- mysql String
- mysqlx String
- prometheus String
MySqlMysqlUserConfigPublicAccess, MySqlMysqlUserConfigPublicAccessArgs
- Mysql string
- Mysqlx string
- Prometheus string
- Mysql string
- Mysqlx string
- Prometheus string
- mysql String
- mysqlx String
- prometheus String
- mysql string
- mysqlx string
- prometheus string
- mysql str
- mysqlx str
- prometheus str
- mysql String
- mysqlx String
- prometheus String
MySqlServiceIntegration, MySqlServiceIntegrationArgs
- Integration
Type string - Source
Service stringName
- Integration
Type string - Source
Service stringName
- integration
Type String - source
Service StringName
- integration
Type string - source
Service stringName
- integration
Type String - source
Service StringName
MySqlTag, MySqlTagArgs
Import
$ pulumi import aiven:index/mySql:MySql mysql1 project/service_name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
