Managed Databases v4.119.0

Managed Database Engines List

GET https://api.linode.com/v4beta/databases/engines
Beta

Display all available Managed Database engine types and versions. Engine IDs are used when creating new Managed Databases.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

Query Parameters

page
Type:
integer >= 1
Default: 1
Default:
1

The page of a collection to return.

page_size
Type:
integer 25..100
Default: 100
Default:
100

The number of items to return per page.

Request Samples

Response Samples

Responses

Managed Database Engine View

GET https://api.linode.com/v4beta/databases/engines/{engineId}
Beta

Display information for a single Managed Database engine type and version.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

Path Parameters

engineIdstring
Required

The ID of the Managed Database engine.

Query Parameters

page
Type:
integer >= 1
Default: 1
Default:
1

The page of a collection to return.

page_size
Type:
integer 25..100
Default: 100
Default:
100

The number of items to return per page.

Request Samples

Response Samples

Responses

Managed Databases List

GET https://api.linode.com/v4beta/databases/instances
Beta

Display all accessible Managed Databases on your Account, regardless of engine type.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

For more detailed information on a particular Database instance, make a request to its instance_uri.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Query Parameters

page
Type:
integer >= 1
Default: 1
Default:
1

The page of a collection to return.

page_size
Type:
integer 25..100
Default: 100
Default:
100

The number of items to return per page.

Request Samples

Response Samples

Responses

Managed MySQL Databases List

GET https://api.linode.com/v4beta/databases/mysql/instances
Beta

Display all accessible Managed MySQL Databases on your Account.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Request Samples

Response Samples

Responses

Managed MySQL Database Create

POST https://api.linode.com/v4beta/databases/mysql/instances
Beta

Provision a Managed MySQL Database.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

New instances can take approximately 15 to 30 minutes to provision.

The allow_list is used to control access to the Managed Database.

  • IP addresses on this list can access the Managed Database. All other sources are blocked.
  • Entering an empty array ([]) blocks all connections (both public and private) to the Managed Database.
  • Note: Updates to the allow_list may take a short period of time to complete, making this command inappropriate for rapid successive updates to this property.

All Managed Databases include automatic, daily backups. Up to seven backups are stored for each Managed Database, providing restore points for each day of the past week.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Request Body Schema

allow_list
array of strings

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.

By default, this is an empty array ([]), which blocks all connections (both public and private) to the Managed Database.

cluster_size
integer
Enum: 1 3

The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.

Choosing 3 nodes creates a high availability cluster consisting of 1 primary node and 2 replica nodes.

encrypted
boolean

Whether the Managed Databases is encrypted. Defaults to false.

engine
Required
string

The Managed Database engine in engine/version format.

label
Filterable
Required
string 3..32 characters

A unique, user-defined string referring to the Managed Database.

region
Filterable
Required
string

The Region ID for the Managed Database.

replication_type
string
Enum: none asynch semi_synch

The replication method used for the Managed Database.

Defaults to none for a single cluster and semi_synch for a high availability cluster.

Must be none for a single node cluster.

Must be asynch or semi_synch for a high availability cluster.

ssl_connection
boolean

Whether to require SSL credentials to establish a connection to the Managed Database. Defaults to false.

Use the Managed MySQL Database Credentials View ( GET /databases/mysql/instances/{instanceId}/credentials) command for access information.

type
Filterable
Required
string

The Linode Instance type used by the Managed Database for its nodes.

Request Samples

Response Samples

Responses

Managed MySQL Database Delete

DELETE https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}
Beta

Remove a Managed MySQL Database from your Account.

The Database must have an active status to perform this command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

Request Samples

Response Samples

Responses

Managed MySQL Database View

GET https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}
Beta

Display information for a single, accessible Managed MySQL Database on your Account.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

Request Samples

Response Samples

Responses

Managed MySQL Database Update

PUT https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}
Beta

Update a Managed MySQL Database.

The Database must have an active status to perform this command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Updating addresses in the allow_list overwrites any existing addresses.

  • IP addresses on this list can access the Managed Database. All other sources are blocked.
  • Entering an empty array ([]) blocks all connections (both public and private) to the Managed Database.
  • Note: Updates to the allow_list may take a short period of time to complete, making this command inappropriate for rapid successive updates to this property.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

