psm stack describe-template
Use this command to print basic information abut template and its associated stack instances.
Syntax
psm stack describe-template -n|--template-name templateName
[-v|--version templateVersion]
[-of|--output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
-n|--template-name templateName |
Name of the Stack template. |
-v|--version templateVersion |
(Optional) Stack template version number. |
-of|--output-format json|html|short |
(Optional) Desired output format.
Accepted values: The default output format is the one you specified when using the |
Example
$ psm stack describe-template -n myDevTeamStack -of json
{
"templateName":"myDevTeamStack",
"latestVersion":"1.0.0",
"description":"My Developer Team Stack",
"createdOn":"2016-08-25T22:42:20.849+0000",
"createdBy":"stackdoc",
"links":[
{
"rel":"canonical",
"href":"http://example.com:7103//paas/api/v1.1/instancemgmt/stackdoc/templates/cst/instances/myDevTeamStack"
},
{
"rel":"self",
"href":"http://example.com:7103//paas/api/v1.1/instancemgmt/stackdoc/templates/cst/instances/myDevTeamStack"
}
]
}