HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

doctl databases options — Enable the navigation of available options under each database engine. More information: <https://do

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandoptionsclidoctl databases optionsenablenavigationavailable

Problem

How to use the doctl databases options command: Enable the navigation of available options under each database engine. More information: <https://docs.digitalocean.com/reference/doctl/reference/databases/options/>.

Solution

doctl databases options — Enable the navigation of available options under each database engine. More information: <https://docs.digitalocean.com/reference/doctl/reference/databases/options/>.

Run a doctl databases options command with an access token:
doctl {{[d|databases]}} {{[o|options]}} {{command}} {{[-t|--access-token]}} {{access_token}}


Retrieve a list of the available database engines:
doctl {{[d|databases]}} {{[o|options]}} {{[eng|engines]}}


Retrieve a list of the available regions for a given database engine:
doctl {{[d|databases]}} {{[o|options]}} {{[r|regions]}} --engine {{pg|mysql|redis|mongodb}}


Retrieve a list of the available slugs for a given database engine:
doctl {{[d|databases]}} {{[o|options]}} {{[s|slugs]}} --engine {{pg|mysql|redis|mongodb}}


Retrieve a list of the available versions for a given database engine:
doctl {{[d|databases]}} {{[o|options]}} {{[v|versions]}} --engine {{pg|mysql|redis|mongodb}}

Code Snippets

Run a `doctl databases options` command with an access token

doctl {{[d|databases]}} {{[o|options]}} {{command}} {{[-t|--access-token]}} {{access_token}}

Retrieve a list of the available database engines

doctl {{[d|databases]}} {{[o|options]}} {{[eng|engines]}}

Retrieve a list of the available regions for a given database engine

doctl {{[d|databases]}} {{[o|options]}} {{[r|regions]}} --engine {{pg|mysql|redis|mongodb}}

Retrieve a list of the available slugs for a given database engine

doctl {{[d|databases]}} {{[o|options]}} {{[s|slugs]}} --engine {{pg|mysql|redis|mongodb}}

Retrieve a list of the available versions for a given database engine

doctl {{[d|databases]}} {{[o|options]}} {{[v|versions]}} --engine {{pg|mysql|redis|mongodb}}

Context

tldr-pages: common/doctl databases options

Revisions (0)

No revisions yet.