Queries the specifications of an instance type, such as CPU and memory.

Product pricing

The complete mappings between instance types and specifications are subject to the list returned by this operation.

If an error message "instanceType is not found" is returned, the specifications of the instance type are discarded. If you need to use the specifications, contact the ApsaraDB for HBase management team.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeInstanceType

The operation that you want to perform. Set the value to DescribeInstanceType.

InstanceType String No hbase.n2.4xlarge

The name of the instance type. Valid values:

  • hbaseMasterInstanceType
  • hbaseCoreInstanceType
  • sparkInstanceType

    If this parameter is not specified, the specifications of all the instance types are returned.

Response parameters

Parameter Type Example Description
InstanceTypeSpecList Array of InstanceTypeSpec

The list of instance types.

InstanceTypeSpec
CpuSize Long 8

The number of CPU cores.

InstanceType String hbase.n2.4xlarge

The name of the instance type.

MemSize Long 16

The memory size. Unit: GB.

RequestId String DD23BBB4-64C2-42A4-B2E2-7E56C7AA****

The ID of the request.

Examples

Sample requests

http(s)://hbase.aliyuncs.com/?Action=DescribeInstanceType
&InstanceType=hbase.n2.4xlarge
&<Common request parameters>

Sample success responses

XML format

<RequestId>DD23BBB4-64C2-42A4-B2E2-7E56C7AA****</RequestId>
<InstanceTypeSpecList>
    <InstanceTypeSpec>
        <CpuSize>16</CpuSize>
        <MemSize>64</MemSize>
        <InstanceType>hbase.n2.4xlarge</InstanceType>
    </InstanceTypeSpec>
</InstanceTypeSpecList>

JSON format

{
  "RequestId": "DD23BBB4-64C2-42A4-B2E2-7E56C7AA****",
  "InstanceTypeSpecList": {
    "InstanceTypeSpec": [
      {
        "CpuSize": 16,
        "MemSize": 64,
        "InstanceType": "hbase.n2.4xlarge"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the API Error Center.