Home  >  Article  >  Operation and Maintenance  >  How to create a version based on a specified instance launch template

How to create a version based on a specified instance launch template

坏嘻嘻
坏嘻嘻Original
2018-09-20 15:01:082629browse

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

How to create a version based on a specified instance launch template

How to create a version based on a specified instance launch template

## Return parameters

How to create a version based on a specified instance launch template

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.

How to create a version based on a specified instance launch template

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn