Queries the specifications of an ApsaraDB for HBase instance type.
The complete mappings between instance types and specifications are subject to the list returned by this operation.
If the 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.
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. For more information, see Node specifications. Note If this parameter is not specified, the specifications of all the instance types are
returned.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | DD23BBB4-64C2-42A4-B2E2-7E56C7AA815A |
The ID of the request. |
InstanceTypeSpecList | Array of InstanceTypeSpec |
The specifications of the instance type. |
|
InstanceTypeSpec | |||
InstanceType | String | hbase.n2.4xlarge |
The name of the instance type. |
CpuSize | Long | 8 |
The number of CPU cores. |
MemSize | Long | 16 |
The memory size. Unit: GB. |
Examples
Sample requests
http(s)://hbase.aliyuncs.com/?Action=DescribeInstanceType
&InstanceType=hbase.n2.4xlarge
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RequestId>DD23BBB4-64C2-42A4-B2E2-7E56C7AA815A</RequestId>
<InstanceTypeSpecList>
<InstanceTypeSpec>
<CpuSize>16</CpuSize>
<MemSize>64</MemSize>
<InstanceType>hbase.n2.4xlarge</InstanceType>
</InstanceTypeSpec>
</InstanceTypeSpecList>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "DD23BBB4-64C2-42A4-B2E2-7E56C7AA815A",
"InstanceTypeSpecList" : {
"InstanceTypeSpec" : [ {
"CpuSize" : 16,
"MemSize" : 64,
"InstanceType" : "hbase.n2.4xlarge"
} ]
}
}
Error codes
For a list of error codes, visit the Error Center.