getInitScriptDetail
- Print
- PDF
getInitScriptDetail
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Can be used in a VPC environment.
Overview
This searches the initialization script details using the initialization script number.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region in which the initialization script details will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
initScriptNo | Yes | String | The number of the initialization script to be queried initScriptNo can be obtained through the getInitScriptList action. | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/getInitScriptDetail
?regionCode=KR
&initScriptNo=***44
Response Example
<getInitScriptDetailResponse>
<requestId></requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<initScriptList>
<initScript>
<initScriptNo>***44</initScriptNo>
<initScriptName>test-***</initScriptName>
<createDate>2020-08-20T12:24:37+0900</createDate>
<initScriptDescription></initScriptDescription>
<initScriptContent>#!/bin/bash</initScriptContent>
<osType>
<code>LNX</code>
<codeName>LINUX</codeName>
</osType>
</initScript>
</initScriptList>
</getInitScriptDetailResponse>
Was this article helpful?