Can be used in a VPC environment.
Summary
Delete Auto Scaling Groups. You can't delete a Auto Scaling Group that contains any servers or is running scaling actions.
Request
Request Parameters
| Parameter name | Requirement status | Type | Restrictions | Description | 
|---|---|---|---|---|
| regionCode | No | String | Region code You can decide the region of Auto Scaling Group to delete. You can obtain the regionCode through the getRegionList action. Default: Select the first region of the getRegionList search results  | 
|
| autoScalingGroupNo | Yes | String | The Auto Scaling Group number to delete You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action.  | 
|
| responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml  | 
Response
Response data type
- AutoScalingGroupList type
 
| AutoScalingGroupList extends CommonResponse | 
|---|
| private Integer totalRows; | 
| private List | 
| AutoScalingGroup | 
|---|
| private String vpcNo; | 
| private String subnetNo; | 
| private String serverNamePrefix; | 
| private String autoScalingGroupNo; | 
| private String autoScalingGroupName; | 
| private String launchConfigurationNo; | 
| private Integer minSize; | 
| private Integer maxSize; | 
| private Integer desiredCapacity; | 
| private Integer defaultCoolDown; | 
| private Integer healthCheckGracePeriod; | 
| private CommonCode healthCheckType; | 
| private Date createDate; | 
| private CommonCode autoScalingGroupStatus; | 
| private TargetGroupNoList targetGroupNoList; | 
| private List | 
| private AccessControlGroupNoList accessControlGroupNoList; | 
| private List | 
| TargetGroupNoList | 
|---|
| private List | 
| InAutoScalingGroupServerInstance | 
|---|
| private String serverInstanceNo; | 
| private CommonCode healthStatus; | 
| private CommonCode lifecycleState; | 
| AccessControlGroupNoList | 
|---|
| private List | 
| SuspendedProcess | 
|---|
| private CommonCode process; | 
| private String suspensionReason; | 
Example
Request example
ncloud vautoscaling deleteAutoScalingGroup --regionCode KR --autoScalingGroupNo ***700
Response example
<deleteAutoScalingGroupResponse>
  <requestId></requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <autoScalingGroupList>
    <autoScalingGroup>
      <vpcNo>***04</vpcNo>
      <subnetNo>***43</subnetNo>
      <serverNamePrefix></serverNamePrefix>
      <autoScalingGroupNo>***700</autoScalingGroupNo>
      <autoScalingGroupName>test-***</autoScalingGroupName>
      <launchConfigurationNo>***163</launchConfigurationNo>
      <minSize>0</minSize>
      <maxSize>0</maxSize>
      <desiredCapacity>0</desiredCapacity>
      <defaultCoolDown>300</defaultCoolDown>
      <healthCheckGracePeriod>300</healthCheckGracePeriod>
      <healthCheckType>
        <code>SVR</code>
        <codeName>Server</codeName>
      </healthCheckType>
      <createDate>2020-12-07T13:10:30+0900</createDate>
      <autoScalingGroupStatus>
        <code>DELTD</code>
        <codeName>Deleted</codeName>
      </autoScalingGroupStatus>
      <targetGroupNoList/>
      <inAutoScalingGroupServerInstanceList/>
      <accessControlGroupNoList>
        <accessControlGroupNo>***63</accessControlGroupNo>
      </accessControlGroupNoList>
      <suspendedProcessList/>
    </autoScalingGroup>
  </autoScalingGroupList>
</deleteAutoScalingGroupResponse>