CDP Operational Database CLI commands
You can learn about the various CDP Operational Database (COD) CLI commands. You can
run these commands to do administration and management tasks like create or describe a COD
instance. Users who have the CDP PowerUser role can run any command, regardless of whether they
Download the CDP CLI tool
Before you can use the operataional database CLI commands, you must download the CDP CLI client for your operating system. For more information about downloading the CDP CLI client, see Installing CDP client.
You can see all the commands and their syntax in the command reference GitHub page.
You can see all the CDP CLI BETA commands and their syntax in the CDP CLI BETA command reference GitHub page.
||Create a database with the provided name in a given environment.||ODAdmin|
||List the available connectors to programmatically interact with the database and required information to use each connector.||ODUser|
||Query the details of a database.||ODUser|
||Stop and destroy the database. Data remains in the configured cloud storage.||ODAdmin|
||List all databases which the user has permission to view.||ODUser|
||Start an existing database.||ODAdmin|
||Stop a database.||ODAdmin|
||A link to the download location of the diagnostics bundle.||ODAdmin|
Returns list of diagnostics collections
cdp opdbcommands, you must provide your COD database name and the CDP environment name as parameters as shown in this example:
cdp opdb describe-database --database-name [***MY DATABASE NAME***] --environment-name [***MY CDP ENVIRONMENT NAME ***]