deleteAutoScalingGroup
    • PDF

    deleteAutoScalingGroup

    • PDF

    기사 요약

    개요

    Auto Scaling Group을 삭제합니다. Auto Scaling Group에 서버가 남아 있거나 Scaling Action이 진행중이면 삭제할 수 없습니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    삭제할 Auto Scaling Group의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    autoScalingGroupNoYesString- 삭제할 Auto Scaling Group 번호
    autoScalingGroupNo는 getAutoScalingGroupList 액션을 통해 획득 가능
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • AutoScalingGroupList 타입
    AutoScalingGroupList extends CommonResponse
    private Integer totalRows;
    private List autoScalingGroup = new ArrayList<>();
    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 inAutoScalingGroupServerInstanceList;
    private AccessControlGroupNoList accessControlGroupNoList;
    private List suspendedProcessList;
    TargetGroupNoList
    private List targetGroupNoList = new ArrayList<>();
    InAutoScalingGroupServerInstance
    private String serverInstanceNo;
    private CommonCode healthStatus;
    private CommonCode lifecycleState;
    AccessControlGroupNoList
    private List accessControlGroupNoList = new ArrayList<>();
    SuspendedProcess
    private CommonCode process;
    private String suspensionReason;

    예시

    요청 예시

    ncloud vautoscaling deleteAutoScalingGroup --regionCode FKR --autoScalingGroupNo ***700
    

    응답 예시

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

    이 문서가 도움이 되었습니까?

    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.