Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bprocek opened this issue Feb 19, 2024 · 0 comments

Comments

@bprocek
Copy link

bprocek commented Feb 19, 2024

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

@bprocek bprocek changed the title DescribeScalingGroups API will not return more than 20 items even if more than 20 ASGs are defined in account DescribeScalingGroups API will not return more than 20 ASGs even if more than 20 valid and distinct IDs are supplied in request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant