Home > Article > Operation and Maintenance > How to create a version based on a specified instance launch template
This article introduces how to create a version based on the specified instance startup template, and focuses on the specific steps. The content of this article is compact, and I hope everyone can gain something.
CreateLaunchTemplateVersion
Create a version based on the specified instance launch template.
Description
Each instance startup template can create up to 30 versions. We do not provide a template modification interface, but we provide a version iteration interface (CreateLaunchTemplateVersion). When you want to modify the parameters of a certain version, you can do so by creating a new template version. See CreateLaunchTemplate for more details.
Request parameters
## Return parameters
Example
Request example
Version&RegionId=cn-hangzhou&LaunchTemplateName=lt-name1&InstanceType=ecs. cm4.6xlarge&SecurityGroupId=sg-securitygroupid&<公共请求参数>
Return example
XML format
<CreateLaunchTemplateVersionResponse> <RequestId>04F0F334-1335-436C-A1D7-6C044FExxxxx</RequestId> <LaunchTemplateVersionNumber>2</LaunchTemplateVersionNumber></CreateLaunchTemplateVersionResponse>
JSON format
{ "RequestId": "04F0F334-1335-436C-A1D7-6C044FExxxxx", "LaunchTemplateVersionNumber": 2}
Error codes
The following are the error codes unique to this interface. For more error codes, please visit the API Error Center.The above is the detailed content of How to create a version based on a specified instance launch template. For more information, please follow other related articles on the PHP Chinese website!