deleteLaunchConfiguration
    • PDF

    deleteLaunchConfiguration

    • PDF

    Article summary

    Can be used in a VPC environment.

    Summary

    Delete Launch Configurations by using the Launch Configuration number.

    You can't delete the Launch Configuration in use set in the Auto Scaling Group.

    Request

    Request Parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region of Launch Configuration to delete.
    You can obtain the regionCode through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    launchConfigurationNoYesStringThe Launch Configuration number to delete
    You can obtain the launchConfigurationNo through the getLaunchConfigurationList action.
    responseFormatTypeNoStringFormat 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 deleteLaunchConfiguration --regionCode KR --launchConfigurationNo ***163
    

    Response example

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

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.