How to query available instance startup templates after creating a template

坏嘻嘻
Release: 2018-09-20 15:17:06
Original
2593 people have browsed it

This article introduces how to query the available instance startup templates after creating the template, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something.

DescribeLaunchTemplates

Request Parameters

How to query available instance startup templates after creating a template

Return parametersHow to query available instance startup templates after creating a template

Data typeLaunchTemplateSetHow to query available instance startup templates after creating a template

Example

Request example

https://ecs.aliyuncs.com/?Action=DescribeLaunchTemplates
&RegionId=cn-hangzhou
&<公共请求参数>
Copy after login

Return example

XML format

<DescribeLaunchTemplatesResponse>
   <RequestId>04F0F334-1335-436C-A1D7-6C044FExxxxx</RequestId>
   <TotalCount>1</TotalCount>
   <PageNumber>1</PageNumber>
   <PageSize>10</PageSize>
   <LaunchTemplateSets>
   <LaunchTemplateSet>
   <CreateTime>2018-05-14T14:18:00Z</CreateTime>
   <ModifiedTime>2018-05-14T14:18:00Z</ModifiedTime>
   <LaunchTemplateid>lt-m5e3ofjr1zn1aw7xxxx</LaunchTemplateid>
   <LaunchTemplateName>wd-1526307480xxx</LaunchTemplateName>
   <DefaultVersionNumber>1</DefaultVersionNumber>
   <LatestVersionNumber>1</LatestVersionNumber>
   <CreatedBy>1942111349714xxx</CreatedBy>
   </LaunchTemplateSet>
   </LaunchTemplateSets>
</DescribeLaunchTemplatesResponse>
Copy after login

JSON format

{
   "RequestId": "04F0F334-1335-436C-A1D7-6C044FExxxxx",
   "TotalCount":1,
   "PageNumber":1,
   "PageSize":10,
   "LaunchTemplateSets":{
   "LaunchTemplateSet":[{
   "LaunchTemplateName":"wd-1526307480xxx",
   "CreatedBy":"1942111349714xxx",
   "ModifiedTime":"2018-05-14T14:18:00Z",
   "LatestVersionNumber":1,
   "CreateTime":"2018-05-14T14:18:00Z",
   "LaunchTemplateId":"lt-m5e3ofjr1zn1aw7qdxxx",
   "DefaultVersionNumber":1
   }]
   }
}
Copy after login

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center. How to query available instance startup templates after creating a template

The above is the detailed content of How to query available instance startup templates after creating a template. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template