You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: