psm stack list
Use this command to list all stacks.
Syntax
psm stack list [-e|--expand value]
[-of|--output-format json|html|short]
Parameters
Parameter | Description |
---|---|
—e|--expand value |
(Optional) Flag to configure the level of detail provided in the response for each stack. Permitted values are:
|
-of|--output-format json|html|short |
(Optional) Desired output format.
Accepted values: The default output format is the one you specified when using the |
Examples
$ psm stack list -of json
{
"identityDomain":"mystack",
"stacks":[
{
"serviceName":"AccsThing",
"description":"",
"serviceURI":"http://example.org:7200//paas/api/v1.1/instancemgmt/mystack/services/stack/instances/AccsThing",
"state":"READY",
"stateDetail":"Ready",
"identityDomain":"mystack",
"createdBy":"My_PLATFORM_APPID",
"creationJobId":"80161",
"creationTime":"2016-07-26T15:48:18.366+0000",
"lastModifiedTime":"2016-07-26T15:48:18.365+0000",
"template":{
"templateName":"AccsApp",
"templateVersion":"1.0.0",
"templateURI":"http://example.org:7200//paas/api/v1.1/instancemgmt/mystack/templates/cst/instances/AccsApp/export?version=1.0.0"
}
}
]
}