psm accs recording

This command displays recording details for an Oracle Application Container Cloud Service application instance.

Use the psm accs get-recordings command to generate the recording details first.

Syntax

psm accs recording 
-n|--app-name name 
-i|--instance-name name 
[-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-n, --app-name Name of the application.
-i, --instance-name Name of the application instance.

-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.

Example

$ psm accs recording -n employees-app -i web.1 -of json
{
    "instanceName":"web.1",
    "recordings":[
        {
            "contentType":"application/octet-stream",
            "fileSize":192877,
            "lastModifiedTime":"2016-04-21T21:16:02.775+0000",
            "recordingName":"employees-app/cc427540-bd17-443c-99fe-b332a28e579a/recordings/web.1/f950d7db-a3f2-4d26-8a04-4e5f31854975/web.1_2016_04_21_17_14_53.jfr",
            "recordingURL":"https://ExampleDomain.storage.oraclecloud.com/v1/Storage-ExampleDomain/_apaas/employees-app/cc427540-bd17-443c-99fe-b332a28e579a/recordings/web.1/f950d7db-a3f2-4d26-8a04-4e5f31854975/web.1_2016_04_21_17_14_53.jfr"
        }
    ]
}

More Information

Exploring the Application Logs and Recordings Page in Using Oracle Application Container Cloud Service