deleteLaunchConfiguration

Prev Next

VPC 환경에서 이용 가능합니다.

Launch Configuration을 삭제합니다. Auto Scaling Group에 설정되어 사용 중인 Launch Configuration은 삭제할 수 없습니다.

구문

deleteLaunchConfiguration 구문은 다음과 같습니다.

./ncloud vautoscaling deleteLaunchConfiguration \
    --launchConfigurationNo <launch-configuration-no> \
    [--regionCode <KR|KRS>] \
    [--output <json|xml>]

옵션

deleteLaunchConfiguration 실행 시 지정할 수 있는 옵션을 설명합니다.

필수 옵션

deleteLaunchConfiguration의 필수 옵션입니다.

옵션 타입 필수 여부 설명
--launchConfigurationNo String Required Launch Configuration 번호

공통 옵션

vautoscaling 명령에서 공통으로 사용하는 옵션에 대한 정보는 Auto Scaling (VPC) 옵션을 참조해 주십시오.

예시

Launch Configuration 삭제 요청이 성공하면 Launch Configuration의 구성 정보와 삭제 상태가 반환됩니다.

명령

명령 예시는 다음과 같습니다.

./ncloud vautoscaling deleteLaunchConfiguration \
    --launchConfigurationNo 345678902 \
    --regionCode KR \
    --output json

출력

출력 예시는 다음과 같습니다.

{
  "deleteLaunchConfigurationResponse": {
    "totalRows": 1,
    "launchConfigurationList": [
      {
        "regionCode": "KR",
        "launchConfigurationNo": "345678902",
        "launchConfigurationName": "test-launch-config-02",
        "serverImageProductCode": "SW.VSVR.OS.LNX64.ROCKY.0810.B050",
        "serverProductCode": "SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002",
        "loginKeyName": "test-login-key-01",
        "createDate": "2026-07-24T13:28:11+0900",
        "launchConfigurationStatus": {
          "code": "DELTD",
          "codeName": "Deleted"
        },
        "initScriptNo": "",
        "isEncryptedVolume": false,
        "serverImageNo": "100000098",
        "osInformation": "Rocky Linux 8.10",
        "serverSpecNo": "5",
        "serverSpecCode": "s2-g2-s50",
        "serverSpecDescription": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB"
      }
    ],
    "requestId": "32fabcc2-e5cd-4250-8d4f-f9c6696afaf8",
    "returnCode": "0",
    "returnMessage": "success"
  }
}