psm jcs services

This command lists all active service instances within your identity domain. By setting the output level to verbose, you can show all details about each instance; otherwise, this command lists them by name, description, last modified date and time, status, version, WebLogic Server version, and so on.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm jcs services 
    [-of|-–output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-of|-–output-formatjson|html|short (Optional) Output format of the command’s response:

Accepted values: json, html, short

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

Examples

To list all active service instances:

$ psm jcs services -of json
{
    "implementation_version":"1.0",
    "service_type":"jaas",
    "services":[
        {
            "auto_update":"true",
            "compliance_status":"",
            "compliance_status_desc":"",
            "created_by":"weblogic",
            "creation_time":"Mon Apr 18 17:5:38 UTC 2016",
            "description":"Example Instance 12-2-1 created via REST API",
            "error_status_desc":"",
            "identity_domain":"myteam-abca",
            "last_modified_time":"Mon Apr 18 17:5:37 UTC 2016",
            "service_name":"MyJCS",
            "service_uri":"http://myserver.us.mycorp.com:7103/paas/service/jcs/api/v1.1/instances/myteam-abca/myJCS",
            "status":"Running",
            "version":"12cRelease2",
            "wlsVersion":"12.2.1.0.160119"
        }
    ],
    "uri":"http://myserver.us.mycorp.com:7103/paas/service/jcs/api/v1.1/instances/myteam-abca"
}