Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The MySQL data source provides information about the existing Aiven MySQL service.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var mysql1 = Output.Create(Aiven.GetMySql.InvokeAsync(new Aiven.GetMySqlArgs
{
Project = data.Aiven_project.Foo.Project,
ServiceName = "my-mysql1",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupMySql(ctx, &GetMySqlArgs{
Project: data.Aiven_project.Foo.Project,
ServiceName: "my-mysql1",
}, nil)
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const mysql1 = aiven.getMySql({
project: data.aiven_project.foo.project,
serviceName: "my-mysql1",
});
import pulumi
import pulumi_aiven as aiven
mysql1 = aiven.get_my_sql(project=data["aiven_project"]["foo"]["project"],
service_name="my-mysql1")
Example coming soon!
Using getMySql
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMySql(args: GetMySqlArgs, opts?: InvokeOptions): Promise<GetMySqlResult>
function getMySqlOutput(args: GetMySqlOutputArgs, opts?: InvokeOptions): Output<GetMySqlResult>def get_my_sql(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMySqlResult
def get_my_sql_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMySqlResult]func LookupMySql(ctx *Context, args *LookupMySqlArgs, opts ...InvokeOption) (*LookupMySqlResult, error)
func LookupMySqlOutput(ctx *Context, args *LookupMySqlOutputArgs, opts ...InvokeOption) LookupMySqlResultOutput> Note: This function is named LookupMySql in the Go SDK.
public static class GetMySql
{
public static Task<GetMySqlResult> InvokeAsync(GetMySqlArgs args, InvokeOptions? opts = null)
public static Output<GetMySqlResult> Invoke(GetMySqlInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMySqlResult> getMySql(GetMySqlArgs args, InvokeOptions options)
public static Output<GetMySqlResult> getMySql(GetMySqlArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getMySql:getMySql
arguments:
# arguments dictionaryThe following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getMySql Result
The following output properties are available:
- 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<Get
My Sql Component> - Service component information objects
- Disk
Space string - The disk space of the service, possible values depend on the service type, the cloud provider and the project. 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
- Id string
- The provider-assigned unique ID for this managed resource.
- 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 List<GetConfigs My Sql Mysql User Config> - Mysql user configurable settings
- Mysqls
List<Get
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<GetMy Sql 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
- 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.
- 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
[]Get
My Sql Component - Service component information objects
- Disk
Space string - The disk space of the service, possible values depend on the service type, the cloud provider and the project. 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
- Id string
- The provider-assigned unique ID for this managed resource.
- 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 []GetConfigs My Sql Mysql User Config - Mysql user configurable settings
- Mysqls
[]Get
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 []GetMy Sql 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 []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
- 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.
- 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<Get
My Sql Component> - Service component information objects
- disk
Space String - The disk space of the service, possible values depend on the service type, the cloud provider and the project. 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
- id String
- The provider-assigned unique ID for this managed resource.
- 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 List<GetConfigs My Sql Mysql User Config> - Mysql user configurable settings
- mysqls
List<Get
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<GetMy Sql 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
- 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.
- 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
Get
My Sql Component[] - Service component information objects
- disk
Space string - The disk space of the service, possible values depend on the service type, the cloud provider and the project. 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
- id string
- The provider-assigned unique ID for this managed resource.
- 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 GetConfigs My Sql Mysql User Config[] - Mysql user configurable settings
- mysqls
Get
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 GetMy Sql 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
- 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.
- 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[Get
My Sql Component] - Service component information objects
- disk_
space str - The disk space of the service, possible values depend on the service type, the cloud provider and the project. 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
- id str
- The provider-assigned unique ID for this managed resource.
- 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_ Sequence[Getconfigs My Sql Mysql User Config] - Mysql user configurable settings
- mysqls
Sequence[Get
My Sql Mysql] - 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[GetMy Sql Service Integration] - 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
- 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.
- 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 - The disk space of the service, possible values depend on the service type, the cloud provider and the project. 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
- id String
- The provider-assigned unique ID for this managed resource.
- 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 List<Property Map>Configs - 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
- 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
GetMySqlComponent
GetMySqlMysqlUserConfig
- Admin
Password string - Admin
Username string - Backup
Hour string - Backup
Minute string - Binlog
Retention stringPeriod - Ip
Filters List<string> - Migration
Get
My Sql Mysql User Config Migration - Mysql
Get
My Sql Mysql User Config Mysql - MySQL specific server provided values
- Mysql
Version string - Private
Access GetMy Sql Mysql User Config Private Access - Privatelink
Access GetMy Sql Mysql User Config Privatelink Access - Project
To stringFork From - Public
Access GetMy Sql Mysql User Config Public Access - Recovery
Target stringTime - Service
To stringFork From - 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
- Admin
Password string - Admin
Username string - Backup
Hour string - Backup
Minute string - Binlog
Retention stringPeriod - Ip
Filters []string - Migration
Get
My Sql Mysql User Config Migration - Mysql
Get
My Sql Mysql User Config Mysql - MySQL specific server provided values
- Mysql
Version string - Private
Access GetMy Sql Mysql User Config Private Access - Privatelink
Access GetMy Sql Mysql User Config Privatelink Access - Project
To stringFork From - Public
Access GetMy Sql Mysql User Config Public Access - Recovery
Target stringTime - Service
To stringFork From - 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
- admin
Password String - admin
Username String - backup
Hour String - backup
Minute String - binlog
Retention StringPeriod - ip
Filters List<String> - migration
Get
My Sql Mysql User Config Migration - mysql
Get
My Sql Mysql User Config Mysql - MySQL specific server provided values
- mysql
Version String - private
Access GetMy Sql Mysql User Config Private Access - privatelink
Access GetMy Sql Mysql User Config Privatelink Access - project
To StringFork From - public
Access GetMy Sql Mysql User Config Public Access - recovery
Target StringTime - service
To StringFork From - 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
- admin
Password string - admin
Username string - backup
Hour string - backup
Minute string - binlog
Retention stringPeriod - ip
Filters string[] - migration
Get
My Sql Mysql User Config Migration - mysql
Get
My Sql Mysql User Config Mysql - MySQL specific server provided values
- mysql
Version string - private
Access GetMy Sql Mysql User Config Private Access - privatelink
Access GetMy Sql Mysql User Config Privatelink Access - project
To stringFork From - public
Access GetMy Sql Mysql User Config Public Access - recovery
Target stringTime - service
To stringFork From - 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
- admin_
password str - admin_
username str - backup_
hour str - backup_
minute str - binlog_
retention_ strperiod - ip_
filters Sequence[str] - migration
Get
My Sql Mysql User Config Migration - mysql
Get
My Sql Mysql User Config Mysql - MySQL specific server provided values
- mysql_
version str - private_
access GetMy Sql Mysql User Config Private Access - privatelink_
access GetMy Sql Mysql User Config Privatelink Access - project_
to_ strfork_ from - public_
access GetMy Sql Mysql User Config Public Access - recovery_
target_ strtime - service_
to_ strfork_ from - static_
ips 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
- admin
Password String - admin
Username String - backup
Hour String - backup
Minute String - binlog
Retention StringPeriod - ip
Filters List<String> - migration Property Map
- mysql Property Map
- MySQL specific server provided values
- 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 - 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
GetMySqlMysqlUserConfigMigration
GetMySqlMysqlUserConfigMysql
- Connect
Timeout string - Default
Time stringZone - Group
Concat stringMax Len - Information
Schema stringStats Expiry - 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
Rollback stringOn Timeout - Interactive
Timeout string - Internal
Tmp stringMem Storage Engine - Long
Query stringTime - Max
Allowed stringPacket - Max
Heap stringTable Size - 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
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
Rollback stringOn Timeout - Interactive
Timeout string - Internal
Tmp stringMem Storage Engine - Long
Query stringTime - Max
Allowed stringPacket - Max
Heap stringTable Size - 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
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
Rollback StringOn Timeout - interactive
Timeout String - internal
Tmp StringMem Storage Engine - long
Query StringTime - max
Allowed StringPacket - max
Heap StringTable Size - 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
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
Rollback stringOn Timeout - interactive
Timeout string - internal
Tmp stringMem Storage Engine - long
Query stringTime - max
Allowed stringPacket - max
Heap stringTable Size - 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_
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_
rollback_ stron_ timeout - interactive_
timeout str - internal_
tmp_ strmem_ storage_ engine - long_
query_ strtime - max_
allowed_ strpacket - max_
heap_ strtable_ size - 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
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
Rollback StringOn Timeout - interactive
Timeout String - internal
Tmp StringMem Storage Engine - long
Query StringTime - max
Allowed StringPacket - max
Heap StringTable Size - 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
GetMySqlMysqlUserConfigPrivateAccess
- Mysql string
- MySQL specific server provided values
- Mysqlx string
- Prometheus string
- Mysql string
- MySQL specific server provided values
- Mysqlx string
- Prometheus string
- mysql String
- MySQL specific server provided values
- mysqlx String
- prometheus String
- mysql string
- MySQL specific server provided values
- mysqlx string
- prometheus string
- mysql str
- MySQL specific server provided values
- mysqlx str
- prometheus str
- mysql String
- MySQL specific server provided values
- mysqlx String
- prometheus String
GetMySqlMysqlUserConfigPrivatelinkAccess
- Mysql string
- MySQL specific server provided values
- Mysqlx string
- Prometheus string
- Mysql string
- MySQL specific server provided values
- Mysqlx string
- Prometheus string
- mysql String
- MySQL specific server provided values
- mysqlx String
- prometheus String
- mysql string
- MySQL specific server provided values
- mysqlx string
- prometheus string
- mysql str
- MySQL specific server provided values
- mysqlx str
- prometheus str
- mysql String
- MySQL specific server provided values
- mysqlx String
- prometheus String
GetMySqlMysqlUserConfigPublicAccess
- Mysql string
- MySQL specific server provided values
- Mysqlx string
- Prometheus string
- Mysql string
- MySQL specific server provided values
- Mysqlx string
- Prometheus string
- mysql String
- MySQL specific server provided values
- mysqlx String
- prometheus String
- mysql string
- MySQL specific server provided values
- mysqlx string
- prometheus string
- mysql str
- MySQL specific server provided values
- mysqlx str
- prometheus str
- mysql String
- MySQL specific server provided values
- mysqlx String
- prometheus String
GetMySqlServiceIntegration
- 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
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
