Modifies the basic information of a custom cloud computer template, including the template name and template description.
Operation description
This operation is used only to modify the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use ModifyTemplate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:ModifyTemplateBaseInfo |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
Yes |
The template ID. |
b-0caoeogs88y***** |
| TemplateName |
string |
No |
The template name. |
ShanghaiTemplate1 |
| Description |
string |
No |
The instance name. |
myHost |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BaseResult |
||
| Code |
string |
The execution result. A value of |
success |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The error message. This parameter is not returned if Code is |
success |
| RequestId |
string |
The request ID. |
3D99C38F-DE7D-5109-BC06-43EC5D***** |
| Success |
boolean |
Indicates whether the operation was successful. |
True |
Examples
Success response
JSON format
{
"Code": "success",
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "3D99C38F-DE7D-5109-BC06-43EC5D*****",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.