getLaunchConfigurationList

Prev Next

Can be used in a VPC environment.

Summary

Search list of Launch Configurations.

Request

Request Parameters

Parameter name Requirement status Type Restrictions Description
regionCode No String Region code
You can decide the region where the list of Launch Configurations will be searched.
You can obtain the regionCode through the getRegionList action.
Default: Select the first region of the getRegionList search results
launchConfigurationNoList.N No List<String> List of Launch Configuration numbers
You can search by filtering with an Launch Configuration number.
You can obtain the launchConfigurationNo through the getLaunchConfigurationList action.
ex) launchConfigurationNoList.1=1234&launchConfigurationNoList.2=2345
launchConfigurationNameList.N No List<String> Min : 1, Max : 255 List of Launch Configuration names
You can search by filtering with an Launch Configuration name.
You can obtain the launchConfigurationName through the getLaunchConfigurationList action.
ex) launchConfigurationNameList.1=test1&launchConfigurationNameList.2=test2
pageNo No Integer Page number of the paged results
The results can be paged using pageNo and pageSize.
pageSize Conditional Integer Each page size to be displayed when paging
The results can be paged using pageNo and pageSize.
You must enter it when entering pageNo.
sortList.N.sortedBy No String Sorted by
You can sort the results by the Launch Configuration name.
Options : launchConfigurationName
ex) sortList.1.sortedBy=launchConfigurationName
sortList.N.sortingOrder No String Sorting order
When using sortedBy, sort in ascending/descending order.
Options: ASC (ascending order) | DESC (descending order)
Default : ASC
ex) sortList.1.sortingOrder=DESC
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Response

Response data type

  • LaunchConfigurationList type
LaunchConfigurationList extends CommonResponse
private Integer totalRows;
private List launchConfigurationList = new ArrayList<>();
LaunchConfiguration
private String regionCode;
private String launchConfigurationNo;
private String launchConfigurationName;
private String serverImageProductCode;
private String memberServerImageInstanceNo;
private String serverProductCode;
private String loginKeyName;
private Date createDate;
private CommonCode launchConfigurationStatus;
private String initScriptNo;
private Boolean isEncryptedVolume;

Example

Request example

ncloud vautoscaling getLaunchConfigurationList --regionCode KR --launchConfigurationNoList ***163 --launchConfigurationNameList test-***

Response example

<getLaunchConfigurationListResponse>
  <requestId>9b701ab3-e8e7-4924-9dc9-2fe4c1a305e3</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <launchConfigurationList>
    <launchConfiguration>
      <regionCode>KR</regionCode>
      <launchConfigurationNo>***163</launchConfigurationNo>
      <launchConfigurationName>test-***</launchConfigurationName>
      <serverImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</serverImageProductCode>
      <memberServerImageInstanceNo></memberServerImageInstanceNo>
      <serverProductCode>SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002</serverProductCode>
      <loginKeyName>test-***</loginKeyName>
      <createDate>2020-12-07T13:08:50+0900</createDate>
      <launchConfigurationStatus>
        <code>CREAT</code>
        <codeName>Created</codeName>
      </launchConfigurationStatus>
      <initScriptNo></initScriptNo>
      <isEncryptedVolume>false</isEncryptedVolume>
    </launchConfiguration>
  </launchConfigurationList>
</getLaunchConfigurationListResponse>