psm stack describe
Use this command to display detailed information about an existing stack.
Syntax
psm stack describe -n|--stack-name stackServiceName
[-e|--expand value]
[-of|--output-format html|json|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
—n|—stack-name stackServiceName |
Name of the stack instance to describe. |
—e|–—expand value |
(Optional) Flag to configure the level of detail provided in the response. Permitted values are:
|
—of|—output-format html|json|short |
(Optional) Desired output format.
Accepted values: The default output format is the one you specified when using the |
Example
$ psm stack describe -n MyStack -of json
{
"serviceName":"MyStack",
"description":"",
"serviceURI":"http://example.org:7200//paas/api/v1.1/instancemgmt/stackdoc/services/stack/instances/MyStack",
"state":"READY",
"stateDetail":"Ready",
"identityDomain":"astack",
"createdBy":"MY_SM_PLATFORM_APPID",
"creationJobId":"80161",
"creationTime":"2016-07-26T15:48:18.366+0000",
"lastModifiedTime":"2016-07-26T15:48:18.365+0000",
"template":{
"templateName":"MyAppTemplate",
"templateVersion":"1.0.0",
"templateURI":"http://example.org:7200//paas/api/v1.1/instancemgmt/stackdoc/templates/cst/instances/MyAppTemplate/export?version=1.0.0"
},
"resources":{
"mysql":{
"serviceName":"MyStack-1",
"serviceType":"MySQLCS",
"state":"READY",
"stateDetail":"Running",
"attributes":{
"MYSQL_PORT":"3306",
"CLOUD_STORAGE_CONTAINER":"Storage-StorageEvaladmin/JaaSBackup",
"LOCAL_BACKUP_VOLUME_SIZE":"50G",
"BACKUP_DESTINATION":"BOTH",
"LOCAL_BACKUP_VOLUME_MOUNT":"/u01/backup",
"DATA_VOLUME_SIZE":"25G"
},
"components":{
"mysql":{
"instanceName":"mysql",
"state":"READY",
"attributes":{
"shape":"oc3",
"CONNECT_STRING":"203.0.113.0:3306/mydatabase"
}
}
}
},
"app":{
"appName":"MyStack-App",
"serviceType":"apaas",
"state":"RUNNING",
"stateDetail":"RUNNING",
"attributes":{
"webURL":"http://MyStack-App-astack-dev.us001.apaas.oraclecloud.com:1222"
}
}
},
"attributes":{
"AppWebURL":{
"value":"",
"description":"Application URL"
}
}
}