ByCloud Docs
GuidesCLIAPISDK

List database instances

bycloud databases database-instances list [flags]

List all database instances in the current project

Options

--datastore_type

stringoptional

Filter by datastore type

Values: "mysql", "mariadb", "postgresql", "mongodb", "redis", "cassandra"

--limit

integeroptional

Maximum number of items to return

Default: 20

--marker

stringoptional

ID of the last item from the previous page (for pagination)

--name

stringoptional

Filter by name (exact match or prefix with *)

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

--status

stringoptional

Filter by status

Command

bycloud databases database-instances list

Output

ID CRN NAME STATUS OPERATING_STATUS
550e8400-e29b-41d4-a716-446655 crn:spo1:database:instance:550 production-db ACTIVE string
550e8400-e29b-41d4-a716-446655 crn:spo1:database:instance:550 production-db ACTIVE string