psm dbcs services

Display information about all Oracle Database Cloud Service instances in the identity domain.

Syntax

psm dbcs services [-o|--outputLevel verbose] [-of|--output-format json|html|short]

Parameters

Parameter Description

-o|--outputLevel verbose

(Optional) Specifies that full, detailed information is to be provided for each Database Cloud Service instance in the identity domain.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Examples

The following example displays basic information about the Database Cloud Service instances in the usexample identity domain. The response shows one running instance, db12c-eeep.

$ psm dbcs services
{
    "implementation_version":"1.0",
    "service_type":"dbaas",
    "services":[
        {
            "created_by":"dbaasadmin",
            "creation_time":"Tue May 3 0:35:23 UTC 2016",
            "description":"Example deployment",
            "identity_domain":"usexample",
            "last_modified_time":"Tue May 3 0:35:23 UTC 2016",
            "service_name":"db12c-eeep",
            "service_uri":"https://psm.us.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample/db12c-eeep",
            "sm_plugin_version":"16.2.1.1",
            "status":"Running",
            "version":"12.1.0.2"
        }
    ],
    "subscriptions":[],
    "uri":"https://psm.us.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample"
}