Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of creating a version according to the specified instance startup template

Shulou Source: shulou.com Published: 2022-06-02 04:27:15 11月08日 Update

Editor to share with you the method of creating a version according to the specified instance startup template, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article. Let's learn about it!

CreateLaunchTemplateVersion

Creates a version based on the specified instance startup template.

Description

A maximum of 30 versions of each instance startup template are created. We do not provide an interface for template modification, but we do provide a version iteration interface (CreateLaunchTemplateVersion). When you want to modify the parameters of a version, you can modify it by creating a new version of the template. See CreateLaunchTemplate for more details.

Request parameter

Return parameters

Example

Request example

Version&RegionId=cn-hangzhou&LaunchTemplateName=lt-name1&InstanceType=ecs.cm4.6xlarge&SecurityGroupId=sg-securitygroupid&

Return the example

XML format

04F0F334-1335-436C-A1D7-6C044FExxxxx 2

JSON format

{"RequestId": "04F0F334-1335-436C-A1D7-6C044FExxxxx", "LaunchTemplateVersionNumber": 2}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

The above is all the contents of the method of creating a version according to the specified instance startup template. Thank you for your reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Version template instance error parameter interface more example method content format article not much most way knowledge industry details information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Information Shulou Technology Xiaomi Docker