getMySql
# MySQL Data Source
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/v3/go/aiven"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupMySql(ctx, &aiven.LookupMySqlArgs{
Project: data.Aiven_project.Foo.Project,
ServiceName: "my-mysql1",
}, nil)
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_aiven as aiven
mysql1 = aiven.get_my_sql(project=data["aiven_project"]["foo"]["project"],
service_name="my-mysql1")
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",
});
Using getMySql
function getMySql(args: GetMySqlArgs, opts?: InvokeOptions): Promise<GetMySqlResult>
def get_my_sql(cloud_name: Optional[str] = None, components: Optional[Sequence[GetMySqlComponentArgs]] = None, maintenance_window_dow: Optional[str] = None, maintenance_window_time: Optional[str] = None, mysql: Optional[GetMySqlMysqlArgs] = None, mysql_user_config: Optional[GetMySqlMysqlUserConfigArgs] = None, plan: Optional[str] = None, project: Optional[str] = None, project_vpc_id: Optional[str] = None, service_host: Optional[str] = None, service_integrations: Optional[Sequence[GetMySqlServiceIntegrationArgs]] = 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, termination_protection: Optional[bool] = None, opts: Optional[InvokeOptions] = None) -> GetMySqlResult
func LookupMySql(ctx *Context, args *LookupMySqlArgs, opts ...InvokeOption) (*LookupMySqlResult, error)
Note: This function is named
LookupMySql
in the Go SDK.
public static class GetMySql {
public static Task<GetMySqlResult> InvokeAsync(GetMySqlArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Project string
identifies the project the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- 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.
- 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
,do
google
,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 Args> - Maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Mysql
Get
My Sql Mysql Args MySQL specific server provided values.
- Mysql
User GetConfig My Sql Mysql User Config Args defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above 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 MySQL hostname.
- Service
Integrations List<GetMy Sql Service Integration Args> - Service
Password string Password used for connecting to the MySQL service, if applicable.
- Service
Port int MySQL port.
- Service
Type string - Service
Uri string URI for connecting to the MySQL service.
- Service
Username string Username used for connecting to the MySQL service, if applicable.
- State string
Service state.
- Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for 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 the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- 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.
- 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
,do
google
,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 - Maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Mysql
Get
My Sql Mysql MySQL specific server provided values.
- Mysql
User GetConfig My Sql Mysql User Config defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above 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 MySQL hostname.
- Service
Integrations []GetMy Sql Service Integration - Service
Password string Password used for connecting to the MySQL service, if applicable.
- Service
Port int MySQL port.
- Service
Type string - Service
Uri string URI for connecting to the MySQL service.
- Service
Username string Username used for connecting to the MySQL service, if applicable.
- State string
Service state.
- Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for 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 the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- 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.
- 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
,do
google
,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[] - maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
Get
My Sql Mysql MySQL specific server provided values.
- mysql
User GetConfig My Sql Mysql User Config defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- project
Vpc stringId optionally 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 as shown above 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 MySQL hostname.
- service
Integrations GetMy Sql Service Integration[] - service
Password string Password used for connecting to the MySQL service, if applicable.
- service
Port number MySQL port.
- service
Type string - service
Uri string URI for connecting to the MySQL service.
- service
Username string Username used for connecting to the MySQL service, if applicable.
- state string
Service state.
- termination
Protection boolean prevents the service from being deleted. It is recommended to set this to
true
for 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 the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- 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.
- 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
,do
google
,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 Args] - maintenance_
window_ strdow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- mysql
Get
My Sql Mysql Args MySQL specific server provided values.
- mysql_
user_ Getconfig My Sql Mysql User Config Args defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- project_
vpc_ strid optionally 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 as shown above 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 MySQL hostname.
- service_
integrations Sequence[GetMy Sql Service Integration Args] - service_
password str Password used for connecting to the MySQL service, if applicable.
- service_
port int MySQL port.
- service_
type str - service_
uri str URI for connecting to the MySQL service.
- service_
username str Username used for connecting to the MySQL service, if applicable.
- state str
Service state.
- termination_
protection bool prevents the service from being deleted. It is recommended to set this to
true
for 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.
getMySql Result
The following output properties are available:
- Components
List<Get
My Sql Component> - Id string
The provider-assigned unique ID for this managed resource.
- Mysql
Get
My Sql Mysql MySQL specific server provided values.
- Project string
- Service
Host string MySQL hostname.
- Service
Name string - Service
Password string Password used for connecting to the MySQL service, if applicable.
- Service
Port int MySQL port.
- Service
Type string - Service
Uri string URI for connecting to the MySQL service.
- Service
Username string Username used for connecting to the MySQL service, if applicable.
- State string
Service state.
- 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
,do
google
,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.- Maintenance
Window stringDow day of week when maintenance operations should be performed. On 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 GetConfig My Sql Mysql User Config defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above 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<GetMy Sql Service Integration> - Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for 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.
- Components
[]Get
My Sql Component - Id string
The provider-assigned unique ID for this managed resource.
- Mysql
Get
My Sql Mysql MySQL specific server provided values.
- Project string
- Service
Host string MySQL hostname.
- Service
Name string - Service
Password string Password used for connecting to the MySQL service, if applicable.
- Service
Port int MySQL port.
- Service
Type string - Service
Uri string URI for connecting to the MySQL service.
- Service
Username string Username used for connecting to the MySQL service, if applicable.
- State string
Service state.
- 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
,do
google
,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.- Maintenance
Window stringDow day of week when maintenance operations should be performed. On 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 GetConfig My Sql Mysql User Config defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above 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 []GetMy Sql Service Integration - Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for 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.
- components
Get
My Sql Component[] - id string
The provider-assigned unique ID for this managed resource.
- mysql
Get
My Sql Mysql MySQL specific server provided values.
- project string
- service
Host string MySQL hostname.
- service
Name string - service
Password string Password used for connecting to the MySQL service, if applicable.
- service
Port number MySQL port.
- service
Type string - service
Uri string URI for connecting to the MySQL service.
- service
Username string Username used for connecting to the MySQL service, if applicable.
- state string
Service state.
- 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
,do
google
,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.- maintenance
Window stringDow day of week when maintenance operations should be performed. On 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 GetConfig My Sql Mysql User Config defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- project
Vpc stringId optionally 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 as shown above 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 GetMy Sql Service Integration[] - termination
Protection boolean prevents the service from being deleted. It is recommended to set this to
true
for 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.
- components
Sequence[Get
My Sql Component] - id str
The provider-assigned unique ID for this managed resource.
- mysql
Get
My Sql Mysql MySQL specific server provided values.
- project str
- service_
host str MySQL hostname.
- service_
name str - service_
password str Password used for connecting to the MySQL service, if applicable.
- service_
port int MySQL port.
- service_
type str - service_
uri str URI for connecting to the MySQL service.
- service_
username str Username used for connecting to the MySQL service, if applicable.
- state str
Service state.
- 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
,do
google
,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.- maintenance_
window_ strdow day of week when maintenance operations should be performed. On 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_ Getconfig My Sql Mysql User Config defines MySQL specific additional configuration options. The following configuration options available:
- 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-x
andpremium-x
wherex
is (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 exact options can be seen from the Aiven web console’s Create Service dialog.- project_
vpc_ strid optionally 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 as shown above 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[GetMy Sql Service Integration] - termination_
protection bool prevents the service from being deleted. It is recommended to set this to
true
for 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 Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string Custom username for admin user. This must be set only when a new service is being created.
- Backup
Hour string The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- Backup
Minute string The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- Ip
Filters List<string> Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’
- Mysql
Get
My Sql Mysql User Config Mysql Args MySQL specific server provided values.
- Mysql
Version string MySQL major version
- Private
Access GetMy Sql Mysql User Config Private Access Args Allow access to selected service ports from private networks
- Project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- Public
Access GetMy Sql Mysql User Config Public Access Args Allow access to selected service ports from the public Internet
- Recovery
Target stringTime Recovery target time when forking a service. This has effect only when a new service is being created.
- Service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- Admin
Password string Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string Custom username for admin user. This must be set only when a new service is being created.
- Backup
Hour string The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- Backup
Minute string The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- Ip
Filters []string Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’
- Mysql
Get
My Sql Mysql User Config Mysql MySQL specific server provided values.
- Mysql
Version string MySQL major version
- Private
Access GetMy Sql Mysql User Config Private Access Allow access to selected service ports from private networks
- Project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- Public
Access GetMy Sql Mysql User Config Public Access Allow access to selected service ports from the public Internet
- Recovery
Target stringTime Recovery target time when forking a service. This has effect only when a new service is being created.
- Service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- admin
Password string Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username string Custom username for admin user. This must be set only when a new service is being created.
- backup
Hour string The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- backup
Minute string The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- ip
Filters string[] Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’
- mysql
Get
My Sql Mysql User Config Mysql MySQL specific server provided values.
- mysql
Version string MySQL major version
- private
Access GetMy Sql Mysql User Config Private Access Allow access to selected service ports from private networks
- project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- public
Access GetMy Sql Mysql User Config Public Access Allow access to selected service ports from the public Internet
- recovery
Target stringTime Recovery target time when forking a service. This has effect only when a new service is being created.
- service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- admin_
password str Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin_
username str Custom username for admin user. This must be set only when a new service is being created.
- backup_
hour str The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- backup_
minute str The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- ip_
filters Sequence[str] Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’
- mysql
Get
My Sql Mysql User Config Mysql Args MySQL specific server provided values.
- mysql_
version str MySQL major version
- private_
access GetMy Sql Mysql User Config Private Access Args Allow access to selected service ports from private networks
- project_
to_ strfork_ from Name of another project to fork a service from. This has effect only when a new service is being created.
- public_
access GetMy Sql Mysql User Config Public Access Args Allow access to selected service ports from the public Internet
- recovery_
target_ strtime Recovery target time when forking a service. This has effect only when a new service is being created.
- service_
to_ strfork_ from Name of another service to fork from. This has effect only when a new service is being created.
GetMySqlMysqlUserConfigMysql
- Connect
Timeout string The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake
- Default
Time stringZone Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or ‘SYSTEM’ to use the MySQL server default.
- Group
Concat stringMax Len The maximum permitted result length in bytes for the GROUP_CONCAT() function.
- Information
Schema stringStats Expiry The time, in seconds, before cached statistics expire
- Innodb
Ft stringMin Token Size Minimum length of words that are stored in an InnoDB FULLTEXT index.
- Innodb
Ft stringServer Stopword Table This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- Innodb
Lock stringWait Timeout The length of time in seconds an InnoDB transaction waits for a row lock before giving up.
- Innodb
Log stringBuffer Size The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Innodb
Online stringAlter Log Max Size The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Innodb
Print stringAll Deadlocks When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
- Innodb
Rollback stringOn Timeout When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction.
- Interactive
Timeout string The number of seconds the server waits for activity on an interactive connection before closing it.
- Max
Allowed stringPacket Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M)
- Max
Heap stringTable Size Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
- Net
Read stringTimeout The number of seconds to wait for more data from a connection before aborting the read.
- Net
Write stringTimeout The number of seconds to wait for a block to be written to a connection before aborting the write.
- Sort
Buffer stringSize Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K)
- Sql
Mode string Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- Sql
Require stringPrimary Key Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- Tmp
Table stringSize Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M)
- Wait
Timeout string The number of seconds the server waits for activity on a noninteractive connection before closing it.
- Connect
Timeout string The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake
- Default
Time stringZone Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or ‘SYSTEM’ to use the MySQL server default.
- Group
Concat stringMax Len The maximum permitted result length in bytes for the GROUP_CONCAT() function.
- Information
Schema stringStats Expiry The time, in seconds, before cached statistics expire
- Innodb
Ft stringMin Token Size Minimum length of words that are stored in an InnoDB FULLTEXT index.
- Innodb
Ft stringServer Stopword Table This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- Innodb
Lock stringWait Timeout The length of time in seconds an InnoDB transaction waits for a row lock before giving up.
- Innodb
Log stringBuffer Size The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Innodb
Online stringAlter Log Max Size The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Innodb
Print stringAll Deadlocks When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
- Innodb
Rollback stringOn Timeout When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction.
- Interactive
Timeout string The number of seconds the server waits for activity on an interactive connection before closing it.
- Max
Allowed stringPacket Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M)
- Max
Heap stringTable Size Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
- Net
Read stringTimeout The number of seconds to wait for more data from a connection before aborting the read.
- Net
Write stringTimeout The number of seconds to wait for a block to be written to a connection before aborting the write.
- Sort
Buffer stringSize Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K)
- Sql
Mode string Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- Sql
Require stringPrimary Key Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- Tmp
Table stringSize Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M)
- Wait
Timeout string The number of seconds the server waits for activity on a noninteractive connection before closing it.
- connect
Timeout string The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake
- default
Time stringZone Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or ‘SYSTEM’ to use the MySQL server default.
- group
Concat stringMax Len The maximum permitted result length in bytes for the GROUP_CONCAT() function.
- information
Schema stringStats Expiry The time, in seconds, before cached statistics expire
- innodb
Ft stringMin Token Size Minimum length of words that are stored in an InnoDB FULLTEXT index.
- innodb
Ft stringServer Stopword Table This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- innodb
Lock stringWait Timeout The length of time in seconds an InnoDB transaction waits for a row lock before giving up.
- innodb
Log stringBuffer Size The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- innodb
Online stringAlter Log Max Size The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- innodb
Print stringAll Deadlocks When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
- innodb
Rollback stringOn Timeout When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction.
- interactive
Timeout string The number of seconds the server waits for activity on an interactive connection before closing it.
- max
Allowed stringPacket Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M)
- max
Heap stringTable Size Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
- net
Read stringTimeout The number of seconds to wait for more data from a connection before aborting the read.
- net
Write stringTimeout The number of seconds to wait for a block to be written to a connection before aborting the write.
- sort
Buffer stringSize Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K)
- sql
Mode string Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- sql
Require stringPrimary Key Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- tmp
Table stringSize Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M)
- wait
Timeout string The number of seconds the server waits for activity on a noninteractive connection before closing it.
- connect_
timeout str The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake
- default_
time_ strzone Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or ‘SYSTEM’ to use the MySQL server default.
- group_
concat_ strmax_ len The maximum permitted result length in bytes for the GROUP_CONCAT() function.
- information_
schema_ strstats_ expiry The time, in seconds, before cached statistics expire
- innodb_
ft_ strmin_ token_ size Minimum length of words that are stored in an InnoDB FULLTEXT index.
- innodb_
ft_ strserver_ stopword_ table This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
- innodb_
lock_ strwait_ timeout The length of time in seconds an InnoDB transaction waits for a row lock before giving up.
- innodb_
log_ strbuffer_ size The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- innodb_
online_ stralter_ log_ max_ size The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- innodb_
print_ strall_ deadlocks When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
- innodb_
rollback_ stron_ timeout When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction.
- interactive_
timeout str The number of seconds the server waits for activity on an interactive connection before closing it.
- max_
allowed_ strpacket Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M)
- max_
heap_ strtable_ size Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
- net_
read_ strtimeout The number of seconds to wait for more data from a connection before aborting the read.
- net_
write_ strtimeout The number of seconds to wait for a block to be written to a connection before aborting the write.
- sort_
buffer_ strsize Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K)
- sql_
mode str Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
- sql_
require_ strprimary_ key Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
- tmp_
table_ strsize Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M)
- wait_
timeout str The number of seconds the server waits for activity on a noninteractive connection before closing it.
GetMySqlMysqlUserConfigPrivateAccess
- Mysql string
MySQL specific server provided values.
- Prometheus string
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
- Mysql string
MySQL specific server provided values.
- Prometheus string
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
- mysql string
MySQL specific server provided values.
- prometheus string
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
- mysql str
MySQL specific server provided values.
- prometheus str
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
GetMySqlMysqlUserConfigPublicAccess
- Mysql string
MySQL specific server provided values.
- Prometheus string
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
- Mysql string
MySQL specific server provided values.
- Prometheus string
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
- mysql string
MySQL specific server provided values.
- prometheus string
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
- mysql str
MySQL specific server provided values.
- prometheus str
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
GetMySqlServiceIntegration
- Integration
Type string - Source
Service stringName
- Integration
Type string - Source
Service stringName
- integration
Type string - source
Service stringName
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.