Resource Center/CloudFormation Operations
POSTCloudFormation OperationsSince 2.5.0SynchronousAuth Required
CheckStackTemplateParameters
CheckStackTemplateParameters
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
typeStringOptional. The template type. Default type: zstack.
templateContentStringOptional. The template content, which is a JSON string.
uuidStringRequiredThe template UUID.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/cloudformation/stack/check
/zstack/v1/cloudformation/stack/check
Request Example
curl -X POST 'http://{host}/zstack/v1/cloudformation/stack/check' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"type":"<type>","templateContent":"<templateContent>","uuid":"<uuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "parametes": [ { "paramName": "imageUuid", "type": "String", "defaultValue": "ff1373b10ee93b15b347f7abfb4bb5b6", "description": "Image Uuid, represents the image resource to startup one vm instance", "resourceType": "Image" } ] }Change History
This API has no change history records yet.