Request Body Schema

allow_list
array of strings

A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.

By default, this is an empty array ([]), which blocks all connections (both public and private) to the Managed Database.

label
Filterable
string 3..32 characters

A unique, user-defined string referring to the Managed Database.

Request Samples

Response Samples

Responses

Managed MySQL Database Backups List

GET https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}/backups
Beta

Display all backups for an accessible Managed MySQL Database on your Account.

The Database must not be provisioning to perform this command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

At this time, only automatically scheduled backups (type auto) are available.

Database backups are created every 24 hours at 0:00 UTC. Each backup is retained for 7 days.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

Request Samples

Response Samples

Responses

Managed MySQL Database Backup View

GET https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}/backups/{backupId}
Beta

Display information for a single backup for an accessible Managed MySQL Database on your Account.

The Database must not be provisioning to perform this command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

backupIdinteger
Required

The ID of the Managed MySQL Database backup.

Request Samples

Response Samples

Responses

Managed MySQL Database Backup Restore

POST https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}/backups/{backupId}/restore
Beta

Restore a backup to a Managed MySQL Database on your Account.

The Database must have an active status to perform this command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Note: Restoring from a backup will erase all existing data on the database instance and replace it with backup data.

Note: Currently, restoring a backup after resetting Managed Database credentials results in a failed cluster. Please contact Customer Support if this occurs.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

backupIdinteger
Required

The ID of the Managed MySQL Database backup.

Request Samples

Response Samples

Responses

Managed MySQL Database Credentials View

GET https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}/credentials
Beta

Display the the root username and password for a Managed MySQL Database.

The Database must have an active status to perform this command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

Request Samples

Response Samples

Responses

Managed MySQL Database Credentials Reset

POST https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}/credentials/reset
Beta

Reset the root password for a Managed MySQL Database.

The Database must have an active status to perform this command.

A new root password is randomly generated and accessible with the Managed MySQL Database Credentials View ( GET /databases/mysql/instances/{instanceId}/credentials) command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Note: Note that it may take several seconds for credentials to reset.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

Request Samples

Response Samples

Responses

Managed MySQL Database SSL Certificate View

GET https://api.linode.com/v4beta/databases/mysql/instances/{instanceId}/ssl
Beta

Display the SSL CA certificate for an accessible Managed MySQL Database.

The Database must have an active status to perform this command.

Only unrestricted Users can access this command, and have access regardless of the acting token’s OAuth scopes.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

personalAccessToken
oauth

Path Parameters

instanceIdinteger
Required

The ID of the Managed MySQL Database.

Request Samples

Response Samples

Responses

Managed Database Types List

GET https://api.linode.com/v4beta/databases/types
Beta

Display all Managed Database node types. The type and number of nodes determine the resources and price of a Managed Database instance.

Each Managed Database can have one node type. In the case of a high availabilty Database, all nodes are provisioned according to the chosen type.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

Query Parameters

page
Type:
integer >= 1
Default: 1
Default:
1

The page of a collection to return.

page_size
Type:
integer 25..100
Default: 100
Default:
100

The number of items to return per page.

Request Samples

Response Samples

Responses

Managed Database Type View

GET https://api.linode.com/v4beta/databases/types/{typeId}
Beta

Display the details of a single Managed Database type. The type and number of nodes determine the resources and price of a Managed Database instance.

Beta: This endpoint is in open beta. During the beta period, Managed Databases will not incur any charges. If you deploy a Managed Database during this time, you will receive a notice with pricing details in advance of the GA (general availability) release. When accessing this endpoint, please make sure to prepend all requests with /v4beta instead of /v4, and be aware that this endpoint may receive breaking updates in the future. This notice will be removed when this endpoint is out of beta.

Authorizations

Path Parameters

typeIdstring
Required

The ID of the Managed Database type.

Query Parameters

page
Type:
integer >= 1
Default: 1
Default:
1

The page of a collection to return.

page_size
Type:
integer 25..100
Default: 100
Default:
100

The number of items to return per page.

Request Samples

Response Samples

Responses