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.

deleteLaunchConfiguration

Prev Next

VPC環境で利用できます。

概要

Launch Configuration番号を用いてLaunch Configurationを削除します。
Auto Scaling Groupに設定されるので、使用中のLaunch Configurationは削除できません。

リクエスト

リクエストパラメータ

パラメータ名 必須有無 タイプ 制約事項 説明
regionCode No String リージョンコード
削除するLaunch Configurationのリージョン(Region)を決定できます。
regionCodeはgetRegionListアクションを通じて取得できます。
Default:getRegionList照会結果の最初のリージョンを選択
launchConfigurationNo Yes String 削除するLaunch Configuration番号
launchConfigurationNoはgetLaunchConfigurationListアクションを通じて取得できます。
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 deleteLaunchConfiguration --regionCode KR --launchConfigurationNo ***163

レスポンス例

<deleteLaunchConfigurationResponse>
  <requestId></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>DELTD</code>
        <codeName>Deleted</codeName>
      </launchConfigurationStatus>
      <initScriptNo></initScriptNo>
      <isEncryptedVolume>false</isEncryptedVolume>
    </launchConfiguration>
  </launchConfigurationList>
</deleteLaunchConfigurationResponse>