You can call this operation to query the instance specifications such as CPU and memory.
The complete mappings between instance types and specifications are subject to the list returned by this operation.
If the error “instanceType is not found” is returned, the instance type is phased out. If you have strong demand for this instance type, contact Alibaba Cloud HBase management team.
Debugging
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 | Yes | hbase.n2.4xlarge |
The name of the instance type. Valid values: hbaseMasterInstanceType, hbaseCoreInstanceType, and sparkInstanceType. If this parameter is not specified, the list of all instance types is returned. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
InstanceTypeSpecList | Array |
The list of instance types. |
|
InstanceTypeSpec |
The list of instance types. |
||
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-7E56C7AA815A |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeInstanceType
&InstanceType=hbase.n2.4xlarge
&<Common request parameters>
Sample success responses
XML
format
<RequestId>DD23BBB4-64C2-42A4-B2E2-7E56C7AA815A</RequestId>
<InstanceTypeSpecList>
<InstanceTypeSpec>
<CpuSize>16</CpuSize>
<MemSize>64</MemSize>
<InstanceType>hbase.n2.4xlarge</InstanceType>
</InstanceTypeSpec>
</InstanceTypeSpecList>
JSON
format
{
"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 API Error Center.