Queries the details of a template.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProductId | string | Yes | The ID of the product. | prod-bp18r7q127**** |
ProductVersionId | string | Yes | The ID of the product version. | pv-bp15e79d26**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"TemplateBody": "{\n \"ROSTemplateFormatVersion\": \"2015-09-01\",\n \"Transform\": \"Aliyun::Terraform-v1.1\",\n \"Workspace\": {\n \"main.tf\": \"variable \\\"name\\\" { default = \\\"auto_provisioning_group\\\"}\"\n },\n \"Outputs\": {}\n}"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
500 | InternalError | A system error occurred. |
For a list of error codes, visit the Service error codes.