MENU
      getAutoScalingGroupList

        getAutoScalingGroupList


        Article summary

        Overview

        Gets a list of Auto Scaling groups.
        If Auto Scaling group names are not specified, this action returns all Auto Scaling groups you own, and if Auto Scaling group names are specified, it returns only the specified Auto Scaling groups.

        Request

        Request parameters

        ParameterRequiredTypeLimitationsDescription
        autoScalingGroupNameListNListMin: 1
        Max: 255
        Names of Auto Scaling groups to get
        If not specified, all Auto Scaling groups in the account are displayed.
        If specified, only the requested Auto Scaling groups are displayed.
        pageNoNIntegerMin: 0, Max: 2147483647Page number for pagination
        If it is set to 0 by default, all items are displayed.
        pageSizeNIntegerMin: 0, Max: 2147483647Number of items to be shown per page.
        If it is set to 0 by default, all items are displayed.
        sortedByNString-autoScalingGroupName (Auto Scaling group name)
        createDate (Creation date)
        Default: autoScalingGroupName (Auto Scaling group name)
        sortingOrderNString-ascending, descending
        Default: ascending
        regionNoNStringGet available values by using the getRegionList action.

        Response

        Response body

        Examples

        Request example

        {AUTOSCALILNG_API_URL}/getAutoScalingGroupList
        ?autoScalingGroupNameList.1=asg-1
        HTTP

        Response example

        <getAutoScalingGroupListResponse>
           <requestId>be42c6e2-9c59-4bbc-b9d4-42194a68077d</requestId>
           <returnCode>0</returnCode>
           <returnMessage>success</returnMessage>
           <totalRows>1</totalRows>
           <autoScalingGroupList>
              <autoScalingGroup>
                 <autoScalingGroupName>asg-1</autoScalingGroupName>
                 <autoScalingGroupNo>***517</autoScalingGroupNo>
                 <launchConfigurationName>lc-1</launchConfigurationName>
                 <launchConfigurationNo>***013</launchConfigurationNo>
                 <desiredCapacity>0</desiredCapacity>
                 <minSize>0</minSize>
                 <maxSize>0</maxSize>
                 <loadBalancerInstanceSummeryList>
                    <loadBalancerInstanceSummery>
                       <loadBalancerName>slb-1</loadBalancerName>
                    </loadBalancerInstanceSummery>
                    <loadBalancerInstanceSummery>
                       <loadBalancerName>slb-2</loadBalancerName>
                    </loadBalancerInstanceSummery>
                 </loadBalancerInstanceSummeryList>
                 <healthCheckGracePeriod>600</healthCheckGracePeriod>
                 <healthCheckType>
                    <code>SVR</code>
                    <codeName>Server</codeName>
                 </healthCheckType>
                 <createDate>2014-02-13T17:24:19+0900</createDate>
                 <inAutoScalingGroupServerInstanceList />
                 <suspendedProcessList />
                 <zoneList>
                    <zone>
                       <zoneNo>2</zoneNo>
                       <zoneName>zone2</zoneName>
                       <zoneDescription>nang zone</zoneDescription>
                    </zone>
                    <zone>
                       <zoneNo>3</zoneNo>
                       <zoneName>zone3</zoneName>
                       <zoneDescription>nang zone2</zoneDescription>
                    </zone>
                 </zoneList>
              </autoScalingGroup>
           </autoScalingGroupList>
        </getAutoScalingGroupListResponse>
        XML

        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.