Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

DescribeScalingGroups API will not return more than 20 ASGs even if more than 20 valid and distinct IDs are supplied in request #616

@bprocek

Description

@bprocek
  • Product and API: github.com/aliyun/alibaba-cloud-sdk-go v1.61.1526
  • Platform: centos7
  • How to Reproduce
    Instantiate DescribeScalingGroupsRequest and supply more than 20 valid ID values in ScalingGroupId parameter. The response TotalCount will be fixed at 20, and any ASGs more than 20 will not be accessible, regardless of the pageSize .

One workaround is to add user code to chunk the ASGs into 20-item slices and invoke the Cloud SDK/API multiple times, then aggregate the responses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions