psm accs app

This command lists detailed information about an Oracle Application Container Cloud Service application.

Syntax

psm accs app 
-n|--app-name name 
[-o|--output-level verbose] 
[-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-n, --app-name Name of the application.
-o, --output-level (Optional) Includes the full set of details for all application instances when set to verbose.

-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 app -n employees-app -o verbose -of json
{
    "appId":"cc427540-bd17-443c-99fe-b332a28e579a",
    "appURL":"https://psm.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleDomain/employees-app",
    "createdBy":"jane.user@example.com",
    "creationTime":"2016-04-14T20:18:45.410+0000",
    "identityDomain":"ExampleDomain",
    "instances":[
        {
            "instanceURL":"https://psm.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleDomain/employees-app/instances/web.1",
            "memory":"1G",
            "name":"web.1",
            "status":"RUNNING"
        }
    ],
    "lastModifiedTime":"2016-04-21T14:53:48.853+0000",
    "lastestDeployment":{
        "autoMinorVersionUpdate":false,
        "deploymentInfo":{
            "archiveName":"deploy5682038377737228579.zip",
            "buildNumber":"24",
            "commitId":"1A2B345",
            "creationTime":"2016-04-21T14:53:48.859+0000",
            "deploymentId":"582b5947-3052-48d0-8e25-e4c0090bee9f",
            "deploymentNumber":"2",
            "deploymentStatus":"READY",
            "deploymentVersion":"0.2.0",
            "releaseNotes":"Employees Web Apllication using Bootstrap",
            "size":5988679,
            "source":"USER",
            "uploadedBy":"jane.user@example.com"
        },
        "environment":"java",
        "environmentDisplayVersion":"Java SE 8u71",
        "environmentMajorVersion":"8",
        "environmentVariables":[],
        "environmentVersion":"1.8.0_71-b15",
        "processes":[
            {
                "memory":"1G",
                "processCommand":"java -jar employees-app-final.jar",
                "processName":"web",
                "quantity":1
            }
        ],
        "serviceBindings":[],
        "startupTime":30
    },
    "name":"employees-app",
    "runningDeployment":{
        "autoMinorVersionUpdate":false,
        "deploymentInfo":{
            "archiveName":"deploy5682038377737228579.zip",
            "buildNumber":"24",
            "commitId":"1A2B345",
            "creationTime":"2016-04-21T14:53:48.859+0000",
            "deploymentId":"582b5947-3052-48d0-8e25-e4c0090bee9f",
            "deploymentNumber":"2",
            "deploymentStatus":"READY",
            "deploymentVersion":"0.2.0",
            "releaseNotes":"Employees Web Apllication using Bootstrap",
            "size":5988679,
            "source":"USER",
            "uploadedBy":"jane.user@example.com"
        },
        "environment":"java",
        "environmentDisplayVersion":"Java SE 8u71",
        "environmentMajorVersion":"8",
        "environmentVariables":[],
        "environmentVersion":"1.8.0_71-b15",
        "processes":[
            {
                "memory":"1G",
                "processCommand":"java -jar employees-app-final.jar",
                "processName":"web",
                "quantity":1
            }
        ],
        "serviceBindings":[],
        "startupTime":30
    },
    "status":"RUNNING",
    "subscriptionType":"MONTHLY",
    "webURL":"https://employees-app-ExampleDomain.apaas.us2.oraclecloud.com"
}