getInitScriptDetail
- Print
- PDF
getInitScriptDetail
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Use the initialization script number to get the initialization script details.
Request
Request parameter
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Determine the Region in which the initialization script details will be queried You can obtain regionCode through the getRegionList action Default: Select the first Region of the getRegionList search results | |
initScriptNo | Yes | String | - Number of initialization script to be queried initScriptNo can be obtained through the getInitScriptList action | |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Response
Response body
Examples
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?