Uses the TotalCount of a 'aliyun ecs DescribeInstances' response.
Includes a 'get_instance_count_via_pagination()' alternative that uses NextToken.
Description
Add Alibaba Cloud sizing script.
Motivation and Context
Cover all the clouds.
How Has This Been Tested?
ShellCheck and ShellSpec, and manual testing in Alibaba Cloud Shell.
I only have one instance in my personal account, so would benefit from more testing.
Types of changes
New feature (non-breaking change which adds functionality)
Checklist
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
Uses the TotalCount of a 'aliyun ecs DescribeInstances' response. Includes a 'get_instance_count_via_pagination()' alternative that uses NextToken.
Description
Add Alibaba Cloud sizing script.
Motivation and Context
Cover all the clouds.
How Has This Been Tested?
ShellCheck and ShellSpec, and manual testing in Alibaba Cloud Shell. I only have one instance in my personal account, so would benefit from more testing.
Types of changes
Checklist