Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getLaunchConfigurationList

Prev Next

VPC環境で利用できます。

概要

Launch Configurationリストを照会します。

リクエスト

リクエストパラメータ

パラメータ名 必須有無 タイプ 制約事項 説明
regionCode No String リージョンコード
Launch Configurationリストが照会されるリージョン(Region)を決定できます。
regionCodeはgetRegionListアクションを通じて取得できます。
Default:getRegionList照会結果の最初のリージョンを選択
launchConfigurationNoList.N No List<String> Launch Configuration番号リスト
Launch Configuration番号でフィルタリングして検索できます。
launchConfigurationNoはgetLaunchConfigurationListアクションを通じて取得できます。
ex) launchConfigurationNoList.1=1234&launchConfigurationNoList.2=2345
launchConfigurationNameList.N No List<String> Min : 1, Max : 255 Launch Configuration名リスト
Launch Configuration名でフィルタリングして検索できます。
launchConfigurationNameはgetLaunchConfigurationListアクションを通じて取得できます。
ex) launchConfigurationNameList.1=test1&launchConfigurationNameList.2=test2
pageNo No Integer ページングされた結果のページ番号
結果値をpageNo、pageSizeを用いてページング処理することができます。
pageSize Conditional Integer ページングする時に表示する各ページサイズ
結果値をpageNo、pageSizeを用いてページング処理することができます。
pageNoを入力する時、必ず入力します。
sortList.N.sortedBy No String ソート対象
結果値をLaunch Configuration名でソートできます。
Options : launchConfigurationName
ex) sortList.1.sortedBy=launchConfigurationName
sortList.N.sortingOrder No String ソート順序
sortedByを利用する時、昇順/降順ソートを設定します。
Options:ASC (昇順) | DESC (降順)
Default : ASC
ex) sortList.1.sortingOrder=DESC
responseFormatType No String レスポンス結果のフォーマットタイプ
Options : xml | json
Default : xml

レスポンス

レスポンスデータのタイプ

  • LaunchConfigurationListタイプ
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;

リクエスト例

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

レスポンス例

<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>