Get a MySQL type

Get a MySQL type by its name, including a deprecated type that has a replacement.

GET https://{availability_zone}.betterstackcloud.com/v1/mysql-types/{name}
name string required

The name of the type to get, such as MY8.

Authorization string required

Bearer $TOKEN

200 OK
{
  "name": "Example MySQL type",
  "usable_disk_gb": 1,
  "max_connections": 1,
  "availability": "global",
  "replacement": "example"
}

Returns the MySQL type.

id string

The ID of the MySQL type.

name string

The type's name, such as MY8. Send it as type when you create or rescale an instance.

usable_disk_gb integer

The disk space for your data, in GiB.

max_connections integer

The most connections an instance of this type accepts at once.

availability string

Whether you can order the type.
Valid values:
global: We offer the type.
unavailable: The type is deprecated. Instances that have it keep running, but you can't create or rescale an instance to it.

replacement string or null

The name of the type to use in place of this deprecated one, or null for a type we offer.