DescribeInstanceTypes

Last Updated: Mar 28, 2018

Description

Describes the resources list of instance types provided by Alibaba Cloud ECS. For more information, see Instance type families.

  • The DescribeInstanceTypes returns the list of instance types that are the same as the list of the Pay-As-You-Go instances on the instance creation webpage. For more information, see Pay-As-You-Go and Limits.

  • If you want to create instances that are not available to you, open a ticket to make them available.

Request parameters

Name Type Required Description
Action String Yes The name of this interface. Value: DescribeInstanceTypes.
InstanceTypeFamily String No The family of the instance type. For more information, see Instance type families.

Response parameters

Name Type Description
InstanceTypes InstanceTypeItemType A collection composed of InstanceTypeItemType.

Examples

Request example

  1. https://ecs.aliyuncs.com/?Action=DescribeInstanceTypes
  2. &<Common Request Parameters>

Response example

XML format

  1. <DescribeInstanceTypesResponse>
  2. <RequestId>1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6</RequestId>
  3. <InstanceTypes>
  4. <InstanceType>
  5. <InstanceTypeId>ecs.t1.xsmall</InstanceTypeId>
  6. <CpuCoreCount>1</CpuCoreCount>
  7. <MemorySize>0.5</MemorySize>
  8. </InstanceType>
  9. <InstanceType>
  10. <InstanceTypeId>ecs.t1.small</InstanceTypeId>
  11. <CpuCoreCount>1</CpuCoreCount>
  12. <MemorySize>1</MemorySize>
  13. </InstanceType>
  14. </InstanceTypes>
  15. </DescribeInstanceTypesResponse>

JSON format

  1. {
  2. "RequestId": "1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6",
  3. "InstanceTypes": {
  4. "InstanceType": [{
  5. "InstanceTypeId": "ecs.t1.xsmall",
  6. "CpuCoreCount": 1,
  7. "MemorySize": 0.5
  8. },
  9. {
  10. "InstanceTypeId": "ecs.t1.small",
  11. "CpuCoreCount": 1,
  12. "MemorySize": 1
  13. }]
  14. }
  15. }

Error codes

All are common error codes. For more information, see Common error codes.

Thank you! We've received your feedback.