Queries ApsaraDB for HBase instances that are deployed in a virtual private cloud (VPC).

Request parameters

Parameter Type Required Example Description
Action String Yes ListHBaseInstances

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

VpcId String Yes vpc-t4nx81tmlixcq5i****

The ID of the VPC.

Response parameters

Parameter Type Example Description
RequestId String 89F81C30-320B-4550-91DB-C37C81D2358F

The ID of the request.

Instances Array of Instance

The information about instances.

Instance
IsDefault Boolean false

The value is fixed to false.

InstanceId String hb-t4naqsay5gn****

The ID of the ApsaraDB for HBase instance in the VPC.

InstanceName String name_test

The name of the ApsaraDB for HBase instance.

Examples

Sample requests

http(s)://hbase.aliyuncs.com/?Action=ListHBaseInstances
&VpcId=vpc-t4nx81tmlixcq5i****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ListHBaseInstancesResponse>
    <RequestId>89F81C30-320B-4550-91DB-C37C81D2358F</RequestId>
    <Instances>
        <IsDefault>false</IsDefault>
        <InstanceId>hb-t4naqsay5gn****</InstanceId>
        <InstanceName>name_test</InstanceName>
    </Instances>
</ListHBaseInstancesResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "89F81C30-320B-4550-91DB-C37C81D2358F",
  "Instances" : [ {
    "IsDefault" : false,
    "InstanceId" : "hb-t4naqsay5gn****",
    "InstanceName" : "name_test"
  } ]
}

Error codes

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