Documentation Index

Fetch the complete documentation index at: https://cli-gov.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>